Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 181 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009001/0.0009, allocations: 89.05 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2541, allocations: 47.58 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09552/0.3497, allocations: 77.94 MB / 453.7 MB, free: 2.727 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001957/0.3499, allocations: 71.97 kB / 453.8 MB, free: 2.656 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.3611, allocations: 4.343 MB / 458.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3611, allocations: 0 / 458.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3611, allocations: 4 kB / 458.2 MB, free: 14.29 MB / 346.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.0006642/0.3618, allocations: 0.4951 MB / 458.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.3619, allocations: 12.03 kB / 458.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.3619, allocations: 23.72 kB / 458.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.3622, allocations: 239.7 kB / 458.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3622, allocations: 20.56 kB / 458.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.707e-05/0.3623, allocations: 27.91 kB / 459 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.3627, allocations: 224.9 kB / 459.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.3627, allocations: 0 / 459.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.3628, allocations: 16 kB / 459.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.3628, allocations: 4 kB / 459.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/0.3632, allocations: 186.1 kB / 459.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3642, allocations: 0.7532 MB / 460.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.3647, allocations: 222.7 kB / 460.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3647, allocations: 8.375 kB / 460.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.3648, allocations: 38.5 kB / 460.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.213e-06/0.3648, allocations: 0 / 460.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001633/0.3664, allocations: 0.9925 MB / 461.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.3665, allocations: 51.41 kB / 461.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.3666, allocations: 153.7 kB / 461.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3666, allocations: 33.64 kB / 461.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.3667, allocations: 144.5 kB / 461.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.803e-05/0.3668, allocations: 98.55 kB / 461.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.3668, allocations: 8 kB / 461.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.3669, allocations: 332.3 kB / 462.2 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3671, allocations: 75.95 kB / 462.3 MB, free: 9.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.3673, allocations: 123.2 kB / 462.4 MB, free: 9.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.3675, allocations: 95.97 kB / 462.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3675, allocations: 0 / 462.5 MB, free: 9.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004438/0.3679, allocations: 269.8 kB / 462.8 MB, free: 9.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.368, allocations: 11.89 kB / 462.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.368, allocations: 4.094 kB / 462.8 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.368, allocations: 4 kB / 462.8 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.3683, allocations: 83.88 kB / 462.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.3683, allocations: 4 kB / 462.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3685, allocations: 15.98 kB / 462.9 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3685, allocations: 12 kB / 462.9 MB, free: 9.246 MB / 346.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.0001205/0.3686, allocations: 141.7 kB / 463 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.3687, allocations: 15.81 kB / 463 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.737e-05/0.3687, allocations: 30.52 kB / 463.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3687, allocations: 4 kB / 463.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3688, allocations: 3.984 kB / 463.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3688, allocations: 0 / 463.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008739/0.3696, allocations: 0.6599 MB / 463.7 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.3697, allocations: 3.984 kB / 463.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003164/0.37, allocations: 75.91 kB / 463.8 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.37, allocations: 4.062 kB / 463.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.37, allocations: 8 kB / 463.8 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.37, allocations: 7.938 kB / 463.8 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.37, allocations: 0 / 463.8 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.3707, allocations: 482.2 kB / 464.3 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.3707, allocations: 92.83 kB / 464.4 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.3708, allocations: 8.062 kB / 464.4 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.3709, allocations: 19.98 kB / 464.4 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.371, allocations: 19.97 kB / 464.5 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.371, allocations: 8 kB / 464.5 MB, free: 7.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.463e-05/0.3711, allocations: 123.4 kB / 464.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3711, allocations: 0 / 464.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.3714, allocations: 60 kB / 464.6 MB, free: 7.375 MB / 346.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.0001262/0.3715, allocations: 115.1 kB / 464.8 MB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004155/0.3719, allocations: 207.7 kB / 465 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3719, allocations: 4 kB / 465 MB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.3721, allocations: 113.2 kB / 465.1 MB, free: 6.938 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.3725, allocations: 36.14 kB / 465.1 MB, free: 6.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3737, allocations: 0.9809 MB / 466.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.374, allocations: 0.7603 MB / 466.8 MB, free: 5.105 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.3741, allocations: 17.94 kB / 466.9 MB, free: 5.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.3741, allocations: 23.44 kB / 466.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3741, allocations: 0 / 466.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of Templates: time 0.004578/0.3787, allocations: 1.918 MB / 468.8 MB, free: 3.168 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches