Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009837/0.0009837, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.0009883/0.0009883, allocations: 161.9 kB / 25.33 MB, free: 8.59 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9528/0.9528, allocations: 158.6 MB / 187.2 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 251 MB, free: 7.527 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.909e-05, allocations: 6.25 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005747/0.005776, allocations: 4.254 MB / 255.3 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.008005, allocations: 1.333 MB / 256.6 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003458/0.008351, allocations: 15.94 kB / 256.6 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.008708, allocations: 118.8 kB / 256.8 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.009135, allocations: 241.8 kB / 257 MB, free: 1.523 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.01023, allocations: 435.1 kB / 257.4 MB, free: 1.098 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.0115, allocations: 1.173 MB / 258.6 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002867/0.01179, allocations: 174.1 kB / 258.8 MB, free: 15.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008755/0.01267, allocations: 0.6707 MB / 259.4 MB, free: 15.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.0131, allocations: 426.9 kB / 259.8 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.892e-05/0.0132, allocations: 92 kB / 259.9 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.01342, allocations: 151.9 kB / 260.1 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.01358, allocations: 235.2 kB / 260.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.01382, allocations: 319.3 kB / 260.6 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.01451, allocations: 0.8215 MB / 261.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01451, allocations: 0 / 261.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.01451, allocations: 4 kB / 261.5 MB, free: 13.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.01452, allocations: 0 / 261.5 MB, free: 13.04 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001578/0.0161, allocations: 1.357 MB / 262.8 MB, free: 11.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01614, allocations: 15.98 kB / 262.8 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.01638, allocations: 148.3 kB / 263 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.01682, allocations: 390.2 kB / 263.4 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.01686, allocations: 58.31 kB / 263.4 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.01696, allocations: 76.33 kB / 263.5 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009315/0.01789, allocations: 0.6409 MB / 264.1 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.01792, allocations: 12.14 kB / 264.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.01797, allocations: 32.12 kB / 264.2 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.01799, allocations: 19.98 kB / 264.2 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.01879, allocations: 0.5152 MB / 264.7 MB, free: 9.703 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.0212, allocations: 1.748 MB / 266.5 MB, free: 7.891 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.0219, allocations: 0.4981 MB / 266.9 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.02226, allocations: 271.2 kB / 267.2 MB, free: 7.113 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.02232, allocations: 24.97 kB / 267.2 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.02282, allocations: 418.5 kB / 267.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=86): time 2.365e-06/0.02282, allocations: 0 / 267.6 MB, free: 6.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=106): time 0.005227/0.02805, allocations: 2.887 MB / 270.5 MB, free: 3.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.02809, allocations: 68.34 kB / 270.6 MB, free: 3.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.02844, allocations: 402.7 kB / 271 MB, free: 3.246 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.122e-05/0.02851, allocations: 57.69 kB / 271 MB, free: 3.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.02869, allocations: 336.1 kB / 271.4 MB, free: 2.848 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.02894, allocations: 364.9 kB / 271.7 MB, free: 2.488 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.02921, allocations: 196.5 kB / 271.9 MB, free: 2.285 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.0294, allocations: 0.5391 MB / 272.5 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007088/0.03011, allocations: 270.5 kB / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000564/0.03068, allocations: 380.3 kB / 273.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008283/0.0315, allocations: 0.5379 MB / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.03151, allocations: 0 / 273.6 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.001838/0.03335, allocations: 1.03 MB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.03337, allocations: 4 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.03338, allocations: 4 kB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008826/0.03426, allocations: 0.5493 MB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.03482, allocations: 187.7 kB / 275.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.03772, allocations: 4.034 MB / 279.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.0382, allocations: 111.9 kB / 279.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.904e-05/0.03827, allocations: 35.98 kB / 279.6 MB, free: 10.35 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,7), (1,5), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.03851, allocations: 224.4 kB / 279.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003041/0.03881, allocations: 111.5 kB / 279.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.03893, allocations: 98.91 kB / 280 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.03894, allocations: 8 kB / 280 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.03895, allocations: 0 / 280 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.03896, allocations: 3.984 kB / 280 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.04178, allocations: 1.909 MB / 281.9 MB, free: 7.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.04179, allocations: 7.922 kB / 281.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.0423, allocations: 163.8 kB / 282.1 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007681/0.04307, allocations: 0.5495 MB / 282.6 MB, free: 7.164 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.71e-05/0.04314, allocations: 35.95 kB / 282.7 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/0.04559, allocations: 3.798 MB / 286.5 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04559, allocations: 4 kB / 286.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.04782, allocations: 1.393 MB / 287.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.0481, allocations: 155.4 kB / 288 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-05/0.0482, allocations: 35.98 kB / 288.1 MB, free: 1.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.04876, allocations: 131.8 kB / 288.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006363/0.04939, allocations: 364.2 kB / 288.6 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.107e-05/0.04946, allocations: 39.97 kB / 288.6 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.04967, allocations: 271.1 kB / 288.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04967, allocations: 0 / 288.9 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006463/0.05031, allocations: 255.9 kB / 289.1 MB, free: 472 kB / 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 (89): * Single equations (assignments): 86 * 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,6), (1,6), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002869/0.0506, allocations: 165 kB / 289.3 MB, free: 296 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.05201, allocations: 0.9225 MB / 290.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.05201, allocations: 0 / 290.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000731/0.05274, allocations: 0.5945 MB / 290.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/0.0534, allocations: 173.7 kB / 291 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.05624, allocations: 1.682 MB / 292.6 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.05637, allocations: 169.1 kB / 292.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.05661, allocations: 73.34 kB / 292.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.05678, allocations: 68.47 kB / 292.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.05679, allocations: 4 kB / 292.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of Templates: time 0.03517/0.09195, allocations: 15.85 MB / 308.8 MB, free: 12.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4993282947689295]