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.001288/0.001288, allocations: 112.5 kB / 21.19 MB, free: 0.7812 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.001433/0.001433, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001532/0.001532, allocations: 43.92 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2197, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006077/0.2257, allocations: 4.505 MB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.2288, allocations: 1.59 MB / 438.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004163/0.2292, allocations: 23.88 kB / 438.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.2296, allocations: 138.7 kB / 438.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006587/0.2303, allocations: 277.7 kB / 438.9 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2313, allocations: 425.5 kB / 439.3 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.2327, allocations: 1.174 MB / 440.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.233, allocations: 182.3 kB / 440.7 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008353/0.2339, allocations: 0.5141 MB / 441.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000764/0.2346, allocations: 0.541 MB / 441.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.2348, allocations: 92 kB / 441.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.2351, allocations: 172 kB / 442 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.2354, allocations: 235.3 kB / 442.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004686/0.2359, allocations: 469.8 kB / 442.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.2373, allocations: 1.13 MB / 443.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2373, allocations: 4 kB / 443.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2373, allocations: 0 / 443.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.2373, allocations: 0 / 443.8 MB, free: 11.49 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.003375/0.2407, allocations: 1.399 MB / 445.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2407, allocations: 8.031 kB / 445.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.2412, allocations: 132.3 kB / 445.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007589/0.242, allocations: 404 kB / 445.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.242, allocations: 54.38 kB / 445.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.2422, allocations: 72.12 kB / 445.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.2438, allocations: 0.8037 MB / 446.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.2439, allocations: 7.953 kB / 446.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.2439, allocations: 28 kB / 446.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.244, allocations: 20 kB / 446.7 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.2459, allocations: 0.847 MB / 447.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004633/0.2506, allocations: 2.35 MB / 449.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.2521, allocations: 0.6928 MB / 450.6 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009188/0.253, allocations: 416.3 kB / 451 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.173e-05/0.2531, allocations: 20.98 kB / 451.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.2542, allocations: 0.5322 MB / 451.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.866e-06/0.2542, allocations: 4 kB / 451.6 MB, free: 3.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.011/0.2652, allocations: 3.797 MB / 455.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.2653, allocations: 60.41 kB / 455.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.2658, allocations: 425.8 kB / 455.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.2659, allocations: 57.69 kB / 455.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.2661, allocations: 285.5 kB / 456.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.2665, allocations: 388.8 kB / 456.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.2668, allocations: 194.8 kB / 456.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.2669, allocations: 374.8 kB / 457.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.2679, allocations: 414.4 kB / 457.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.2689, allocations: 0.5111 MB / 458 MB, free: 12.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.2705, allocations: 0.7402 MB / 458.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2705, allocations: 0 / 458.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003152/0.2737, allocations: 1.295 MB / 460.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2737, allocations: 4 kB / 460.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2737, allocations: 4 kB / 460.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.2749, allocations: 0.5333 MB / 460.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008308/0.2757, allocations: 203.6 kB / 460.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004542/0.2802, allocations: 3.298 MB / 464.1 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2815, allocations: 175.9 kB / 464.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.303e-05/0.2816, allocations: 35.98 kB / 464.3 MB, free: 6.445 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.0004278/0.282, allocations: 233.7 kB / 464.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.2822, allocations: 83.47 kB / 464.6 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002423/0.2824, allocations: 103.2 kB / 464.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.2824, allocations: 15.98 kB / 464.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2824, allocations: 0 / 464.8 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.2824, allocations: 3.984 kB / 464.8 MB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/0.2873, allocations: 2.417 MB / 467.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.2873, allocations: 0 / 467.2 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/0.2881, allocations: 183.9 kB / 467.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.2891, allocations: 0.5059 MB / 467.9 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/0.2892, allocations: 31.97 kB / 467.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004055/0.2933, allocations: 3.088 MB / 471 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.2933, allocations: 4.125 kB / 471 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003932/0.2972, allocations: 1.765 MB / 472.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.2977, allocations: 167.4 kB / 472.9 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.2978, allocations: 35.98 kB / 472.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.2991, allocations: 195.8 kB / 473.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009427/0.3001, allocations: 400.2 kB / 473.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.3002, allocations: 39.97 kB / 473.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003624/0.3005, allocations: 287.1 kB / 473.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3005, allocations: 0 / 473.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008108/0.3013, allocations: 244 kB / 474.1 MB, free: 12.35 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.001449/0.3028, allocations: 420.5 kB / 474.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.3054, allocations: 1.091 MB / 475.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3054, allocations: 0 / 475.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.3069, allocations: 0.6844 MB / 476.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009558/0.3079, allocations: 145 kB / 476.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004355/0.3122, allocations: 2.067 MB / 478.5 MB, free: 8.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006488/0.3129, allocations: 0.9441 MB / 479.4 MB, free: 7.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.3132, allocations: 79.41 kB / 479.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3132, allocations: 4 kB / 479.5 MB, free: 6.957 MB / 382.1 MB Notification: Performance of Templates: time 0.02532/0.3385, allocations: 18.37 MB / 497.9 MB, free: 4.57 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: 8.953129316912964]