Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.614/1.614, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3841, allocations: 53.37 MB / 432.3 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.007039/0.3911, allocations: 4.065 MB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003604/0.3947, allocations: 1.52 MB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.3952, allocations: 15.88 kB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.3956, allocations: 134.7 kB / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007447/0.3964, allocations: 285.7 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3975, allocations: 431.2 kB / 438.8 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.3989, allocations: 1.166 MB / 439.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003757/0.3992, allocations: 193.9 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007717/0.4, allocations: 0.5102 MB / 440.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.4007, allocations: 0.5371 MB / 441.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.4009, allocations: 96 kB / 441.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.4013, allocations: 164 kB / 441.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.4016, allocations: 251.2 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.402, allocations: 398.3 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.4034, allocations: 1.135 MB / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4034, allocations: 0 / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4034, allocations: 0 / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4034, allocations: 0 / 443.2 MB, free: 11.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00365/0.4071, allocations: 1.403 MB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4071, allocations: 11.97 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.4077, allocations: 120.3 kB / 444.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008895/0.4086, allocations: 404 kB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/0.4086, allocations: 58.38 kB / 445.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.4088, allocations: 80.08 kB / 445.2 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.4106, allocations: 0.7997 MB / 446 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.4107, allocations: 4 kB / 446.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.4108, allocations: 31.94 kB / 446.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.4108, allocations: 16 kB / 446.1 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.4129, allocations: 0.8354 MB / 446.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/0.4175, allocations: 1.873 MB / 448.8 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.4191, allocations: 0.6859 MB / 449.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009884/0.4201, allocations: 420.2 kB / 449.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.887e-05/0.4202, allocations: 13 kB / 449.9 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.4214, allocations: 0.5361 MB / 450.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 3.336e-06/0.4214, allocations: 0 / 450.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01195/0.4334, allocations: 3.801 MB / 454.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.4334, allocations: 64.41 kB / 454.3 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005913/0.434, allocations: 405.8 kB / 454.7 MB, free: 56 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.4342, allocations: 57.77 kB / 454.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.4345, allocations: 281.6 kB / 455 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.4349, allocations: 400.6 kB / 455.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003728/0.4353, allocations: 186.9 kB / 455.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002917/0.4355, allocations: 370.8 kB / 456 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4366, allocations: 414.4 kB / 456.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.4377, allocations: 0.5072 MB / 456.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.4395, allocations: 0.7479 MB / 457.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4395, allocations: 0 / 457.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003292/0.4428, allocations: 1.292 MB / 458.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.4428, allocations: 4 kB / 458.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4428, allocations: 0 / 458.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.4441, allocations: 0.5372 MB / 459.5 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.445, allocations: 199.7 kB / 459.7 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/0.4497, allocations: 3.261 MB / 462.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.451, allocations: 175.9 kB / 463.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/0.4511, allocations: 35.98 kB / 463.1 MB, free: 7.379 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 (supportFriction.free,massWithStopAndFriction.stopped,massWithStopAndFriction.mode,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.locked,massWithStopAndFriction.startBackward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,supportFriction.mode,$PRE.supportFriction.mode,supportFriction.locked,supportFriction.startBackward,$PRE.supportFriction.startBackward,supportFriction.startForward,$PRE.supportFriction.startForward,elastoGap.contact,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004978/0.4516, allocations: 236.1 kB / 463.4 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.4518, allocations: 75.53 kB / 463.4 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.452, allocations: 103.1 kB / 463.5 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4521, allocations: 15.94 kB / 463.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4521, allocations: 0 / 463.6 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4521, allocations: 7.969 kB / 463.6 MB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.4568, allocations: 2.13 MB / 465.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4569, allocations: 0 / 465.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008659/0.4577, allocations: 175.7 kB / 465.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.4589, allocations: 0.4985 MB / 466.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.459, allocations: 31.97 kB / 466.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004055/0.463, allocations: 3.057 MB / 469.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.463, allocations: 4.031 kB / 469.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.4676, allocations: 1.768 MB / 471.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.4682, allocations: 167.3 kB / 471.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/0.4685, allocations: 32 kB / 471.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.4699, allocations: 199.7 kB / 471.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009211/0.4708, allocations: 396.3 kB / 472 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.561e-05/0.4709, allocations: 35.97 kB / 472 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.4713, allocations: 283.1 kB / 472.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4713, allocations: 0 / 472.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4724, allocations: 243.9 kB / 472.6 MB, free: 13.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,massWithStopAndFriction.s,massWithStopAndFriction.v,springDamper1.s_rel,springDamper1.v_rel) * Number of discrete variables: 17 ($whenCondition1,elastoGap.contact,supportFriction.startForward,supportFriction.startBackward,supportFriction.locked,supportFriction.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,massWithStopAndFriction.free,massWithStopAndFriction.startForward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 9 (massWithStopAndFriction.mode,massWithStopAndFriction.startBackward,massWithStopAndFriction.startForward,brake.mode,brake.startForward,brake.startBackward,supportFriction.mode,supportFriction.startForward,supportFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,7), (1,8), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001772/0.4742, allocations: 441.6 kB / 473 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002761/0.477, allocations: 1.075 MB / 474.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.477, allocations: 4.312 kB / 474.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001705/0.4787, allocations: 0.7231 MB / 474.8 MB, free: 11.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000956/0.4796, allocations: 159.1 kB / 474.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.484, allocations: 2.019 MB / 477 MB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.4845, allocations: 357.5 kB / 477.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.4848, allocations: 81.66 kB / 477.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.4851, allocations: 67.41 kB / 477.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4851, allocations: 0 / 477.5 MB, free: 8.812 MB / 382.1 MB Notification: Performance of Templates: time 0.02982/0.5149, allocations: 16.96 MB / 494.4 MB, free: 7.977 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.809308447991498]