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.001403/0.001403, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001537/0.001537, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.539/1.539, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001585/0.001585, allocations: 55.91 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1117, allocations: 53.33 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.2193/0.331, allocations: 4.481 MB / 431.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.334, allocations: 1.576 MB / 432.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.3343, allocations: 16.91 kB / 432.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.3347, allocations: 131.2 kB / 433 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005525/0.3353, allocations: 287.3 kB / 433.3 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.3361, allocations: 420.6 kB / 433.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009001/0.337, allocations: 1.173 MB / 434.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.3373, allocations: 184.3 kB / 435 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006652/0.338, allocations: 0.5062 MB / 435.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006245/0.3386, allocations: 0.5411 MB / 436.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.3387, allocations: 95.03 kB / 436.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.3391, allocations: 162 kB / 436.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.3393, allocations: 240.9 kB / 436.6 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003857/0.3397, allocations: 466.8 kB / 437 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3409, allocations: 1.135 MB / 438.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3409, allocations: 0 / 438.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3409, allocations: 1.188 kB / 438.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3409, allocations: 0 / 438.2 MB, free: 6.5 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.00329/0.3442, allocations: 1.347 MB / 439.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3443, allocations: 10.03 kB / 439.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005228/0.3448, allocations: 117.5 kB / 439.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.3454, allocations: 477.2 kB / 440.1 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/0.3455, allocations: 55.75 kB / 440.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.3456, allocations: 74.38 kB / 440.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.3474, allocations: 0.7946 MB / 441 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/0.3474, allocations: 14.62 kB / 441 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.3475, allocations: 31.52 kB / 441.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.3475, allocations: 16.28 kB / 441.1 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/0.3496, allocations: 0.8389 MB / 441.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.3539, allocations: 2.408 MB / 444.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3554, allocations: 0.6915 MB / 445 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009649/0.3563, allocations: 419.1 kB / 445.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.945e-05/0.3564, allocations: 13.44 kB / 445.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.3576, allocations: 0.5361 MB / 446 MB, free: 2.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.695e-06/0.3576, allocations: 3.938 kB / 446 MB, free: 2.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01158/0.3692, allocations: 4.159 MB / 450.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3692, allocations: 66.91 kB / 450.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/0.3698, allocations: 418.8 kB / 450.6 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.3699, allocations: 61.94 kB / 450.7 MB, free: 328 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3701, allocations: 288.9 kB / 451 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003879/0.3705, allocations: 391.7 kB / 451.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003925/0.3709, allocations: 189.2 kB / 451.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.3712, allocations: 375.4 kB / 451.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.3722, allocations: 416.6 kB / 452.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.3732, allocations: 0.5058 MB / 452.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.3751, allocations: 0.7432 MB / 453.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3751, allocations: 0.6562 kB / 453.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00335/0.3784, allocations: 1.296 MB / 454.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3785, allocations: 5.156 kB / 454.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3785, allocations: 1.438 kB / 454.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3796, allocations: 0.5425 MB / 455.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008021/0.3804, allocations: 199.9 kB / 455.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/0.3851, allocations: 3.402 MB / 459 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.3865, allocations: 170.9 kB / 459.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.3866, allocations: 40.42 kB / 459.2 MB, free: 10.48 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.0005319/0.3871, allocations: 222.2 kB / 459.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.3873, allocations: 84.36 kB / 459.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.3876, allocations: 104.4 kB / 459.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.3876, allocations: 10.91 kB / 459.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3876, allocations: 1.062 kB / 459.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.3876, allocations: 7.969 kB / 459.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005021/0.3926, allocations: 2.466 MB / 462.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.3926, allocations: 2.219 kB / 462.1 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.3934, allocations: 179 kB / 462.3 MB, free: 8.418 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.3945, allocations: 0.509 MB / 462.8 MB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.243e-05/0.3946, allocations: 37.64 kB / 462.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.3988, allocations: 3.179 MB / 466 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3988, allocations: 2.469 kB / 466 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/0.4029, allocations: 1.761 MB / 467.8 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.4035, allocations: 236.1 kB / 468 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/0.4037, allocations: 37.7 kB / 468 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/0.4052, allocations: 202.2 kB / 468.2 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009797/0.4062, allocations: 382.2 kB / 468.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-05/0.4062, allocations: 46.39 kB / 468.6 MB, free: 3.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003542/0.4066, allocations: 286.2 kB / 468.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4066, allocations: 192 / 468.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008338/0.4074, allocations: 242.8 kB / 469.2 MB, free: 3.395 MB / 366.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.001389/0.4088, allocations: 424.1 kB / 469.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.4114, allocations: 1.091 MB / 470.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4114, allocations: 1.375 kB / 470.7 MB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.4134, allocations: 0.7232 MB / 471.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.4148, allocations: 153.6 kB / 471.5 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006708/0.4215, allocations: 2.023 MB / 473.6 MB, free: 500 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009192/0.4224, allocations: 0.9519 MB / 474.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006886/0.4231, allocations: 85.69 kB / 474.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/0.4235, allocations: 67.41 kB / 474.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4235, allocations: 0 / 474.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.05589/0.4794, allocations: 17.84 MB / 492.5 MB, free: 13.62 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/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_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.515457879751921]