Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001573/0.001573, allocations: 107.6 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.001719/0.001719, allocations: 207.5 kB / 24.48 MB, free: 3.695 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2647, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003783/0.2685, allocations: 2.314 MB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2696, allocations: 0.5921 MB / 435.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.2697, allocations: 7.938 kB / 435.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2699, allocations: 39.58 kB / 435.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.27, allocations: 79.27 kB / 435.3 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.2702, allocations: 55.94 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003461/0.2705, allocations: 302.7 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2707, allocations: 83.02 kB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.2709, allocations: 115.6 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.2711, allocations: 123.5 kB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.2711, allocations: 24 kB / 436 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.9e-05/0.2711, allocations: 20 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.2712, allocations: 59.77 kB / 436.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.2713, allocations: 107.5 kB / 436.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.2717, allocations: 301.7 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2717, allocations: 0 / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.2717, allocations: 4 kB / 436.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2717, allocations: 4 kB / 436.5 MB, free: 2.516 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008147/0.2725, allocations: 484.6 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2725, allocations: 8.031 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.2726, allocations: 28.75 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.2729, allocations: 185.8 kB / 437.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.2729, allocations: 17.03 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.273, allocations: 32.12 kB / 437.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004741/0.2735, allocations: 226.1 kB / 437.5 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.2735, allocations: 7.953 kB / 437.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2735, allocations: 8 kB / 437.5 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.2735, allocations: 8 kB / 437.5 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004089/0.2739, allocations: 174.5 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.2751, allocations: 0.5978 MB / 438.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004895/0.2756, allocations: 202.5 kB / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.2758, allocations: 107.3 kB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2758, allocations: 7.938 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.2758, allocations: 34.56 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.2758, allocations: 0 / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001753/0.2776, allocations: 0.8131 MB / 439.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.2776, allocations: 59.34 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2778, allocations: 143.9 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.2778, allocations: 33.7 kB / 439.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.2779, allocations: 140.7 kB / 439.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.278, allocations: 115 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.4e-05/0.2781, allocations: 57.7 kB / 440 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.2782, allocations: 326.8 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2784, allocations: 75.95 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.2786, allocations: 111.4 kB / 440.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004355/0.2791, allocations: 207.3 kB / 440.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2791, allocations: 4 kB / 440.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004996/0.2796, allocations: 257.5 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2796, allocations: 4 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2796, allocations: 4 kB / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2796, allocations: 0 / 440.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.2799, allocations: 75.84 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2799, allocations: 7.922 kB / 441 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.2801, allocations: 20.09 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2801, allocations: 8 kB / 441 MB, free: 13.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001288/0.2802, allocations: 138.6 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.557e-05/0.2803, allocations: 19.86 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.822e-05/0.2803, allocations: 33.95 kB / 441.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2803, allocations: 4 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2803, allocations: 0 / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2803, allocations: 0 / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009272/0.2813, allocations: 0.5507 MB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.2813, allocations: 4 kB / 441.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.2816, allocations: 75.89 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.2816, allocations: 0 / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.2817, allocations: 8 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2817, allocations: 0 / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2817, allocations: 0 / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007255/0.2824, allocations: 451.2 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.078e-05/0.2824, allocations: 19.86 kB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.2824, allocations: 4.062 kB / 442.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.2826, allocations: 15.98 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.2827, allocations: 19.91 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.2827, allocations: 8 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.901e-05/0.2828, allocations: 110.9 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2828, allocations: 0 / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003201/0.2831, allocations: 64 kB / 442.5 MB, free: 12.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0001213/0.2832, allocations: 107.1 kB / 442.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.2836, allocations: 188 kB / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2836, allocations: 0 / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.2839, allocations: 99.89 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.2843, allocations: 55.19 kB / 443 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.2857, allocations: 0.8372 MB / 443.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.2858, allocations: 138.5 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.2859, allocations: 23.44 kB / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2859, allocations: 7.938 kB / 444 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Templates: time 0.005013/0.2909, allocations: 2.887 MB / 446.9 MB, free: 7.777 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.235300028027268]