Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009612/0.0009612, allocations: 204.2 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 226.5 MB / 245.4 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008294/0.0008292, allocations: 99.78 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003771/0.0003772, allocations: 7.984 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09387/0.3217, allocations: 79.5 MB / 488.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.3219, allocations: 71.97 kB / 488.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01192/0.3338, allocations: 4.498 MB / 493.4 MB, free: 7.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3339, allocations: 7.875 kB / 493.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3339, allocations: 4 kB / 493.4 MB, free: 7.422 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.0006787/0.3346, allocations: 0.5033 MB / 494 MB, free: 6.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3346, allocations: 8.031 kB / 494 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.3347, allocations: 28.66 kB / 494 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3349, allocations: 239.8 kB / 494.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.335, allocations: 16.94 kB / 494.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.335, allocations: 32.28 kB / 494.3 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.3355, allocations: 236.9 kB / 494.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3355, allocations: 0 / 494.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.3355, allocations: 12 kB / 494.5 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3356, allocations: 4 kB / 494.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003785/0.3359, allocations: 190.1 kB / 494.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.3371, allocations: 0.7538 MB / 495.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.3375, allocations: 221 kB / 495.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/0.3378, allocations: 124.7 kB / 495.8 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.3378, allocations: 3.938 kB / 495.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.3378, allocations: 42.5 kB / 495.8 MB, free: 4.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.834e-06/0.3378, allocations: 0 / 495.8 MB, free: 4.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001635/0.3395, allocations: 0.9781 MB / 496.8 MB, free: 3.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3395, allocations: 59.41 kB / 496.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3397, allocations: 150.7 kB / 497 MB, free: 3.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3397, allocations: 37.7 kB / 497.1 MB, free: 3.523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.3398, allocations: 144.5 kB / 497.2 MB, free: 3.379 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.052e-05/0.3399, allocations: 102.5 kB / 497.3 MB, free: 3.277 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.3399, allocations: 12 kB / 497.3 MB, free: 3.266 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.34, allocations: 326.8 kB / 497.6 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.3402, allocations: 79.81 kB / 497.7 MB, free: 2.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3404, allocations: 131.2 kB / 497.8 MB, free: 2.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003953/0.3408, allocations: 212.5 kB / 498 MB, free: 2.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3408, allocations: 0 / 498 MB, free: 2.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000467/0.3413, allocations: 265.4 kB / 498.3 MB, free: 2.234 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3413, allocations: 8 kB / 498.3 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3413, allocations: 0 / 498.3 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3413, allocations: 4 kB / 498.3 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.3416, allocations: 79.89 kB / 498.4 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3416, allocations: 0 / 498.4 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.3418, allocations: 24.05 kB / 498.4 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3418, allocations: 8 kB / 498.4 MB, free: 2.113 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.0001282/0.3419, allocations: 141.7 kB / 498.6 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.342, allocations: 27.64 kB / 498.6 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.342, allocations: 30.55 kB / 498.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3421, allocations: 4 kB / 498.6 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3421, allocations: 0 / 498.6 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3421, allocations: 0 / 498.6 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/0.343, allocations: 0.6721 MB / 499.3 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.343, allocations: 8 kB / 499.3 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/0.3433, allocations: 75.97 kB / 499.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.3433, allocations: 4 kB / 499.4 MB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3434, allocations: 4 kB / 499.4 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3434, allocations: 7.984 kB / 499.4 MB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3434, allocations: 3.938 kB / 499.4 MB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/0.3441, allocations: 455.1 kB / 499.8 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.3441, allocations: 92.86 kB / 499.9 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.3442, allocations: 12.06 kB / 499.9 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3443, allocations: 15.98 kB / 500 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.91e-05/0.3444, allocations: 19.91 kB / 500 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.3444, allocations: 8 kB / 500 MB, free: 448 kB / 362.7 MB Notification: Performance of sorting global known variables: time 9.288e-05/0.3445, allocations: 123.5 kB / 0.4884 GB, free: 324 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3445, allocations: 0 / 0.4884 GB, free: 324 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.3448, allocations: 56 kB / 0.4884 GB, free: 268 kB / 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.0001817/0.345, allocations: 111.2 kB / 0.4885 GB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004655/0.3455, allocations: 207.9 kB / 0.4887 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3455, allocations: 3.938 kB / 0.4887 GB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.3457, allocations: 112 kB / 0.4889 GB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.3461, allocations: 39.09 kB / 0.4889 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3477, allocations: 0.9965 MB / 0.4899 GB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.3481, allocations: 0.7525 MB / 0.4906 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.3482, allocations: 21.94 kB / 0.4906 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.3483, allocations: 19.44 kB / 0.4906 GB, free: 13.94 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3483, allocations: 0 / 0.4906 GB, free: 13.94 MB / 378.7 MB Notification: Performance of Templates: time 0.005078/0.3533, allocations: 1.937 MB / 0.4925 GB, free: 12.03 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches