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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,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=4000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001195/0.001195, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 223.1 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 99.91 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2764, allocations: 47.57 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3886, allocations: 83.51 MB / 459.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.389, allocations: 71.97 kB / 459.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04428/0.4333, allocations: 14.93 MB / 474.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4333, allocations: 0 / 474.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.4334, allocations: 12 kB / 474.3 MB, free: 14.07 MB / 362.7 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.002697/0.4361, allocations: 1.135 MB / 475.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4361, allocations: 8.031 kB / 475.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.4364, allocations: 90.92 kB / 475.6 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.437, allocations: 408.7 kB / 476 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.4371, allocations: 54 kB / 476 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.4372, allocations: 68 kB / 476.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.4388, allocations: 0.792 MB / 476.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.4389, allocations: 3.906 kB / 476.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.512e-05/0.439, allocations: 36 kB / 476.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/0.439, allocations: 16 kB / 476.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.4409, allocations: 0.8548 MB / 477.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004571/0.4455, allocations: 2.443 MB / 480.2 MB, free: 7.953 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/0.447, allocations: 0.7097 MB / 480.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.204e-05/0.4471, allocations: 16.92 kB / 481 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.4483, allocations: 0.5556 MB / 481.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=89): time 5.741e-06/0.4483, allocations: 0 / 481.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=109): time 0.0115/0.4598, allocations: 4.423 MB / 485.9 MB, free: 2.102 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4599, allocations: 60.41 kB / 486 MB, free: 2.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000456/0.4603, allocations: 317.1 kB / 486.3 MB, free: 1.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.4605, allocations: 53.7 kB / 486.4 MB, free: 1.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.4607, allocations: 269.1 kB / 486.6 MB, free: 1.387 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.461, allocations: 370.8 kB / 487 MB, free: 1.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.4611, allocations: 23.98 kB / 487 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4613, allocations: 374.8 kB / 487.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009634/0.4622, allocations: 422.4 kB / 487.8 MB, free: 216 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/0.4634, allocations: 0.5189 MB / 488.3 MB, free: 15.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008662/0.4643, allocations: 374.3 kB / 488.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4643, allocations: 0 / 488.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003168/0.4674, allocations: 1.319 MB / 490 MB, free: 13.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4675, allocations: 8 kB / 490 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.4675, allocations: 0 / 490 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.4686, allocations: 0.5567 MB / 490.5 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008304/0.4695, allocations: 203.7 kB / 490.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004163/0.4736, allocations: 3.244 MB / 494 MB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/0.4751, allocations: 239.9 kB / 494.2 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.4752, allocations: 43.97 kB / 494.3 MB, free: 9.488 MB / 378.7 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,$whenCondition1,elastoGap.contact,$PRE.supportFriction.startForward,supportFriction.startForward,$PRE.supportFriction.startBackward,supportFriction.startBackward,supportFriction.locked,$PRE.supportFriction.mode,supportFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,massWithStopAndFriction.free,$PRE.massWithStopAndFriction.startForward,massWithStopAndFriction.startForward,$PRE.massWithStopAndFriction.startBackward,massWithStopAndFriction.startBackward,massWithStopAndFriction.locked,$PRE.massWithStopAndFriction.mode,massWithStopAndFriction.mode,massWithStopAndFriction.stopped) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 5,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004497/0.4757, allocations: 225.8 kB / 494.5 MB, free: 9.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.4758, allocations: 67.25 kB / 494.6 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.4789, allocations: 1.333 MB / 495.9 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.479, allocations: 16 kB / 495.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.479, allocations: 0 / 495.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.479, allocations: 3.984 kB / 495.9 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/0.484, allocations: 2.489 MB / 498.4 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.484, allocations: 7.984 kB / 498.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.4849, allocations: 184 kB / 498.6 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.4859, allocations: 0.5215 MB / 499.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.486, allocations: 39.95 kB / 499.1 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00391/0.49, allocations: 3.077 MB / 0.4904 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.49, allocations: 4 kB / 0.4904 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1878/0.6778, allocations: 1.918 MB / 0.4923 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/0.6783, allocations: 234 kB / 0.4925 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.6784, allocations: 29.03 kB / 0.4926 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.6797, allocations: 252.9 kB / 0.4928 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008736/0.6806, allocations: 434.9 kB / 0.4932 GB, free: 106.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/0.6808, allocations: 43.03 kB / 0.4933 GB, free: 106.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002559/0.681, allocations: 260.5 kB / 0.4935 GB, free: 106.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.011e-06/0.681, allocations: 0 / 0.4935 GB, free: 106.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008084/0.6818, allocations: 254 kB / 0.4938 GB, free: 106.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002783/0.6821, allocations: 162.9 kB / 0.4939 GB, free: 106.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002378/0.6845, allocations: 1.225 MB / 0.4951 GB, free: 106.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6845, allocations: 3.25 kB / 0.4951 GB, free: 106.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.686, allocations: 0.792 MB / 0.4959 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.6867, allocations: 99.61 kB / 0.496 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003843/0.6906, allocations: 2.407 MB / 0.4983 GB, free: 105.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.691, allocations: 0.9537 MB / 0.4993 GB, free: 104.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.6914, allocations: 74.28 kB / 0.4993 GB, free: 104.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.6916, allocations: 58.56 kB / 0.4994 GB, free: 104.6 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.6916, allocations: 7.234 kB / 0.4994 GB, free: 104.6 MB / 378.7 MB Notification: Performance of Templates: time 0.02075/0.7123, allocations: 14.93 MB / 0.514 GB, free: 100.3 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches