Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001904/0.001904, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.002497/0.002497, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 59.92 kB / 348.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4512, allocations: 49.15 MB / 397.6 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006234/0.4574, allocations: 4.342 MB / 401.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.4614, allocations: 1.362 MB / 403.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.4622, allocations: 16.72 kB / 403.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.4627, allocations: 116.9 kB / 403.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006268/0.4633, allocations: 229 kB / 403.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.465, allocations: 426.4 kB / 404.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.4667, allocations: 1.148 MB / 405.2 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.4671, allocations: 188.9 kB / 405.4 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008194/0.4679, allocations: 493.4 kB / 405.9 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007842/0.4687, allocations: 0.5236 MB / 406.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.4688, allocations: 92.19 kB / 406.5 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003809/0.4692, allocations: 151.4 kB / 406.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.4695, allocations: 229 kB / 406.9 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000485/0.47, allocations: 446.1 kB / 407.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.4718, allocations: 1.068 MB / 408.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.4718, allocations: 2.422 kB / 408.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.4718, allocations: 4 kB / 408.4 MB, free: 3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.4718, allocations: 0 / 408.4 MB, free: 3 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003843/0.4757, allocations: 1.352 MB / 409.7 MB, free: 2.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.889e-05/0.4757, allocations: 17.56 kB / 409.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.4761, allocations: 96.38 kB / 409.8 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009263/0.477, allocations: 379.5 kB / 410.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/0.4771, allocations: 54.69 kB / 410.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.4773, allocations: 73.06 kB / 410.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.479, allocations: 0.8087 MB / 411.2 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.4791, allocations: 9.922 kB / 411.2 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.4792, allocations: 26.69 kB / 411.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.4792, allocations: 15.56 kB / 411.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.4814, allocations: 0.8734 MB / 412.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00491/0.4863, allocations: 2.325 MB / 414.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.488, allocations: 0.6684 MB / 415.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.4891, allocations: 437.3 kB / 415.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.078e-05/0.4892, allocations: 12.08 kB / 415.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00142/0.4906, allocations: 0.5532 MB / 416.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=86): time 6.342e-06/0.4906, allocations: 0 / 416.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.01299/0.5036, allocations: 3.861 MB / 419.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.5037, allocations: 63 kB / 420 MB, free: 12.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.5045, allocations: 392.4 kB / 420.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.5046, allocations: 50.77 kB / 420.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.5049, allocations: 277.7 kB / 420.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/0.5054, allocations: 384.1 kB / 421.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004886/0.5059, allocations: 181.8 kB / 421.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003254/0.5062, allocations: 373.3 kB / 421.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.5075, allocations: 441 kB / 422 MB, free: 10.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.5087, allocations: 0.5321 MB / 422.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/0.5106, allocations: 0.783 MB / 423.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5106, allocations: 0 / 423.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003546/0.5142, allocations: 1.346 MB / 424.7 MB, free: 7.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.5142, allocations: 8 kB / 424.7 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5142, allocations: 3.984 kB / 424.7 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.5155, allocations: 0.6426 MB / 425.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.5164, allocations: 203.7 kB / 425.5 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.5215, allocations: 3.335 MB / 428.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.5229, allocations: 175.9 kB / 429.1 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.894e-05/0.523, allocations: 35.98 kB / 429.1 MB, free: 3.344 MB / 334.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,7), (1,5), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006487/0.5237, allocations: 225.6 kB / 429.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.5238, allocations: 75.52 kB / 429.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.5241, allocations: 99.02 kB / 429.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.5241, allocations: 12 kB / 429.5 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/0.5241, allocations: 4 kB / 429.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.5241, allocations: 7.969 kB / 429.5 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/0.5298, allocations: 2.454 MB / 432 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5298, allocations: 4 kB / 432 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/0.5307, allocations: 176 kB / 432.1 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.5319, allocations: 0.6192 MB / 432.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.212e-05/0.532, allocations: 35.95 kB / 432.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004544/0.5365, allocations: 3.123 MB / 435.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5365, allocations: 0 / 435.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/0.5408, allocations: 1.833 MB / 437.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005355/0.5414, allocations: 163.4 kB / 437.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.5415, allocations: 32 kB / 437.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.5428, allocations: 203.7 kB / 438.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009416/0.5437, allocations: 392.2 kB / 438.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/0.5438, allocations: 47.95 kB / 438.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003576/0.5441, allocations: 267.2 kB / 438.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5441, allocations: 0 / 438.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009656/0.5451, allocations: 248 kB / 439.1 MB, free: 9.027 MB / 350.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 (89): * Single equations (assignments): 86 * 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,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003806/0.5455, allocations: 164.8 kB / 439.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.5482, allocations: 1.13 MB / 440.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5482, allocations: 3.938 kB / 440.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.5497, allocations: 0.6883 MB / 441.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.5506, allocations: 133.9 kB / 441.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/0.5549, allocations: 2.009 MB / 443.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000673/0.5556, allocations: 0.94 MB / 444.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.5559, allocations: 71.42 kB / 444.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5559, allocations: 3.938 kB / 444.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of Templates: time 0.02813/0.5841, allocations: 17.6 MB / 461.8 MB, free: 2.113 MB / 366.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.275291763944551]