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.0008018/0.0008018, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003603/0.003603, allocations: 152.2 kB / 24.69 MB, free: 8.922 MB / 18.57 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 0.849/0.849, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.283e-06/1.283e-06, allocations: 0 / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.725e-05, allocations: 2.281 kB / 325.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.003624/0.003641, allocations: 4.071 MB / 329.8 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.005669, allocations: 1.542 MB / 331.4 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.005937, allocations: 19.88 kB / 331.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.006291, allocations: 134.6 kB / 331.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004685/0.006759, allocations: 297.5 kB / 331.8 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.007423, allocations: 434.3 kB / 332.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000737/0.00816, allocations: 1.209 MB / 333.5 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.008387, allocations: 170.3 kB / 333.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006092/0.008997, allocations: 0.7018 MB / 334.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/0.009627, allocations: 442.9 kB / 334.8 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.831e-05/0.009715, allocations: 96 kB / 334.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.009918, allocations: 159.8 kB / 335 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.01009, allocations: 247.2 kB / 335.2 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.01029, allocations: 335.2 kB / 335.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008485/0.01114, allocations: 1.215 MB / 336.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01115, allocations: 0 / 336.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.01115, allocations: 0 / 336.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.01116, allocations: 0 / 336.8 MB, free: 4.289 MB / 298.7 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.001768/0.01292, allocations: 1.395 MB / 338.2 MB, free: 2.855 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.01296, allocations: 15.92 kB / 338.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.01325, allocations: 120.3 kB / 338.3 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004964/0.01374, allocations: 415.2 kB / 338.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.762e-05/0.01378, allocations: 54.38 kB / 338.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.01387, allocations: 68.38 kB / 338.8 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00098/0.01485, allocations: 0.7964 MB / 339.6 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.01487, allocations: 15.88 kB / 339.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.419e-05/0.01492, allocations: 28 kB / 339.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.01493, allocations: 20 kB / 339.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.01605, allocations: 0.8275 MB / 340.5 MB, free: 484 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.01868, allocations: 1.87 MB / 342.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/0.01956, allocations: 0.6786 MB / 343.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.02007, allocations: 428.2 kB / 343.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.118e-05/0.02012, allocations: 9 kB / 343.5 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006559/0.02077, allocations: 0.5477 MB / 344 MB, free: 12.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 2.174e-06/0.02078, allocations: 0 / 344 MB, free: 12.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=110): time 0.005806/0.02658, allocations: 3.783 MB / 347.8 MB, free: 9.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.02663, allocations: 68.41 kB / 347.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.02692, allocations: 409.8 kB / 348.3 MB, free: 8.559 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.02698, allocations: 61.69 kB / 348.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.0271, allocations: 281.5 kB / 348.6 MB, free: 8.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/0.02755, allocations: 388.8 kB / 349 MB, free: 7.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.02774, allocations: 186.9 kB / 349.2 MB, free: 7.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.02783, allocations: 370.8 kB / 349.6 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005399/0.02837, allocations: 418.4 kB / 350 MB, free: 6.859 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.02896, allocations: 0.5072 MB / 350.5 MB, free: 6.332 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.02987, allocations: 0.7401 MB / 351.2 MB, free: 5.578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02988, allocations: 0 / 351.2 MB, free: 5.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001678/0.03155, allocations: 1.292 MB / 352.5 MB, free: 4.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.03157, allocations: 4 kB / 352.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.03158, allocations: 0 / 352.5 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006703/0.03225, allocations: 0.545 MB / 353.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.03264, allocations: 195.7 kB / 353.2 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002688/0.03532, allocations: 3.261 MB / 356.5 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005125/0.03584, allocations: 179.8 kB / 356.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.03588, allocations: 35.98 kB / 356.7 MB, free: 15.89 MB / 330.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,9), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.03612, allocations: 229.8 kB / 356.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.0362, allocations: 75.53 kB / 357 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.03632, allocations: 107.1 kB / 357.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.03632, allocations: 12 kB / 357.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.03633, allocations: 0 / 357.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.03633, allocations: 15.86 kB / 357.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002518/0.03885, allocations: 2.133 MB / 359.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.03885, allocations: 0 / 359.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.03924, allocations: 183.9 kB / 359.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005847/0.03982, allocations: 0.4943 MB / 360 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.03987, allocations: 35.95 kB / 360 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.04192, allocations: 3.041 MB / 363 MB, free: 9.336 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.04192, allocations: 4.031 kB / 363 MB, free: 9.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.04422, allocations: 1.757 MB / 364.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.04445, allocations: 155.4 kB / 364.9 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.553e-05/0.04453, allocations: 28 kB / 365 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005589/0.04509, allocations: 211.7 kB / 365.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005559/0.04564, allocations: 392.2 kB / 365.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.04569, allocations: 47.89 kB / 365.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.04588, allocations: 271.2 kB / 365.9 MB, free: 6.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04588, allocations: 0 / 365.9 MB, free: 6.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004747/0.04635, allocations: 247.9 kB / 366.1 MB, free: 6.203 MB / 330.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 (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.0006392/0.04699, allocations: 436.1 kB / 366.5 MB, free: 5.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.04839, allocations: 1.083 MB / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.0484, allocations: 0 / 367.6 MB, free: 4.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.04918, allocations: 0.6921 MB / 368.3 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.04968, allocations: 149.4 kB / 368.5 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.05191, allocations: 1.843 MB / 370.3 MB, free: 2.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.05237, allocations: 353.5 kB / 370.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.05253, allocations: 80.47 kB / 370.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of SimCode: time 7.01e-07/0.05253, allocations: 0 / 370.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of Templates: time 0.01301/0.06555, allocations: 18.64 MB / 389.4 MB, free: 14.94 MB / 362.7 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.8436752166599035]