Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 211.4 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 51.92 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2631, allocations: 53.36 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006064/0.2691, allocations: 4.069 MB / 435.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.2722, allocations: 1.52 MB / 437.2 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.2726, allocations: 15.88 kB / 437.2 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.273, allocations: 134.7 kB / 437.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006283/0.2737, allocations: 281.7 kB / 437.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.2747, allocations: 442.1 kB / 438 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.2759, allocations: 1.17 MB / 439.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/0.2763, allocations: 189.9 kB / 439.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000709/0.277, allocations: 0.5141 MB / 439.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007248/0.2777, allocations: 0.5371 MB / 440.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.2778, allocations: 92 kB / 440.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.2782, allocations: 168 kB / 440.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.2785, allocations: 243.2 kB / 440.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.2789, allocations: 394.3 kB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.2802, allocations: 1.139 MB / 442.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2802, allocations: 0 / 442.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2802, allocations: 4 kB / 442.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.2802, allocations: 0 / 442.4 MB, free: 11.79 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.003511/0.2837, allocations: 1.399 MB / 443.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2838, allocations: 12.03 kB / 443.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005725/0.2843, allocations: 120.3 kB / 444 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.2851, allocations: 408 kB / 444.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.35e-05/0.2852, allocations: 58.31 kB / 444.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.2854, allocations: 80.08 kB / 444.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.2872, allocations: 0.7998 MB / 445.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.2872, allocations: 0 / 445.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.2873, allocations: 32 kB / 445.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.2873, allocations: 16 kB / 445.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/0.2895, allocations: 0.8315 MB / 446.2 MB, free: 7.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004519/0.294, allocations: 1.877 MB / 448.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.2956, allocations: 0.686 MB / 448.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009801/0.2966, allocations: 420.3 kB / 449.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.282e-05/0.2966, allocations: 12.98 kB / 449.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001218/0.2979, allocations: 0.5361 MB / 449.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.875e-06/0.2979, allocations: 3.938 kB / 449.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01164/0.3095, allocations: 3.805 MB / 453.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.3096, allocations: 60.41 kB / 453.6 MB, free: 460 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.3101, allocations: 409.8 kB / 454 MB, free: 48 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.3102, allocations: 53.75 kB / 454 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.3105, allocations: 281.5 kB / 454.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.3109, allocations: 396.7 kB / 454.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/0.3113, allocations: 186.9 kB / 454.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.3115, allocations: 374.8 kB / 455.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.3126, allocations: 422.4 kB / 455.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.3137, allocations: 0.5072 MB / 456.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.3155, allocations: 0.744 MB / 456.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3156, allocations: 0 / 456.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003364/0.3189, allocations: 1.284 MB / 458.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3189, allocations: 8 kB / 458.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.319, allocations: 0 / 458.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.3202, allocations: 0.5372 MB / 458.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.321, allocations: 203.6 kB / 458.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004619/0.3256, allocations: 3.257 MB / 462.2 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.3268, allocations: 167.9 kB / 462.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.61e-05/0.3269, allocations: 39.98 kB / 462.4 MB, free: 7.379 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.0004059/0.3273, allocations: 225.7 kB / 462.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3275, allocations: 79.52 kB / 462.7 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.3277, allocations: 103.1 kB / 462.8 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.3277, allocations: 15.94 kB / 462.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3277, allocations: 4 kB / 462.8 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3277, allocations: 3.984 kB / 462.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004662/0.3324, allocations: 2.13 MB / 464.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3324, allocations: 4 kB / 464.9 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008292/0.3332, allocations: 179.9 kB / 465.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.3343, allocations: 0.4904 MB / 465.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.3344, allocations: 39.97 kB / 465.6 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003931/0.3383, allocations: 3.057 MB / 468.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3383, allocations: 0 / 468.7 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.3423, allocations: 1.772 MB / 470.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/0.3428, allocations: 163.4 kB / 470.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.3429, allocations: 39.98 kB / 470.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.3442, allocations: 195.8 kB / 470.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009168/0.3451, allocations: 396.2 kB / 471.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.3452, allocations: 39.97 kB / 471.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003979/0.3456, allocations: 279.1 kB / 471.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3456, allocations: 0 / 471.6 MB, free: 13.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008894/0.3465, allocations: 247.9 kB / 471.8 MB, free: 13.66 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.0016/0.3481, allocations: 430.3 kB / 472.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.3509, allocations: 1.079 MB / 473.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3509, allocations: 0 / 473.3 MB, free: 12.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.3526, allocations: 0.735 MB / 474 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.3535, allocations: 152.1 kB / 474.2 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.3584, allocations: 2.028 MB / 476.2 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.3589, allocations: 349.5 kB / 476.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003989/0.3593, allocations: 81.66 kB / 476.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/0.3595, allocations: 67.41 kB / 476.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3595, allocations: 0 / 476.7 MB, free: 8.809 MB / 382.1 MB Notification: Performance of Templates: time 0.03023/0.3897, allocations: 16.96 MB / 493.7 MB, free: 7.98 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.254278161097318]