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.002034/0.002034, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.0026/0.0026, allocations: 156.9 kB / 24.26 MB, free: 172 kB / 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 1.449/1.449, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.912e-05, allocations: 2.312 kB / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006844/0.006873, allocations: 4.059 MB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.0105, allocations: 1.531 MB / 277.8 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005217/0.01102, allocations: 19.88 kB / 277.8 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.01156, allocations: 134.7 kB / 277.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008135/0.01237, allocations: 285.5 kB / 278.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.01362, allocations: 439 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.01499, allocations: 1.209 MB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003645/0.01536, allocations: 178.2 kB / 280 MB, free: 9.918 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001193/0.01655, allocations: 0.6979 MB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006676/0.01722, allocations: 438.9 kB / 281.2 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.01739, allocations: 96 kB / 281.2 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/0.01775, allocations: 163.8 kB / 281.4 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.01806, allocations: 243.2 kB / 281.6 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.01849, allocations: 343.2 kB / 282 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.02004, allocations: 1.207 MB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.02004, allocations: 0 / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02004, allocations: 0 / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.02005, allocations: 0 / 283.2 MB, free: 6.75 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.003702/0.02375, allocations: 1.395 MB / 284.6 MB, free: 5.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.02379, allocations: 11.98 kB / 284.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006962/0.02449, allocations: 176.3 kB / 284.8 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.02534, allocations: 419.2 kB / 285.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.676e-05/0.02541, allocations: 50.38 kB / 285.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.02557, allocations: 76.36 kB / 285.3 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.02742, allocations: 0.7925 MB / 286.1 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/0.02746, allocations: 31.8 kB / 286.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-05/0.02756, allocations: 24 kB / 286.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.02758, allocations: 16 kB / 286.2 MB, free: 3.699 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.02976, allocations: 0.8315 MB / 287 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.0345, allocations: 1.882 MB / 288.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.03619, allocations: 0.6864 MB / 289.6 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.09518/0.1314, allocations: 416.5 kB / 290 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.1315, allocations: 15.5 kB / 290 MB, free: 28.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.1327, allocations: 0.5394 MB / 290.5 MB, free: 28.28 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.535e-06/0.1327, allocations: 1.094 kB / 290.5 MB, free: 28.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.01121/0.1439, allocations: 3.813 MB / 294.3 MB, free: 27.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1439, allocations: 67.91 kB / 294.4 MB, free: 27.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004715/0.1444, allocations: 406.9 kB / 294.8 MB, free: 26.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.1445, allocations: 53.59 kB / 294.9 MB, free: 26.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1446, allocations: 284.5 kB / 295.1 MB, free: 26.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.1449, allocations: 392.1 kB / 295.5 MB, free: 26.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.1452, allocations: 185.8 kB / 295.7 MB, free: 26.22 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.1453, allocations: 374.3 kB / 296.1 MB, free: 25.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009118/0.1462, allocations: 418.4 kB / 296.5 MB, free: 25.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/0.1471, allocations: 0.5064 MB / 297 MB, free: 25.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.1487, allocations: 0.7438 MB / 297.7 MB, free: 25.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1487, allocations: 5 kB / 297.7 MB, free: 25.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002953/0.1516, allocations: 1.325 MB / 299 MB, free: 24.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1516, allocations: 6.844 kB / 299.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1516, allocations: 1.344 kB / 299.1 MB, free: 24.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.1527, allocations: 0.5442 MB / 299.6 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/0.1535, allocations: 198.4 kB / 299.8 MB, free: 24.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.1569, allocations: 3.269 MB / 303.1 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.1581, allocations: 179.8 kB / 303.2 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/0.1582, allocations: 35.77 kB / 303.3 MB, free: 21.61 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.000339/0.1585, allocations: 227 kB / 303.5 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.1588, allocations: 109.7 kB / 303.6 MB, free: 21.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002136/0.159, allocations: 108.8 kB / 303.7 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.924e-06/0.159, allocations: 15.33 kB / 303.7 MB, free: 21.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.159, allocations: 7.938 kB / 303.7 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.159, allocations: 5.484 kB / 303.7 MB, free: 21.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003849/0.1629, allocations: 2.143 MB / 305.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1629, allocations: 0 / 305.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/0.1636, allocations: 178.2 kB / 306.1 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008072/0.1644, allocations: 0.4939 MB / 306.5 MB, free: 20.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.111e-05/0.1644, allocations: 43.58 kB / 306.6 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/0.1671, allocations: 3.059 MB / 309.6 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1671, allocations: 3.938 kB / 309.7 MB, free: 16.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.1702, allocations: 1.78 MB / 311.4 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003199/0.1706, allocations: 167.7 kB / 311.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.1707, allocations: 42.22 kB / 311.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.1719, allocations: 195.8 kB / 311.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007909/0.1727, allocations: 396.2 kB / 312.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/0.1728, allocations: 39.97 kB / 312.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002242/0.173, allocations: 279.1 kB / 312.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.173, allocations: 0 / 312.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007288/0.1737, allocations: 244 kB / 312.8 MB, free: 13.65 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.001681/0.1754, allocations: 437.4 kB / 313.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.1775, allocations: 1.087 MB / 314.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1775, allocations: 4 kB / 314.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.1788, allocations: 0.7233 MB / 315 MB, free: 11.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.1796, allocations: 192.4 kB / 315.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.1827, allocations: 1.842 MB / 317 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1829, allocations: 353.5 kB / 317.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002958/0.1832, allocations: 81.66 kB / 317.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.1834, allocations: 80.47 kB / 317.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1834, allocations: 0 / 317.5 MB, free: 8.973 MB / 266.7 MB Notification: Performance of Templates: time 0.02414/0.2076, allocations: 15.91 MB / 333.5 MB, free: 9.191 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.0967489059548825]