Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 180.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 91.33 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002869, allocations: 7.938 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2631, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09306/0.3562, allocations: 78.77 MB / 480.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3565, allocations: 67.97 kB / 480.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01216/0.3686, allocations: 4.444 MB / 484.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3687, allocations: 0 / 484.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.3687, allocations: 15.92 kB / 484.8 MB, free: 13.21 MB / 362.7 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.0007417/0.3695, allocations: 0.503 MB / 485.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3695, allocations: 12.03 kB / 485.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.048e-05/0.3696, allocations: 27.66 kB / 485.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3698, allocations: 227.4 kB / 485.5 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.3699, allocations: 16.56 kB / 485.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.3699, allocations: 31.91 kB / 485.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.3704, allocations: 228.9 kB / 485.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.3705, allocations: 7.953 kB / 485.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.3705, allocations: 8 kB / 485.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.3705, allocations: 8 kB / 485.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003969/0.3709, allocations: 190.1 kB / 486 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3721, allocations: 0.754 MB / 486.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/0.3726, allocations: 229.3 kB / 487 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.3726, allocations: 0 / 487 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3726, allocations: 38.56 kB / 487 MB, free: 10.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 4.298e-06/0.3726, allocations: 3.984 kB / 487 MB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001759/0.3744, allocations: 0.9932 MB / 488 MB, free: 9.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3745, allocations: 59.36 kB / 488.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.3746, allocations: 137.8 kB / 488.2 MB, free: 9.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.3746, allocations: 29.7 kB / 488.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.3747, allocations: 144.5 kB / 488.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.3748, allocations: 102.5 kB / 488.5 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.3748, allocations: 8 kB / 488.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.3749, allocations: 326.8 kB / 488.8 MB, free: 8.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.3751, allocations: 83.95 kB / 488.9 MB, free: 8.785 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3753, allocations: 115.4 kB / 489 MB, free: 8.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.3755, allocations: 91.98 kB / 489.1 MB, free: 8.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.3755, allocations: 3.938 kB / 489.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004728/0.376, allocations: 266.4 kB / 489.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3761, allocations: 8 kB / 489.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3761, allocations: 0 / 489.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3761, allocations: 4 kB / 489.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.3764, allocations: 79.89 kB / 489.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3764, allocations: 0 / 489.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.3765, allocations: 20.12 kB / 489.5 MB, free: 8.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3766, allocations: 16 kB / 489.5 MB, free: 8.176 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.3767, allocations: 141.8 kB / 489.6 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3767, allocations: 19.72 kB / 489.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.646e-05/0.3768, allocations: 30.55 kB / 489.7 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3768, allocations: 7.938 kB / 489.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.3768, allocations: 0 / 489.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3768, allocations: 0 / 489.7 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.3778, allocations: 0.6685 MB / 490.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3778, allocations: 4 kB / 490.4 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.3781, allocations: 71.97 kB / 490.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3782, allocations: 4 kB / 490.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.3782, allocations: 15.94 kB / 490.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.3782, allocations: 4 kB / 490.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3782, allocations: 0 / 490.5 MB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/0.3789, allocations: 482.1 kB / 490.9 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.379, allocations: 96.83 kB / 491 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.379, allocations: 12.05 kB / 491 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3792, allocations: 12 kB / 491.1 MB, free: 6.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3793, allocations: 23.91 kB / 491.1 MB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3793, allocations: 4 kB / 491.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.863e-05/0.3794, allocations: 123.5 kB / 491.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3794, allocations: 0 / 491.2 MB, free: 6.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.3797, allocations: 56 kB / 491.3 MB, free: 6.297 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.3798, allocations: 111.2 kB / 491.4 MB, free: 6.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004465/0.3803, allocations: 208.1 kB / 491.6 MB, free: 5.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3803, allocations: 4.188 kB / 491.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002/0.3805, allocations: 115.8 kB / 491.7 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.3808, allocations: 35.86 kB / 491.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.3824, allocations: 0.9888 MB / 492.7 MB, free: 4.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3828, allocations: 0.7641 MB / 493.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.131e-05/0.3829, allocations: 17.95 kB / 493.5 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.3829, allocations: 19.44 kB / 493.5 MB, free: 3.973 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.3829, allocations: 0 / 493.5 MB, free: 3.973 MB / 362.7 MB Notification: Performance of Templates: time 0.004692/0.3876, allocations: 1.915 MB / 495.4 MB, free: 2.078 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches