Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.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.0008255/0.0008255, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.0009888/0.0009888, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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.05/1.05, allocations: 177.1 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.345e-05, allocations: 5.125 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004033/0.004056, allocations: 3.606 MB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.005608, allocations: 0.9431 MB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.005837, allocations: 15.88 kB / 277.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.006017, allocations: 87.09 kB / 277.6 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.006299, allocations: 166.5 kB / 277.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.006757, allocations: 171.6 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009472/0.007704, allocations: 0.6537 MB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.007941, allocations: 133.9 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.008406, allocations: 375.2 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.008686, allocations: 215.4 kB / 279.3 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.008755, allocations: 51.94 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.657e-05/0.008852, allocations: 60 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.44e-05/0.008916, allocations: 123.5 kB / 279.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.009052, allocations: 203.5 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.009472, allocations: 434.3 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.009475, allocations: 4 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.009477, allocations: 0 / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.009484, allocations: 0 / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001032/0.01052, allocations: 0.8736 MB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.01056, allocations: 8.031 kB / 281.1 MB, free: 9.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.01078, allocations: 108.5 kB / 281.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.01115, allocations: 296.2 kB / 281.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.0112, allocations: 37.38 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.227e-05/0.01126, allocations: 59.88 kB / 281.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.01171, allocations: 327.1 kB / 281.9 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.01173, allocations: 4 kB / 281.9 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.01176, allocations: 20 kB / 281.9 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.01177, allocations: 12 kB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.0121, allocations: 225.8 kB / 282.1 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.01362, allocations: 1.145 MB / 283.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.0141, allocations: 388.5 kB / 283.6 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.01446, allocations: 250.8 kB / 283.9 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.01449, allocations: 16.66 kB / 283.9 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.01452, allocations: 49.97 kB / 284 MB, free: 6.227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 2.324e-06/0.01452, allocations: 0 / 284 MB, free: 6.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.003302/0.01783, allocations: 2.238 MB / 286.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.01786, allocations: 64.41 kB / 286.3 MB, free: 3.863 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.01805, allocations: 314.3 kB / 286.6 MB, free: 3.539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.01809, allocations: 45.7 kB / 286.6 MB, free: 3.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.0182, allocations: 256.3 kB / 286.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.01839, allocations: 376.7 kB / 287.2 MB, free: 2.859 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.01853, allocations: 152.3 kB / 287.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.01867, allocations: 0.5352 MB / 287.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.01887, allocations: 137.9 kB / 288 MB, free: 2.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.01911, allocations: 225.9 kB / 288.3 MB, free: 1.789 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.01959, allocations: 410.9 kB / 288.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0196, allocations: 3.938 kB / 288.7 MB, free: 1.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0006552/0.02025, allocations: 0.5909 MB / 289.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.02027, allocations: 7.938 kB / 289.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.02028, allocations: 3.984 kB / 289.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.0203, allocations: 4 kB / 289.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.02072, allocations: 199.7 kB / 289.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.02072, allocations: 4 kB / 289.5 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.02084, allocations: 20 kB / 289.5 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.02088, allocations: 31.98 kB / 289.5 MB, free: 0.5117 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.02102, allocations: 208.3 kB / 289.7 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.0211, allocations: 99.73 kB / 289.8 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.563e-05/0.02119, allocations: 81.5 kB / 289.9 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.02119, allocations: 8 kB / 289.9 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.0212, allocations: 0 / 289.9 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.02121, allocations: 7.969 kB / 289.9 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1247/0.1459, allocations: 1.584 MB / 291.5 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1459, allocations: 3.969 kB / 291.5 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.1463, allocations: 193.3 kB / 291.7 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/0.1464, allocations: 10.81 kB / 291.7 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.667e-05/0.1464, allocations: 27.83 kB / 291.7 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.004e-05/0.1464, allocations: 12.53 kB / 291.8 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.1464, allocations: 12.53 kB / 291.8 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.1474, allocations: 1.105 MB / 292.9 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.1475, allocations: 54.22 kB / 292.9 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.1475, allocations: 25.56 kB / 292.9 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.1477, allocations: 31.28 kB / 293 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.1478, allocations: 85.92 kB / 293.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.1478, allocations: 34.42 kB / 293.1 MB, free: 25.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.1479, allocations: 213.1 kB / 293.3 MB, free: 25 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1479, allocations: 0 / 293.3 MB, free: 25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003701/0.1483, allocations: 159 kB / 293.5 MB, free: 25 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.1484, allocations: 130.2 kB / 293.6 MB, free: 24.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006167/0.149, allocations: 0.4941 MB / 294.1 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.149, allocations: 1.906 kB / 294.1 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.1494, allocations: 318.4 kB / 294.4 MB, free: 24.83 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.1499, allocations: 149.9 kB / 294.5 MB, free: 24.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1514, allocations: 1.395 MB / 295.9 MB, free: 24.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.954e-05/0.1515, allocations: 146.3 kB / 296.1 MB, free: 23.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002135/0.1517, allocations: 80.98 kB / 296.2 MB, free: 23.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.1519, allocations: 62.59 kB / 296.2 MB, free: 23.94 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1519, allocations: 0 / 296.2 MB, free: 23.94 MB / 266.7 MB Notification: Performance of Templates: time 0.009354/0.1612, allocations: 7.491 MB / 303.7 MB, free: 21.67 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9554113154299557]