Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001759/0.001759, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.3 MB / 258 MB, free: 8.242 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2363, allocations: 53.36 MB / 432.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006917/0.2432, allocations: 4.513 MB / 436.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003209/0.2464, allocations: 1.594 MB / 438.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003626/0.2468, allocations: 19.88 kB / 438.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000433/0.2472, allocations: 134.7 kB / 438.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005984/0.2478, allocations: 277.7 kB / 438.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009286/0.2487, allocations: 431.2 kB / 439.1 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.25, allocations: 1.17 MB / 440.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.2503, allocations: 182.3 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007258/0.251, allocations: 0.5141 MB / 440.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006767/0.2517, allocations: 0.541 MB / 441.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.2519, allocations: 92 kB / 441.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.2522, allocations: 172 kB / 441.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002798/0.2525, allocations: 243.3 kB / 442 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.2529, allocations: 465.8 kB / 442.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.2542, allocations: 1.13 MB / 443.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2543, allocations: 3.984 kB / 443.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2543, allocations: 0 / 443.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2543, allocations: 0 / 443.6 MB, free: 11.58 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.003684/0.2579, allocations: 1.403 MB / 445 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.258, allocations: 8.031 kB / 445 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.2585, allocations: 124.3 kB / 445.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.2593, allocations: 404 kB / 445.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.2594, allocations: 58.38 kB / 445.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2595, allocations: 72.12 kB / 445.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.2614, allocations: 0.7998 MB / 446.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.2614, allocations: 11.89 kB / 446.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/0.2615, allocations: 32 kB / 446.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.2615, allocations: 20 kB / 446.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.2637, allocations: 0.8354 MB / 447.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004884/0.2686, allocations: 2.354 MB / 449.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2702, allocations: 0.6889 MB / 450.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.2713, allocations: 423.8 kB / 450.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.2714, allocations: 16.98 kB / 450.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001267/0.2726, allocations: 0.5399 MB / 451.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 3.597e-06/0.2726, allocations: 0 / 451.3 MB, free: 3.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.012/0.2846, allocations: 3.791 MB / 455.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.2847, allocations: 64.41 kB / 455.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/0.2853, allocations: 421.8 kB / 455.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.2854, allocations: 61.62 kB / 455.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.2856, allocations: 289.5 kB / 455.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/0.286, allocations: 388.7 kB / 456.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.2863, allocations: 190.8 kB / 456.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2865, allocations: 374.8 kB / 456.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.2875, allocations: 418.4 kB / 457.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.2886, allocations: 0.5111 MB / 457.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.2904, allocations: 0.7402 MB / 458.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2904, allocations: 3.938 kB / 458.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003291/0.2937, allocations: 1.284 MB / 459.8 MB, free: 10.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.2937, allocations: 4 kB / 459.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2937, allocations: 4 kB / 459.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.2949, allocations: 0.541 MB / 460.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/0.2957, allocations: 203.7 kB / 460.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/0.3002, allocations: 3.298 MB / 463.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.3016, allocations: 171.9 kB / 464 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.3017, allocations: 39.98 kB / 464.1 MB, free: 6.539 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.0004803/0.3021, allocations: 225.6 kB / 464.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.3023, allocations: 83.47 kB / 464.4 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.3026, allocations: 107.2 kB / 464.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3026, allocations: 12 kB / 464.5 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3026, allocations: 0 / 464.5 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.3026, allocations: 3.984 kB / 464.5 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.3076, allocations: 2.425 MB / 466.9 MB, free: 3.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.3076, allocations: 7.938 kB / 466.9 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/0.3085, allocations: 175.8 kB / 467.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.3096, allocations: 0.5021 MB / 467.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.433e-05/0.3097, allocations: 31.97 kB / 467.6 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/0.3142, allocations: 3.096 MB / 470.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3142, allocations: 0 / 470.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/0.3184, allocations: 1.765 MB / 472.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.319, allocations: 167.3 kB / 472.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.3191, allocations: 32 kB / 472.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/0.3206, allocations: 199.7 kB / 472.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000952/0.3215, allocations: 396.2 kB / 473.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.78e-05/0.3216, allocations: 39.97 kB / 473.3 MB, free: 12.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003677/0.322, allocations: 287.1 kB / 473.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.322, allocations: 0 / 473.6 MB, free: 12.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008183/0.3228, allocations: 244 kB / 473.8 MB, free: 12.45 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.001419/0.3242, allocations: 410.1 kB / 474.2 MB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002783/0.327, allocations: 1.091 MB / 475.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.327, allocations: 0 / 475.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.3289, allocations: 0.7273 MB / 476 MB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.3303, allocations: 148.1 kB / 476.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006405/0.3367, allocations: 2.03 MB / 478.2 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/0.3376, allocations: 0.948 MB / 479.2 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000654/0.3382, allocations: 85.69 kB / 479.2 MB, free: 7.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.3385, allocations: 67.42 kB / 479.3 MB, free: 6.965 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3385, allocations: 0 / 479.3 MB, free: 6.965 MB / 382.1 MB Notification: Performance of Templates: time 0.04803/0.3866, allocations: 18.63 MB / 497.9 MB, free: 4.395 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.HeatLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.286229223944247]