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.001416/0.001416, allocations: 106.2 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001378/0.001378, allocations: 214.7 kB / 23 MB, free: 5.574 MB / 14.72 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.399/1.399, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.1 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 0.001814/0.001814, allocations: 68.08 kB / 376.5 MB, free: 3.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2322, allocations: 53.32 MB / 429.8 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006322/0.2385, allocations: 4.516 MB / 434.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.2419, allocations: 1.582 MB / 435.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.2422, allocations: 11.94 kB / 435.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.2426, allocations: 134.7 kB / 436 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005991/0.2432, allocations: 289.7 kB / 436.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2442, allocations: 418.2 kB / 436.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.2455, allocations: 1.178 MB / 437.9 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.2458, allocations: 181.8 kB / 438.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.2465, allocations: 0.4946 MB / 438.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006465/0.2471, allocations: 0.5332 MB / 439.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.2473, allocations: 100 kB / 439.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.2476, allocations: 171.9 kB / 439.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.2479, allocations: 239.2 kB / 439.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004691/0.2483, allocations: 461.8 kB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.2496, allocations: 1.134 MB / 441.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2496, allocations: 0 / 441.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2496, allocations: 0 / 441.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2496, allocations: 0 / 441.2 MB, free: 12.1 MB / 350.1 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.003382/0.253, allocations: 1.348 MB / 442.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.2531, allocations: 12.03 kB / 442.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005232/0.2536, allocations: 120.3 kB / 442.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.2544, allocations: 477.8 kB / 443.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.836e-05/0.2544, allocations: 54.38 kB / 443.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.2546, allocations: 76.12 kB / 443.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.2563, allocations: 0.7998 MB / 444.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.2564, allocations: 3.953 kB / 444.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.2565, allocations: 32 kB / 444.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.2565, allocations: 23.97 kB / 444.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.2585, allocations: 0.8431 MB / 445 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.2631, allocations: 2.401 MB / 447.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.2646, allocations: 0.6891 MB / 448.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009267/0.2655, allocations: 420.3 kB / 448.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-05/0.2656, allocations: 12.98 kB / 448.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001196/0.2668, allocations: 0.54 MB / 449 MB, free: 4.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.996e-06/0.2668, allocations: 0 / 449 MB, free: 4.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01112/0.2779, allocations: 4.167 MB / 453.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.278, allocations: 64.41 kB / 453.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005338/0.2785, allocations: 425.9 kB / 453.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.986e-05/0.2786, allocations: 53.7 kB / 453.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.2788, allocations: 285.5 kB / 454 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.2791, allocations: 396.7 kB / 454.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/0.2795, allocations: 190.8 kB / 454.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.2797, allocations: 378.8 kB / 454.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009391/0.2806, allocations: 414.4 kB / 455.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.2816, allocations: 0.511 MB / 455.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.2833, allocations: 0.744 MB / 456.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2833, allocations: 0 / 456.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003132/0.2864, allocations: 1.288 MB / 457.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2864, allocations: 4 kB / 457.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.2865, allocations: 3.984 kB / 457.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.2876, allocations: 0.5333 MB / 458.4 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/0.2884, allocations: 191.8 kB / 458.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/0.293, allocations: 3.423 MB / 462 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.2943, allocations: 171.8 kB / 462.2 MB, free: 6.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/0.2943, allocations: 35.98 kB / 462.2 MB, free: 6.359 MB / 366.1 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.0004574/0.2948, allocations: 221.7 kB / 462.5 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.295, allocations: 79.47 kB / 462.5 MB, free: 6.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.2952, allocations: 107.2 kB / 462.6 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.2952, allocations: 12 kB / 462.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.2952, allocations: 4 kB / 462.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.2952, allocations: 3.984 kB / 462.7 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004683/0.2999, allocations: 2.476 MB / 465.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.2999, allocations: 4 kB / 465.1 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.3007, allocations: 167.8 kB / 465.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009875/0.3017, allocations: 0.5062 MB / 465.8 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-05/0.3018, allocations: 39.95 kB / 465.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/0.3057, allocations: 3.184 MB / 469 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3057, allocations: 0 / 469 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/0.3095, allocations: 1.764 MB / 470.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003931/0.3098, allocations: 232.5 kB / 471 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.31, allocations: 31.94 kB / 471.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.3113, allocations: 203.9 kB / 471.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009214/0.3122, allocations: 388.3 kB / 471.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.092e-05/0.3123, allocations: 39.97 kB / 471.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000359/0.3126, allocations: 291.1 kB / 472 MB, free: 12.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3126, allocations: 0 / 472 MB, free: 12.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007675/0.3134, allocations: 247.9 kB / 472.2 MB, free: 12.02 MB / 382.1 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.001396/0.3148, allocations: 410.4 kB / 472.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.3173, allocations: 1.083 MB / 473.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3173, allocations: 0 / 473.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.319, allocations: 0.7312 MB / 474.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.3198, allocations: 152.8 kB / 474.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.3239, allocations: 2.027 MB / 476.6 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.3244, allocations: 0.948 MB / 477.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003501/0.3248, allocations: 85.69 kB / 477.6 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.325, allocations: 67.42 kB / 477.7 MB, free: 6.535 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.325, allocations: 4 kB / 477.7 MB, free: 6.531 MB / 382.1 MB Notification: Performance of Templates: time 0.0297/0.3547, allocations: 18.34 MB / 496 MB, free: 4.266 MB / 398.1 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.02900630608201]