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.00135/0.00135, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00151/0.00151, allocations: 213.2 kB / 24.48 MB, free: 3.844 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.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001805/0.001805, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2616, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006319/0.268, allocations: 4.058 MB / 436.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.2713, allocations: 1.52 MB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004784/0.2718, allocations: 15.88 kB / 437.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004854/0.2723, allocations: 134.7 kB / 438.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007138/0.273, allocations: 281.7 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001102/0.2741, allocations: 438.5 kB / 438.8 MB, free: 300 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.2755, allocations: 1.174 MB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.2759, allocations: 173.2 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008554/0.2767, allocations: 0.5064 MB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.2774, allocations: 0.4941 MB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.2776, allocations: 92 kB / 441.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003611/0.2779, allocations: 160 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.2782, allocations: 247.2 kB / 441.6 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004162/0.2786, allocations: 402.3 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.28, allocations: 1.132 MB / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.28, allocations: 0 / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.28, allocations: 0 / 443.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.28, allocations: 0 / 443.1 MB, free: 11.91 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.003738/0.2838, allocations: 1.403 MB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2838, allocations: 12.03 kB / 444.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.2844, allocations: 116.3 kB / 444.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008888/0.2852, allocations: 412 kB / 445 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.245e-05/0.2853, allocations: 54.38 kB / 445.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.2855, allocations: 80.08 kB / 445.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.2872, allocations: 0.7998 MB / 446 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.2872, allocations: 0 / 446 MB, free: 8.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/0.2873, allocations: 35.98 kB / 446 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.2873, allocations: 16 kB / 446 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.2895, allocations: 0.8353 MB / 446.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.294, allocations: 1.869 MB / 448.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/0.2957, allocations: 0.6898 MB / 449.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.2967, allocations: 420.3 kB / 449.8 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.545e-05/0.2968, allocations: 13 kB / 449.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.2981, allocations: 0.5322 MB / 450.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 4.018e-06/0.2981, allocations: 7.938 kB / 450.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.0114/0.3095, allocations: 3.794 MB / 454.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.3095, allocations: 60.41 kB / 454.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/0.3101, allocations: 409.9 kB / 454.6 MB, free: 180 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001009/0.3102, allocations: 57.69 kB / 454.7 MB, free: 116 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.3104, allocations: 277.7 kB / 455 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.3108, allocations: 400.6 kB / 455.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.3111, allocations: 182.9 kB / 455.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3113, allocations: 382.7 kB / 455.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.3124, allocations: 422.4 kB / 456.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.3135, allocations: 0.5033 MB / 456.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.3152, allocations: 0.7402 MB / 457.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3152, allocations: 0 / 457.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003219/0.3184, allocations: 1.292 MB / 458.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.3184, allocations: 12 kB / 458.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3184, allocations: 0 / 458.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.3196, allocations: 0.5372 MB / 459.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008182/0.3204, allocations: 195.7 kB / 459.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.325, allocations: 3.261 MB / 462.9 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.3262, allocations: 172 kB / 463 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.085e-05/0.3263, allocations: 43.98 kB / 463.1 MB, free: 7.492 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.0004323/0.3268, allocations: 225.7 kB / 463.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.3269, allocations: 79.53 kB / 463.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.3272, allocations: 107.1 kB / 463.5 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3272, allocations: 11.94 kB / 463.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.3272, allocations: 4 kB / 463.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.3272, allocations: 4.172 kB / 463.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.3319, allocations: 2.122 MB / 465.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.3319, allocations: 3.938 kB / 465.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.3328, allocations: 176 kB / 465.8 MB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.3338, allocations: 0.506 MB / 466.3 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.272e-05/0.3339, allocations: 39.95 kB / 466.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00405/0.3379, allocations: 3.041 MB / 469.4 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.338, allocations: 3.938 kB / 469.4 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004053/0.342, allocations: 1.772 MB / 471.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.3425, allocations: 167.3 kB / 471.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/0.3427, allocations: 32 kB / 471.3 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.344, allocations: 203.7 kB / 471.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009561/0.345, allocations: 388.3 kB / 471.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-05/0.3451, allocations: 43.95 kB / 472 MB, free: 14.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003565/0.3454, allocations: 275.2 kB / 472.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3454, allocations: 0 / 472.2 MB, free: 14.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008205/0.3462, allocations: 247.9 kB / 472.5 MB, free: 13.79 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.001555/0.3478, allocations: 441 kB / 472.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00272/0.3505, allocations: 1.083 MB / 474 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.3505, allocations: 0 / 474 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/0.3521, allocations: 0.6804 MB / 474.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009807/0.3531, allocations: 149.4 kB / 474.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.3575, allocations: 2.06 MB / 476.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.3579, allocations: 353.5 kB / 477.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.3582, allocations: 75.41 kB / 477.3 MB, free: 9.008 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3582, allocations: 0 / 477.3 MB, free: 9.008 MB / 382.1 MB Notification: Performance of Templates: time 0.0257/0.3839, allocations: 18.62 MB / 495.9 MB, free: 6.383 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/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_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: 9.261298967059702]