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.001907/0.001907, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002371/0.002371, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.481/1.481, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.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 0.001647/0.001647, allocations: 51.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2488, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004909/0.2537, allocations: 3.322 MB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2556, allocations: 0.9198 MB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.2558, allocations: 11.94 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.256, allocations: 87.09 kB / 436.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003175/0.2563, allocations: 162.5 kB / 436.8 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.2567, allocations: 163.7 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.2574, allocations: 0.6228 MB / 437.6 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002556/0.2577, allocations: 137.7 kB / 437.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.2581, allocations: 267.1 kB / 438 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003479/0.2584, allocations: 250.8 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.8e-05/0.2585, allocations: 52 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.2586, allocations: 56 kB / 438.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2587, allocations: 119.6 kB / 438.5 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.259, allocations: 242.9 kB / 438.7 MB, free: 316 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.2597, allocations: 0.6255 MB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2597, allocations: 0 / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2597, allocations: 4 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.2597, allocations: 0 / 439.3 MB, free: 15.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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001526/0.2612, allocations: 0.7837 MB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.2613, allocations: 8.031 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.2615, allocations: 76.48 kB / 440.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.262, allocations: 289.7 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.645e-05/0.2621, allocations: 37 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.373e-05/0.2622, allocations: 51.95 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/0.263, allocations: 422.3 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.263, allocations: 0 / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.263, allocations: 20 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.263, allocations: 12 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007288/0.2638, allocations: 383.8 kB / 441.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.2661, allocations: 1.165 MB / 442.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/0.2669, allocations: 479.9 kB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006626/0.2676, allocations: 304.1 kB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.753e-05/0.2677, allocations: 16.66 kB / 443.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.2677, allocations: 43.16 kB / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=71): time 2.575e-06/0.2677, allocations: 0 / 443.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=107): time 0.006761/0.2745, allocations: 2.869 MB / 446.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.2745, allocations: 68.41 kB / 446.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.2748, allocations: 264.2 kB / 446.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.468e-05/0.2749, allocations: 45.7 kB / 446.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.2751, allocations: 209.5 kB / 446.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/0.2754, allocations: 380.7 kB / 447.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.2756, allocations: 146.7 kB / 447.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.2758, allocations: 362.8 kB / 447.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000461/0.2763, allocations: 241.9 kB / 447.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/0.2768, allocations: 317.4 kB / 448.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.2778, allocations: 0.5767 MB / 448.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2778, allocations: 0 / 448.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001317/0.2791, allocations: 0.7354 MB / 449.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2792, allocations: 4 kB / 449.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2792, allocations: 0 / 449.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.2792, allocations: 4 kB / 449.6 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.28, allocations: 203.7 kB / 449.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.28, allocations: 4 kB / 449.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.2803, allocations: 36.05 kB / 449.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.2804, allocations: 28 kB / 449.8 MB, free: 4.949 MB / 350.1 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.00028/0.2807, allocations: 197.6 kB / 450 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.2808, allocations: 59.61 kB / 450.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.281, allocations: 77.56 kB / 450.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.281, allocations: 8 kB / 450.2 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.281, allocations: 4 kB / 450.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.281, allocations: 11.97 kB / 450.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.2839, allocations: 1.716 MB / 451.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.284, allocations: 8.094 kB / 451.9 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.2847, allocations: 199.6 kB / 452.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/0.2848, allocations: 11.94 kB / 452.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.146e-05/0.2848, allocations: 28 kB / 452.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.2848, allocations: 11.94 kB / 452.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.455e-05/0.2849, allocations: 15.97 kB / 452.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.2869, allocations: 1.291 MB / 453.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.2871, allocations: 63.61 kB / 453.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.2871, allocations: 20 kB / 453.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.2875, allocations: 35.98 kB / 453.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/0.2876, allocations: 76.75 kB / 453.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.2877, allocations: 35.98 kB / 453.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.2879, allocations: 187.1 kB / 453.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2879, allocations: 0 / 453.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005445/0.2884, allocations: 156 kB / 454 MB, free: 0.5781 MB / 350.1 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.0001848/0.2886, allocations: 142.9 kB / 454.2 MB, free: 440 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.2898, allocations: 0.6333 MB / 454.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.2898, allocations: 0 / 454.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.2904, allocations: 386.6 kB / 455.2 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.2912, allocations: 135 kB / 455.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2938, allocations: 1.593 MB / 456.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.2941, allocations: 276.9 kB / 457.2 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.2943, allocations: 67.41 kB / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.2943, allocations: 0 / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of Templates: time 0.01765/0.312, allocations: 7.924 MB / 465.2 MB, free: 5.336 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.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: 7.853545452002436]