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.001753/0.001753, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002179/0.002179, allocations: 202.2 kB / 23.72 MB, free: 4.391 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.002132/0.002132, allocations: 63.89 kB / 378.2 MB, free: 2.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2792, allocations: 53.4 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.006472/0.2857, allocations: 4.061 MB / 435.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.2891, allocations: 1.528 MB / 437.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.2894, allocations: 15.88 kB / 437.2 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.2899, allocations: 134.7 kB / 437.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000726/0.2906, allocations: 281.7 kB / 437.6 MB, free: 496 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.2917, allocations: 438.2 kB / 438.1 MB, free: 60 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.293, allocations: 1.17 MB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003418/0.2934, allocations: 180.8 kB / 439.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007366/0.2941, allocations: 0.4947 MB / 439.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006907/0.2948, allocations: 0.4941 MB / 440.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.2949, allocations: 96 kB / 440.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003484/0.2953, allocations: 164 kB / 440.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002863/0.2956, allocations: 239.2 kB / 440.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004213/0.296, allocations: 394.3 kB / 441.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.2973, allocations: 1.144 MB / 442.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2973, allocations: 0 / 442.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2973, allocations: 0 / 442.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2973, allocations: 0 / 442.4 MB, free: 11.68 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.003515/0.3009, allocations: 1.403 MB / 443.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.3009, allocations: 11.98 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/0.3014, allocations: 124.3 kB / 444 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.3022, allocations: 404 kB / 444.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.3022, allocations: 62.31 kB / 444.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3024, allocations: 76.08 kB / 444.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.3041, allocations: 0.7998 MB / 445.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.3041, allocations: 4 kB / 445.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.3042, allocations: 28 kB / 445.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3042, allocations: 16 kB / 445.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.3063, allocations: 0.8315 MB / 446.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.3107, allocations: 1.881 MB / 448 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.3122, allocations: 0.6821 MB / 448.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.3131, allocations: 424.3 kB / 449.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.695e-05/0.3132, allocations: 9 kB / 449.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.3144, allocations: 0.5399 MB / 449.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.635e-06/0.3144, allocations: 7.938 kB / 449.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01077/0.3251, allocations: 3.798 MB / 453.5 MB, free: 424 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.3252, allocations: 64.41 kB / 453.6 MB, free: 344 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.3257, allocations: 409.8 kB / 454 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.262e-05/0.3258, allocations: 53.7 kB / 454 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.326, allocations: 281.6 kB / 454.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.3263, allocations: 400.7 kB / 454.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003163/0.3266, allocations: 186.9 kB / 454.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3268, allocations: 374.8 kB / 455.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.3278, allocations: 414.4 kB / 455.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.3288, allocations: 0.5033 MB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.3306, allocations: 0.7479 MB / 456.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3306, allocations: 0 / 456.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00304/0.3336, allocations: 1.284 MB / 458.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3336, allocations: 15.92 kB / 458.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3337, allocations: 0 / 458.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3348, allocations: 0.5295 MB / 458.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007717/0.3355, allocations: 195.7 kB / 458.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/0.3402, allocations: 3.265 MB / 462.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.3413, allocations: 171.8 kB / 462.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.3414, allocations: 39.98 kB / 462.4 MB, free: 7.266 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.0003966/0.3418, allocations: 217.7 kB / 462.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001509/0.3419, allocations: 75.53 kB / 462.7 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.3422, allocations: 111.2 kB / 462.8 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.3422, allocations: 15.94 kB / 462.8 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.3422, allocations: 4.047 kB / 462.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/0.3422, allocations: 7.969 kB / 462.8 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004784/0.347, allocations: 2.133 MB / 464.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.347, allocations: 0 / 464.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/0.3478, allocations: 172 kB / 465.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009954/0.3488, allocations: 0.506 MB / 465.6 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.584e-05/0.3489, allocations: 31.97 kB / 465.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004081/0.3529, allocations: 3.049 MB / 468.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.3529, allocations: 7.969 kB / 468.7 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.3569, allocations: 1.761 MB / 470.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.3573, allocations: 167.3 kB / 470.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3575, allocations: 32 kB / 470.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.3588, allocations: 203.7 kB / 470.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008994/0.3597, allocations: 396.2 kB / 471.2 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.466e-05/0.3598, allocations: 39.97 kB / 471.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003346/0.3601, allocations: 275.1 kB / 471.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3601, allocations: 0 / 471.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008144/0.3609, allocations: 243.9 kB / 471.8 MB, free: 13.56 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.001535/0.3625, allocations: 425.7 kB / 472.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.3651, allocations: 1.083 MB / 473.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3651, allocations: 0 / 473.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.3668, allocations: 0.7234 MB / 474 MB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.3676, allocations: 166.6 kB / 474.2 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004212/0.3718, allocations: 2.023 MB / 476.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3722, allocations: 353.5 kB / 476.5 MB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.3726, allocations: 89.59 kB / 476.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.3728, allocations: 67.42 kB / 476.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3728, allocations: 4 kB / 476.7 MB, free: 8.672 MB / 382.1 MB Notification: Performance of Templates: time 0.02927/0.4021, allocations: 16.73 MB / 493.4 MB, free: 8.055 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.379009913653135]