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.001197/0.001197, 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.0009359/0.0009359, allocations: 161 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 0.9993/0.9993, allocations: 177.1 MB / 205 MB, free: 5.633 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 2.024e-06/2.024e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.674e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003825/0.003852, allocations: 3.614 MB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.0056, allocations: 0.9353 MB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.00588, allocations: 15.88 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.006066, allocations: 83.16 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.006398, allocations: 174.4 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004713/0.00687, allocations: 163.6 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.007499, allocations: 0.6498 MB / 278.6 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.007733, allocations: 137.9 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005235/0.008256, allocations: 387.1 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.008536, allocations: 211.4 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.872e-05/0.008594, allocations: 52 kB / 279.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.689e-05/0.008691, allocations: 60 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.008758, allocations: 119.6 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.008902, allocations: 203.5 kB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.009364, allocations: 430.3 kB / 280.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.009371, allocations: 7.984 kB / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.009373, allocations: 0 / 280.2 MB, free: 10.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.009386, allocations: 0 / 280.2 MB, free: 10.32 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.0009874/0.01037, allocations: 0.8698 MB / 281 MB, free: 9.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.01041, allocations: 15.97 kB / 281 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001786/0.01059, allocations: 112.5 kB / 281.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.01094, allocations: 284.3 kB / 281.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.01098, allocations: 41.31 kB / 281.5 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.796e-05/0.01104, allocations: 55.88 kB / 281.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004854/0.01153, allocations: 335.1 kB / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.01155, allocations: 0 / 281.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.01158, allocations: 24 kB / 281.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.01159, allocations: 15.97 kB / 281.9 MB, free: 8.512 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.01194, allocations: 225.8 kB / 282.1 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.01361, allocations: 1.133 MB / 283.2 MB, free: 7.113 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.01412, allocations: 396.2 kB / 283.6 MB, free: 6.715 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.01449, allocations: 257.8 kB / 283.9 MB, free: 6.461 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/0.01453, allocations: 12.66 kB / 283.9 MB, free: 6.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.01456, allocations: 46.03 kB / 283.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=71): time 1.834e-06/0.01456, allocations: 0 / 283.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=107): time 0.003076/0.01764, allocations: 2.246 MB / 286.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.01767, allocations: 60.41 kB / 286.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.01787, allocations: 314.3 kB / 286.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.531e-05/0.01791, allocations: 45.7 kB / 286.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.01803, allocations: 252.3 kB / 286.8 MB, free: 3.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.01823, allocations: 376.7 kB / 287.2 MB, free: 3.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.01838, allocations: 152.3 kB / 287.4 MB, free: 2.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01853, allocations: 0.5352 MB / 287.9 MB, free: 2.324 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.01875, allocations: 137.9 kB / 288 MB, free: 2.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.01901, allocations: 225.9 kB / 288.3 MB, free: 1.957 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004949/0.01951, allocations: 414.9 kB / 288.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01951, allocations: 0 / 288.7 MB, free: 1.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0006836/0.02019, allocations: 0.5831 MB / 289.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.02022, allocations: 15.92 kB / 289.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.02023, allocations: 0 / 289.3 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.02025, allocations: 4 kB / 289.3 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.02067, allocations: 203.8 kB / 289.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.02069, allocations: 7.984 kB / 289.5 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.02082, allocations: 27.98 kB / 289.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.02085, allocations: 31.98 kB / 289.5 MB, free: 0.668 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.0001584/0.02101, allocations: 204.3 kB / 289.7 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.02109, allocations: 91.67 kB / 289.8 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.246e-05/0.02118, allocations: 81.5 kB / 289.9 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.02118, allocations: 12 kB / 289.9 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.02119, allocations: 4 kB / 289.9 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.0212, allocations: 7.969 kB / 289.9 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1227/0.1439, allocations: 1.58 MB / 291.5 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.1439, allocations: 6.453 kB / 291.5 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.1444, allocations: 196.9 kB / 291.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.1444, allocations: 9.031 kB / 291.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.1444, allocations: 33.48 kB / 291.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/0.1444, allocations: 8.75 kB / 291.7 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1445, allocations: 13.52 kB / 291.8 MB, free: 25.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1455, allocations: 1.104 MB / 292.9 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-05/0.1456, allocations: 58.94 kB / 292.9 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.1457, allocations: 23.59 kB / 292.9 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.1459, allocations: 27.08 kB / 293 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.146, allocations: 81.75 kB / 293.1 MB, free: 25.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.146, allocations: 33.91 kB / 293.1 MB, free: 25.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1461, allocations: 217.1 kB / 293.3 MB, free: 25.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1461, allocations: 0 / 293.3 MB, free: 25.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000389/0.1465, allocations: 157.4 kB / 293.4 MB, free: 25.04 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.0001104/0.1466, allocations: 132.3 kB / 293.6 MB, free: 24.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008366/0.1474, allocations: 0.4965 MB / 294.1 MB, free: 24.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.1474, allocations: 1.906 kB / 294.1 MB, free: 24.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.1478, allocations: 314.4 kB / 294.4 MB, free: 24.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.1483, allocations: 140.2 kB / 294.5 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.15, allocations: 1.404 MB / 295.9 MB, free: 24.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.1501, allocations: 145.1 kB / 296.1 MB, free: 24.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1503, allocations: 82.61 kB / 296.1 MB, free: 24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.1505, allocations: 61.7 kB / 296.2 MB, free: 23.99 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1505, allocations: 1.469 kB / 296.2 MB, free: 23.99 MB / 266.7 MB Notification: Performance of Templates: time 0.009769/0.1602, allocations: 7.102 MB / 303.3 MB, free: 21.93 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: 3.084151507820934]