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.001075/0.001075, allocations: 85.91 kB / 21.43 MB, free: 3.066 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.001033/0.001033, allocations: 163.1 kB / 24.82 MB, free: 8.875 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 1.012/1.012, allocations: 177 MB / 205.1 MB, free: 5.492 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.473e-06/1.473e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.786e-05/1.934e-05, allocations: 2.312 kB / 273.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005107/0.005127, allocations: 4.352 MB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.007412, allocations: 1.535 MB / 279.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.007721, allocations: 15.88 kB / 279.2 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.008078, allocations: 142.6 kB / 279.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.01169, allocations: 301.5 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008295/0.01252, allocations: 439 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.01352, allocations: 1.201 MB / 281.3 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.01381, allocations: 182.2 kB / 281.5 MB, free: 9.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003907/0.01771, allocations: 0.694 MB / 282.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006097/0.01832, allocations: 446.9 kB / 282.6 MB, free: 7.922 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.01848, allocations: 92 kB / 282.7 MB, free: 7.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.01879, allocations: 175.7 kB / 282.9 MB, free: 7.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.019, allocations: 243.2 kB / 283.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.01929, allocations: 339.2 kB / 283.4 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009076/0.0202, allocations: 0.8604 MB / 284.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.0202, allocations: 0 / 284.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0202, allocations: 0 / 284.3 MB, free: 6.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.02021, allocations: 4 kB / 284.3 MB, free: 6.223 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.005026/0.02524, allocations: 1.426 MB / 285.7 MB, free: 4.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.02528, allocations: 15.98 kB / 285.7 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.02573, allocations: 172.3 kB / 285.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.0263, allocations: 434.7 kB / 286.3 MB, free: 4.105 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.02635, allocations: 54.38 kB / 286.4 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.02647, allocations: 76.31 kB / 286.5 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008496/0.02732, allocations: 0.5503 MB / 287 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.02734, allocations: 11.92 kB / 287 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.287e-05/0.0274, allocations: 32 kB / 287 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.02742, allocations: 16 kB / 287.1 MB, free: 3.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006983/0.02812, allocations: 409.5 kB / 287.5 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.03072, allocations: 1.682 MB / 289.1 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006763/0.03139, allocations: 466.5 kB / 289.6 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.03171, allocations: 215.1 kB / 289.8 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.524e-05/0.03176, allocations: 17 kB / 289.8 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/0.03222, allocations: 370.4 kB / 290.2 MB, free: 160 kB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 2.585e-06/0.03222, allocations: 0 / 290.2 MB, free: 160 kB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.1131/0.1453, allocations: 2.502 MB / 292.7 MB, free: 24.81 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.1454, allocations: 68.55 kB / 292.8 MB, free: 24.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.1457, allocations: 424.9 kB / 293.2 MB, free: 24.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.65e-05/0.1458, allocations: 58.41 kB / 293.2 MB, free: 24.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.1459, allocations: 333.9 kB / 293.6 MB, free: 24.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.1461, allocations: 389.3 kB / 293.9 MB, free: 24.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.1464, allocations: 195.9 kB / 294.1 MB, free: 24.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1465, allocations: 0.5495 MB / 294.7 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.1469, allocations: 194.1 kB / 294.9 MB, free: 23.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.1473, allocations: 308.2 kB / 295.2 MB, free: 23.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005956/0.1479, allocations: 447.6 kB / 295.6 MB, free: 23.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1479, allocations: 1.062 kB / 295.6 MB, free: 23.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001468/0.1494, allocations: 0.8705 MB / 296.5 MB, free: 23.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1494, allocations: 9.906 kB / 296.5 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.1494, allocations: 2.25 kB / 296.5 MB, free: 23.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006712/0.1501, allocations: 430.1 kB / 296.9 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005184/0.1506, allocations: 195 kB / 297.1 MB, free: 23.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008102/0.1587, allocations: 3.904 MB / 301 MB, free: 19.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.1592, allocations: 124.4 kB / 301.1 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/0.1593, allocations: 26.17 kB / 301.1 MB, free: 19.73 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.0002063/0.1595, allocations: 221.1 kB / 301.4 MB, free: 19.57 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.1596, allocations: 110.5 kB / 301.5 MB, free: 19.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.1597, allocations: 105.7 kB / 301.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1597, allocations: 11.78 kB / 301.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1597, allocations: 0.7969 kB / 301.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1598, allocations: 9.109 kB / 301.6 MB, free: 19.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008467/0.1682, allocations: 1.698 MB / 303.3 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.1682, allocations: 5.969 kB / 303.3 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.1687, allocations: 172.4 kB / 303.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000595/0.1693, allocations: 418.1 kB / 303.9 MB, free: 18.69 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.653e-05/0.1694, allocations: 39.61 kB / 303.9 MB, free: 18.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00775/0.1771, allocations: 3.678 MB / 307.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1771, allocations: 1.562 kB / 307.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.1788, allocations: 1.184 MB / 308.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.1791, allocations: 160.9 kB / 308.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.1792, allocations: 35.8 kB / 309 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006558/0.1857, allocations: 136.4 kB / 309.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/0.1863, allocations: 361.4 kB / 309.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.1863, allocations: 39.61 kB / 309.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.1865, allocations: 268.9 kB / 309.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1865, allocations: 0 / 309.8 MB, free: 14.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006271/0.1871, allocations: 248 kB / 310 MB, free: 14.35 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.000862/0.188, allocations: 394.6 kB / 310.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.006998/0.195, allocations: 0.7908 MB / 311.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.195, allocations: 0 / 311.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.1955, allocations: 0.5372 MB / 311.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006197/0.1961, allocations: 190.4 kB / 311.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007511/0.2036, allocations: 1.734 MB / 313.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2037, allocations: 169.2 kB / 313.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003422/0.2041, allocations: 85.64 kB / 313.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/0.2045, allocations: 234.1 kB / 314.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2045, allocations: 0 / 314.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of Templates: time 0.01938/0.2239, allocations: 17.35 MB / 331.5 MB, free: 10.64 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.2874295068904757]