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.001935/0.001935, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002507/0.002507, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.521/1.521, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.002002/0.002002, allocations: 59.91 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2536, allocations: 53.42 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006076/0.2597, allocations: 4.054 MB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003284/0.263, allocations: 1.531 MB / 438 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.2634, allocations: 11.94 kB / 438 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.2638, allocations: 134.7 kB / 438.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006778/0.2645, allocations: 277.7 kB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2655, allocations: 435.2 kB / 438.8 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.2668, allocations: 1.17 MB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.2671, allocations: 185.9 kB / 440.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007266/0.2679, allocations: 0.4986 MB / 440.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/0.2685, allocations: 498 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.2687, allocations: 96 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.269, allocations: 167.9 kB / 441.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002675/0.2693, allocations: 243.3 kB / 441.6 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.2697, allocations: 394.3 kB / 442 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.271, allocations: 1.135 MB / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.271, allocations: 0 / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.271, allocations: 0 / 443.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.271, allocations: 3.984 kB / 443.2 MB, free: 11.68 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.003509/0.2745, allocations: 1.399 MB / 444.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.2746, allocations: 19.91 kB / 444.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005257/0.2751, allocations: 116.3 kB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.2759, allocations: 412 kB / 445.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.276, allocations: 58.38 kB / 445.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.2762, allocations: 76.08 kB / 445.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.2779, allocations: 0.7998 MB / 446 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.2779, allocations: 4 kB / 446 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.44e-05/0.278, allocations: 24 kB / 446.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.278, allocations: 16 kB / 446.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.2801, allocations: 0.8354 MB / 446.9 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004551/0.2847, allocations: 1.873 MB / 448.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.2862, allocations: 0.686 MB / 449.5 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009617/0.2872, allocations: 423.4 kB / 449.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.286e-05/0.2873, allocations: 16.98 kB / 449.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.2885, allocations: 0.536 MB / 450.4 MB, free: 4.254 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 3.076e-06/0.2885, allocations: 4 kB / 450.4 MB, free: 4.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01158/0.3001, allocations: 3.798 MB / 454.2 MB, free: 428 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.3001, allocations: 60.41 kB / 454.3 MB, free: 352 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/0.3007, allocations: 413.8 kB / 454.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.3008, allocations: 49.7 kB / 454.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.301, allocations: 289.6 kB / 455 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/0.3014, allocations: 396.7 kB / 455.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.3017, allocations: 186.9 kB / 455.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.3019, allocations: 370.8 kB / 456 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009953/0.3029, allocations: 418.4 kB / 456.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.304, allocations: 0.511 MB / 456.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.3057, allocations: 0.744 MB / 457.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3057, allocations: 0 / 457.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003287/0.309, allocations: 1.284 MB / 458.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.309, allocations: 14.5 kB / 458.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.309, allocations: 0 / 458.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001155/0.3102, allocations: 0.5333 MB / 459.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.311, allocations: 191.8 kB / 459.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004478/0.3155, allocations: 3.273 MB / 462.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3168, allocations: 176 kB / 463.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.3169, allocations: 35.98 kB / 463.1 MB, free: 7.262 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.0004349/0.3173, allocations: 229.6 kB / 463.4 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.3175, allocations: 79.52 kB / 463.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002269/0.3177, allocations: 103.1 kB / 463.5 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.3177, allocations: 15.94 kB / 463.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3177, allocations: 0 / 463.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3178, allocations: 3.984 kB / 463.6 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004713/0.3225, allocations: 2.137 MB / 465.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3225, allocations: 0 / 465.7 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/0.3233, allocations: 172 kB / 465.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.3243, allocations: 0.502 MB / 466.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.962e-05/0.3244, allocations: 35.97 kB / 466.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.3284, allocations: 3.041 MB / 469.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.3284, allocations: 4.031 kB / 469.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004069/0.3324, allocations: 1.765 MB / 471.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.3329, allocations: 167.3 kB / 471.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.3331, allocations: 35.98 kB / 471.4 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/0.3345, allocations: 199.8 kB / 471.6 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009334/0.3354, allocations: 396.2 kB / 472 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.374e-05/0.3355, allocations: 43.95 kB / 472 MB, free: 14.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003473/0.3359, allocations: 275.1 kB / 472.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3359, allocations: 0 / 472.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008272/0.3367, allocations: 247.9 kB / 472.5 MB, free: 13.55 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.001553/0.3382, allocations: 418.1 kB / 473 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002793/0.341, allocations: 1.087 MB / 474 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.341, allocations: 0 / 474 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/0.3426, allocations: 0.6804 MB / 474.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.3436, allocations: 164.3 kB / 474.9 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.3482, allocations: 2.055 MB / 476.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3486, allocations: 353.5 kB / 477.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.3489, allocations: 75.41 kB / 477.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3489, allocations: 0 / 477.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of Templates: time 0.02515/0.374, allocations: 18.62 MB / 496 MB, free: 6.113 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/HeatLosses/HeatLosses.csv","/var/lib/jenkins1/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: 9.389291282743216]