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.00129/0.00129, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001458/0.001458, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.00153/0.00153, allocations: 52.02 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2087, allocations: 53.36 MB / 432.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005767/0.2144, allocations: 4.075 MB / 436.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002887/0.2173, allocations: 1.516 MB / 437.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.2176, allocations: 19.88 kB / 437.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.218, allocations: 130.7 kB / 438.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.2186, allocations: 281.7 kB / 438.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009326/0.2195, allocations: 435.2 kB / 438.8 MB, free: 444 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.2207, allocations: 1.174 MB / 439.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.2211, allocations: 189.2 kB / 440.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.2218, allocations: 0.5141 MB / 440.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006523/0.2224, allocations: 0.541 MB / 441.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.2226, allocations: 92 kB / 441.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.2229, allocations: 167.9 kB / 441.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.2232, allocations: 247.2 kB / 441.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004152/0.2236, allocations: 402.3 kB / 442.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001253/0.2249, allocations: 1.136 MB / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2249, allocations: 0 / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2249, allocations: 0 / 443.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.2249, allocations: 0 / 443.2 MB, free: 11.97 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.003473/0.2283, allocations: 1.395 MB / 444.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2284, allocations: 16.03 kB / 444.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005431/0.2289, allocations: 116.3 kB / 444.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.2297, allocations: 408 kB / 445.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/0.2297, allocations: 50.38 kB / 445.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.2299, allocations: 84.06 kB / 445.2 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.2317, allocations: 0.7997 MB / 446 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.2317, allocations: 0 / 446 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/0.2318, allocations: 35.98 kB / 446.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.2318, allocations: 16 kB / 446.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.2339, allocations: 0.8354 MB / 446.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004402/0.2383, allocations: 1.865 MB / 448.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.2399, allocations: 0.6898 MB / 449.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009797/0.2409, allocations: 416.3 kB / 449.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.161e-05/0.241, allocations: 13 kB / 449.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001235/0.2422, allocations: 0.5361 MB / 450.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 3.707e-06/0.2422, allocations: 0 / 450.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.0119/0.2541, allocations: 3.805 MB / 454.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.2542, allocations: 64.41 kB / 454.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.2547, allocations: 405.9 kB / 454.7 MB, free: 248 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.2548, allocations: 57.69 kB / 454.8 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.255, allocations: 281.8 kB / 455 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003605/0.2554, allocations: 396.7 kB / 455.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003486/0.2557, allocations: 190.9 kB / 455.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.2559, allocations: 374.8 kB / 456 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.257, allocations: 414.4 kB / 456.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.2581, allocations: 0.5111 MB / 456.9 MB, free: 14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001882/0.26, allocations: 0.7402 MB / 457.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.26, allocations: 0 / 457.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003292/0.2633, allocations: 1.299 MB / 458.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.2633, allocations: 8 kB / 458.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2633, allocations: 3.938 kB / 458.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.2645, allocations: 0.5333 MB / 459.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.2653, allocations: 203.7 kB / 459.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004579/0.2699, allocations: 3.252 MB / 462.9 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.2712, allocations: 175.9 kB / 463.1 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.2712, allocations: 35.98 kB / 463.1 MB, free: 7.562 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.0004226/0.2717, allocations: 237.6 kB / 463.4 MB, free: 7.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.2718, allocations: 75.53 kB / 463.4 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.2721, allocations: 111 kB / 463.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.2721, allocations: 8 kB / 463.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2721, allocations: 0 / 463.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.2721, allocations: 12.02 kB / 463.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.2769, allocations: 2.126 MB / 465.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.2769, allocations: 4 kB / 465.7 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008443/0.2777, allocations: 183.6 kB / 465.9 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.2788, allocations: 0.4907 MB / 466.4 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.339e-05/0.2789, allocations: 39.89 kB / 466.4 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00414/0.283, allocations: 3.053 MB / 469.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.283, allocations: 0 / 469.5 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.2871, allocations: 1.769 MB / 471.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.2875, allocations: 167.3 kB / 471.4 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/0.2877, allocations: 32 kB / 471.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.289, allocations: 195.7 kB / 471.6 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009223/0.29, allocations: 392.3 kB / 472 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-05/0.2901, allocations: 43.95 kB / 472 MB, free: 14.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003296/0.2904, allocations: 279.1 kB / 472.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2904, allocations: 0 / 472.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007987/0.2912, allocations: 247.9 kB / 472.6 MB, free: 13.84 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.001523/0.2927, allocations: 429.7 kB / 473 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002568/0.2953, allocations: 1.087 MB / 474.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2953, allocations: 320 / 474.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.297, allocations: 0.7266 MB / 474.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009017/0.2979, allocations: 148.3 kB / 474.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.3021, allocations: 2.034 MB / 477 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.3025, allocations: 349.5 kB / 477.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003444/0.3028, allocations: 77.67 kB / 477.4 MB, free: 9.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.303, allocations: 71.41 kB / 477.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.303, allocations: 0 / 477.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of Templates: time 0.02798/0.331, allocations: 16.96 MB / 494.4 MB, free: 8.16 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 -s gbode -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: 5.135657571998308]