Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000939/0.0009435, allocations: 202.4 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 245.4 MB, free: 8.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007466/0.0007466, allocations: 111.5 kB / 297.4 MB, free: 6.926 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003178, allocations: 8 kB / 357.4 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 51.29 MB / 408.7 MB, free: 27.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.331, allocations: 79.51 MB / 488.2 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/0.3314, allocations: 79.94 kB / 488.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02191/0.3533, allocations: 4.487 MB / 492.7 MB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.566e-06/0.3534, allocations: 0 / 492.7 MB, free: 7.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.3534, allocations: 7.984 kB / 492.7 MB, free: 7.566 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.001263/0.3547, allocations: 0.5071 MB / 493.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.3548, allocations: 12.03 kB / 493.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.3549, allocations: 24.66 kB / 493.3 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.3554, allocations: 238.9 kB / 493.5 MB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.3555, allocations: 16.94 kB / 493.5 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.3556, allocations: 36.28 kB / 493.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.3564, allocations: 228.9 kB / 493.8 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.3565, allocations: 8 kB / 493.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.3565, allocations: 12 kB / 493.8 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.3566, allocations: 4 kB / 493.8 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.3574, allocations: 182.1 kB / 494 MB, free: 6.223 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.3595, allocations: 0.7655 MB / 494.7 MB, free: 5.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/0.3603, allocations: 210.6 kB / 495 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004275/0.3607, allocations: 120.8 kB / 495.1 MB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.3608, allocations: 7.938 kB / 495.1 MB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.3608, allocations: 46.48 kB / 495.1 MB, free: 5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 8.275e-06/0.3609, allocations: 3.984 kB / 495.1 MB, free: 4.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.00304/0.3639, allocations: 0.9781 MB / 496.1 MB, free: 3.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.364, allocations: 59.39 kB / 496.2 MB, free: 3.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.3643, allocations: 154.7 kB / 496.3 MB, free: 3.695 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3643, allocations: 29.7 kB / 496.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3644, allocations: 144.5 kB / 496.5 MB, free: 3.516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.3646, allocations: 98.56 kB / 496.6 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/0.3646, allocations: 8 kB / 496.6 MB, free: 3.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3648, allocations: 334.8 kB / 496.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.3651, allocations: 83.77 kB / 497 MB, free: 2.992 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.3654, allocations: 115.4 kB / 497.1 MB, free: 2.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007475/0.3662, allocations: 212.5 kB / 497.3 MB, free: 2.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3662, allocations: 4 kB / 497.3 MB, free: 2.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009194/0.3672, allocations: 277.3 kB / 497.6 MB, free: 2.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.3672, allocations: 4 kB / 497.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.3672, allocations: 0 / 497.6 MB, free: 2.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3673, allocations: 8.094 kB / 497.6 MB, free: 2.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.3678, allocations: 75.89 kB / 497.7 MB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.3679, allocations: 7.938 kB / 497.7 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.3681, allocations: 16 kB / 497.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.3682, allocations: 4 kB / 497.7 MB, free: 2.254 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.0002162/0.3684, allocations: 145.7 kB / 497.8 MB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.711e-05/0.3685, allocations: 23.72 kB / 497.9 MB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.3686, allocations: 26.56 kB / 497.9 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.3687, allocations: 4 kB / 497.9 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3687, allocations: 0 / 497.9 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.3687, allocations: 3.984 kB / 497.9 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.3705, allocations: 0.6761 MB / 498.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3705, allocations: 0 / 498.6 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.3712, allocations: 71.89 kB / 498.7 MB, free: 1.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3712, allocations: 4 kB / 498.7 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.3713, allocations: 12 kB / 498.7 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.3713, allocations: 4.062 kB / 498.7 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.3713, allocations: 3.938 kB / 498.7 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.3726, allocations: 463 kB / 499.1 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.179e-05/0.3727, allocations: 88.92 kB / 499.2 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.494e-05/0.3728, allocations: 8.062 kB / 499.2 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.3731, allocations: 15.98 kB / 499.2 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.3732, allocations: 23.92 kB / 499.3 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.3732, allocations: 4 kB / 499.3 MB, free: 0.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.3734, allocations: 123.5 kB / 499.4 MB, free: 472 kB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3734, allocations: 0 / 499.4 MB, free: 472 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005992/0.374, allocations: 60 kB / 499.4 MB, free: 412 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.0001948/0.3742, allocations: 107.2 kB / 499.5 MB, free: 292 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000831/0.3751, allocations: 211.8 kB / 499.8 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3751, allocations: 0 / 499.8 MB, free: 80 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.3755, allocations: 111.8 kB / 499.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.3763, allocations: 42.52 kB / 499.9 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.3788, allocations: 1.021 MB / 0.4892 GB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3792, allocations: 0.7525 MB / 0.4899 GB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3793, allocations: 23.38 kB / 0.4899 GB, free: 14.07 MB / 378.7 MB Notification: Performance of SimCode: time 7.32e-07/0.3793, allocations: 0 / 0.4899 GB, free: 14.07 MB / 378.7 MB Notification: Performance of Templates: time 0.008063/0.3874, allocations: 2.751 MB / 0.4926 GB, free: 11.34 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches