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.0009627/0.0009627, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.0009592/0.0009592, allocations: 156.5 kB / 24.55 MB, free: 16 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.007/1.007, allocations: 177 MB / 204.8 MB, free: 5.582 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 2.595e-06/2.595e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.206e-05/4.465e-05, allocations: 9.203 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.00823/0.008275, allocations: 4.423 MB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.01237, allocations: 1.551 MB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004671/0.01283, allocations: 15.88 kB / 278.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.0132, allocations: 146.6 kB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005173/0.01372, allocations: 289.5 kB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000826/0.01455, allocations: 435 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009602/0.01551, allocations: 1.205 MB / 281 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.01579, allocations: 178.2 kB / 281.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007292/0.01652, allocations: 0.7057 MB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.01693, allocations: 438.9 kB / 282.3 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.01704, allocations: 92 kB / 282.4 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.01729, allocations: 171.8 kB / 282.5 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.01749, allocations: 243.2 kB / 282.8 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.01775, allocations: 343.2 kB / 283.1 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.01852, allocations: 0.8565 MB / 283.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.01852, allocations: 0 / 283.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.01853, allocations: 0 / 283.9 MB, free: 6.352 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.01853, allocations: 7.938 kB / 284 MB, free: 6.344 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.00214/0.02067, allocations: 1.407 MB / 285.4 MB, free: 4.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.02073, allocations: 15.98 kB / 285.4 MB, free: 4.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006193/0.02135, allocations: 172.3 kB / 285.5 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.02215, allocations: 434.7 kB / 286 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.34e-05/0.02222, allocations: 58.36 kB / 286 MB, free: 4.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.02237, allocations: 76.33 kB / 286.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.0237, allocations: 0.6207 MB / 286.7 MB, free: 3.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.76e-05/0.02374, allocations: 11.94 kB / 286.7 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.02382, allocations: 28 kB / 286.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.02385, allocations: 16 kB / 286.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.02501, allocations: 499.5 kB / 287.3 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.02902, allocations: 1.748 MB / 289 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.03027, allocations: 0.5065 MB / 289.5 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005418/0.03082, allocations: 263.1 kB / 289.8 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.971e-05/0.03091, allocations: 24.88 kB / 289.8 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1525/0.1834, allocations: 395.5 kB / 290.2 MB, free: 25.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=90): time 4.068e-06/0.1834, allocations: 0 / 290.2 MB, free: 25.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=110): time 0.00634/0.1898, allocations: 2.83 MB / 293 MB, free: 24.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.1898, allocations: 70.7 kB / 293.1 MB, free: 24.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.1903, allocations: 425 kB / 293.5 MB, free: 24.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.1904, allocations: 56.23 kB / 293.6 MB, free: 24.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.1906, allocations: 332.2 kB / 293.9 MB, free: 24.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002596/0.1908, allocations: 388.8 kB / 294.3 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.1911, allocations: 189.1 kB / 294.4 MB, free: 24.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1913, allocations: 0.5465 MB / 295 MB, free: 23.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.1919, allocations: 250.5 kB / 295.2 MB, free: 23.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.1925, allocations: 357.4 kB / 295.6 MB, free: 23.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009142/0.1934, allocations: 0.51 MB / 296.1 MB, free: 23.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.1934, allocations: 2.125 kB / 296.1 MB, free: 23.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002083/0.1955, allocations: 0.9741 MB / 297.1 MB, free: 23.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1955, allocations: 6.406 kB / 297.1 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.1955, allocations: 1.438 kB / 297.1 MB, free: 23.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008693/0.1964, allocations: 442.5 kB / 297.5 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.197, allocations: 185.2 kB / 297.7 MB, free: 23.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.1996, allocations: 3.971 MB / 301.7 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/0.2003, allocations: 111.4 kB / 301.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.2003, allocations: 37.59 kB / 301.8 MB, free: 19.38 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.0002908/0.2006, allocations: 230.7 kB / 302 MB, free: 19.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.2008, allocations: 110.7 kB / 302.1 MB, free: 19.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.201, allocations: 108.7 kB / 302.2 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.201, allocations: 11.22 kB / 302.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.201, allocations: 4.188 kB / 302.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.201, allocations: 10.38 kB / 302.3 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.2042, allocations: 1.845 MB / 304.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2042, allocations: 1.375 kB / 304.1 MB, free: 18.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.2047, allocations: 173.5 kB / 304.3 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007605/0.2055, allocations: 437.8 kB / 304.7 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.2056, allocations: 36.14 kB / 304.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/0.2077, allocations: 3.733 MB / 308.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.2077, allocations: 2.688 kB / 308.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.2098, allocations: 1.307 MB / 309.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.2101, allocations: 161.2 kB / 310 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.2102, allocations: 43.53 kB / 310 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005836/0.2108, allocations: 130.8 kB / 310.1 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006498/0.2114, allocations: 359.2 kB / 310.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.2115, allocations: 46.14 kB / 310.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002115/0.2117, allocations: 278.4 kB / 310.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2117, allocations: 4 kB / 310.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000765/0.2125, allocations: 247.3 kB / 311 MB, free: 13.48 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.001005/0.2135, allocations: 379.6 kB / 311.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001606/0.2151, allocations: 0.8895 MB / 312.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2151, allocations: 0 / 312.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.2158, allocations: 0.5756 MB / 312.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.2166, allocations: 201.7 kB / 313.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.2196, allocations: 1.745 MB / 314.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2198, allocations: 173.2 kB / 315 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.22, allocations: 81.64 kB / 315.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.2202, allocations: 76.47 kB / 315.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2202, allocations: 0 / 315.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of Templates: time 0.02319/0.2434, allocations: 16.05 MB / 331.2 MB, free: 10.29 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.577763857319951]