Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001036/0.001036, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009224/0.0009224, allocations: 165 kB / 24.91 MB, free: 8.781 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9297/0.9297, allocations: 177 MB / 205.2 MB, free: 5.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274e-05/1.413e-05, allocations: 6.312 kB / 273.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004359/0.004373, allocations: 4.35 MB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.006922, allocations: 1.593 MB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.007163, allocations: 19.88 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003455/0.007509, allocations: 138.7 kB / 279.5 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004217/0.00793, allocations: 297.5 kB / 279.8 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.008498, allocations: 431 kB / 280.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007701/0.009268, allocations: 1.213 MB / 281.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.009506, allocations: 180.2 kB / 281.6 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006318/0.01014, allocations: 0.7018 MB / 282.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.01053, allocations: 438.9 kB / 282.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.01063, allocations: 92 kB / 282.8 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.01082, allocations: 171.8 kB / 283 MB, free: 7.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.011, allocations: 247.2 kB / 283.2 MB, free: 7.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.01123, allocations: 343.2 kB / 283.5 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.01189, allocations: 0.8526 MB / 284.4 MB, free: 6.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.0119, allocations: 3.984 kB / 284.4 MB, free: 6.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0119, allocations: 4 kB / 284.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.01191, allocations: 0 / 284.4 MB, free: 6.145 MB / 266.7 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.001574/0.01348, allocations: 1.158 MB / 285.6 MB, free: 4.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.01351, allocations: 15.98 kB / 285.6 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.01382, allocations: 136.8 kB / 285.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.01423, allocations: 344.1 kB / 286 MB, free: 4.441 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.01427, allocations: 58.38 kB / 286.1 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.01437, allocations: 80.31 kB / 286.2 MB, free: 4.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.01499, allocations: 0.562 MB / 286.7 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.01501, allocations: 11.88 kB / 286.8 MB, free: 3.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.01506, allocations: 32 kB / 286.8 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.01507, allocations: 16 kB / 286.8 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.01556, allocations: 353.7 kB / 287.1 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001908/0.01746, allocations: 1.36 MB / 288.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.01798, allocations: 427.4 kB / 288.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.01821, allocations: 200 kB / 289.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.01826, allocations: 17 kB / 289.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/0.01861, allocations: 352.8 kB / 289.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.254e-06/0.01862, allocations: 0 / 289.5 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.1054/0.124, allocations: 2.477 MB / 292 MB, free: 25.04 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.124, allocations: 63.61 kB / 292 MB, free: 24.97 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.1244, allocations: 372.1 kB / 292.4 MB, free: 24.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.1244, allocations: 58.69 kB / 292.4 MB, free: 24.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1246, allocations: 246.3 kB / 292.7 MB, free: 24.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.1248, allocations: 392.2 kB / 293.1 MB, free: 24.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.125, allocations: 191.3 kB / 293.2 MB, free: 24.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.125, allocations: 390.3 kB / 293.6 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.1253, allocations: 161.7 kB / 293.8 MB, free: 24.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.1256, allocations: 254.7 kB / 294 MB, free: 24.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.1261, allocations: 442.6 kB / 294.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1261, allocations: 1.156 kB / 294.5 MB, free: 24.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.0009769/0.127, allocations: 0.6791 MB / 295.1 MB, free: 23.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1271, allocations: 11.7 kB / 295.2 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1271, allocations: 1.344 kB / 295.2 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000523/0.1276, allocations: 409 kB / 295.6 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.128, allocations: 187.3 kB / 295.7 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.1294, allocations: 2.682 MB / 298.4 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.1298, allocations: 115 kB / 298.5 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.1298, allocations: 26.66 kB / 298.6 MB, free: 21.59 MB / 266.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,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.0001654/0.13, allocations: 190.2 kB / 298.7 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.1301, allocations: 84.89 kB / 298.8 MB, free: 21.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.1302, allocations: 107.1 kB / 298.9 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1302, allocations: 15.14 kB / 299 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1302, allocations: 0 / 299 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.1302, allocations: 5.75 kB / 299 MB, free: 21.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.1319, allocations: 1.308 MB / 300.3 MB, free: 21.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1319, allocations: 6.219 kB / 300.3 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.1323, allocations: 168.9 kB / 300.4 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.1327, allocations: 401.1 kB / 300.8 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.1328, allocations: 33.7 kB / 300.9 MB, free: 21.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001172/0.134, allocations: 2.533 MB / 303.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.134, allocations: 1.375 kB / 303.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1351, allocations: 0.9537 MB / 304.3 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.1353, allocations: 90.72 kB / 304.4 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.1354, allocations: 32.81 kB / 304.5 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.1358, allocations: 134.5 kB / 304.6 MB, free: 18.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004142/0.1362, allocations: 363.8 kB / 305 MB, free: 18.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.1362, allocations: 34.89 kB / 305 MB, free: 18.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1363, allocations: 151.7 kB / 305.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1363, allocations: 0 / 305.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004596/0.1368, allocations: 239 kB / 305.4 MB, free: 18.47 MB / 266.7 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.0009548/0.1377, allocations: 482.6 kB / 305.8 MB, free: 18.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007164/0.1385, allocations: 0.6926 MB / 306.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1385, allocations: 3.562 kB / 306.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.1388, allocations: 471.3 kB / 307 MB, free: 17.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.1392, allocations: 186.1 kB / 307.2 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.1411, allocations: 1.575 MB / 308.8 MB, free: 17.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.373e-05/0.1411, allocations: 172.4 kB / 308.9 MB, free: 16.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.1413, allocations: 78.55 kB / 309 MB, free: 16.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002631/0.1416, allocations: 199.2 kB / 309.2 MB, free: 16.89 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1416, allocations: 4 kB / 309.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of Templates: time 0.01539/0.157, allocations: 17.23 MB / 326.4 MB, free: 15.99 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.074952389113605]