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.001489/0.001489, allocations: 116 kB / 18.45 MB, free: 4.562 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.001683/0.001683, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.669/1.669, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.001521/0.001521, allocations: 59.86 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 53.32 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.2003/0.3029, allocations: 4.488 MB / 432 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003138/0.306, allocations: 1.579 MB / 433.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003893/0.3064, allocations: 17.84 kB / 433.6 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.3068, allocations: 136.9 kB / 433.7 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.3074, allocations: 283.7 kB / 434 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009011/0.3083, allocations: 415.2 kB / 434.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009739/0.3093, allocations: 1.17 MB / 435.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.3096, allocations: 186.4 kB / 435.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007136/0.3103, allocations: 0.5063 MB / 436.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.3109, allocations: 0.5388 MB / 436.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001622/0.3111, allocations: 98.38 kB / 436.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.3114, allocations: 162.5 kB / 437 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.3117, allocations: 234.6 kB / 437.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003879/0.3121, allocations: 470 kB / 437.7 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3134, allocations: 1.133 MB / 438.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3134, allocations: 0 / 438.9 MB, free: 6.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3134, allocations: 5.094 kB / 438.9 MB, free: 6.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.3134, allocations: 0 / 438.9 MB, free: 6.508 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.003415/0.3168, allocations: 1.345 MB / 440.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3169, allocations: 9.906 kB / 440.2 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005392/0.3174, allocations: 126.7 kB / 440.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007075/0.3181, allocations: 471.5 kB / 440.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.3182, allocations: 56.44 kB / 440.9 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.3183, allocations: 75.02 kB / 440.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.32, allocations: 0.7982 MB / 441.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.32, allocations: 9.203 kB / 441.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.3201, allocations: 29.88 kB / 441.8 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.3201, allocations: 20.22 kB / 441.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002101/0.3222, allocations: 0.8434 MB / 442.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.3267, allocations: 2.402 MB / 445 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.3282, allocations: 0.6936 MB / 445.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009033/0.3291, allocations: 415.1 kB / 446.1 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-05/0.3292, allocations: 18.22 kB / 446.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.3303, allocations: 0.5358 MB / 446.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=90): time 2.825e-06/0.3303, allocations: 0 / 446.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=110): time 0.01136/0.3417, allocations: 4.163 MB / 450.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.3417, allocations: 63.5 kB / 450.9 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/0.3422, allocations: 418.6 kB / 451.3 MB, free: 388 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3423, allocations: 56.23 kB / 451.4 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3425, allocations: 289.9 kB / 451.7 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/0.3428, allocations: 391.4 kB / 452 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.3432, allocations: 194.2 kB / 452.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.3434, allocations: 381.1 kB / 452.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009813/0.3444, allocations: 413.4 kB / 453 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.3455, allocations: 0.503 MB / 453.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/0.3473, allocations: 0.7426 MB / 454.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.3473, allocations: 3.188 kB / 454.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003324/0.3506, allocations: 1.288 MB / 455.5 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.3506, allocations: 5.375 kB / 455.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3506, allocations: 5.031 kB / 455.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.3518, allocations: 0.5429 MB / 456.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.3527, allocations: 194.6 kB / 456.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004779/0.3574, allocations: 3.404 MB / 459.7 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3589, allocations: 170.6 kB / 459.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-05/0.359, allocations: 40.2 kB / 459.9 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.0005156/0.3595, allocations: 227.5 kB / 460.1 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.3597, allocations: 81.06 kB / 460.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.36, allocations: 108.8 kB / 460.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.36, allocations: 10.41 kB / 460.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.36, allocations: 3.656 kB / 460.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.36, allocations: 7.969 kB / 460.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005219/0.3652, allocations: 2.465 MB / 462.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3652, allocations: 1.281 kB / 462.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.3661, allocations: 175.7 kB / 463 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.3671, allocations: 0.508 MB / 463.5 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.3672, allocations: 40.58 kB / 463.5 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.3714, allocations: 3.183 MB / 466.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.3714, allocations: 5.344 kB / 466.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/0.3756, allocations: 1.755 MB / 468.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/0.3761, allocations: 248.9 kB / 468.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.3763, allocations: 35.44 kB / 468.7 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.3777, allocations: 198.9 kB / 468.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009419/0.3787, allocations: 379.6 kB / 469.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/0.3787, allocations: 47.33 kB / 469.3 MB, free: 3.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003473/0.3791, allocations: 286.7 kB / 469.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3791, allocations: 2.625 kB / 469.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008457/0.3799, allocations: 241.7 kB / 469.9 MB, free: 3.387 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.001451/0.3814, allocations: 414.2 kB / 470.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.3841, allocations: 1.089 MB / 471.3 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3841, allocations: 5.438 kB / 471.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001575/0.3856, allocations: 0.6772 MB / 472 MB, free: 2.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3866, allocations: 146.5 kB / 472.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.391, allocations: 2.07 MB / 474.2 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.3916, allocations: 0.9402 MB / 475.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.392, allocations: 75.41 kB / 475.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.392, allocations: 0 / 475.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of Templates: time 0.02493/0.4169, allocations: 18.38 MB / 493.6 MB, free: 13.05 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/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: 9.705414119001944]