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.0009649/0.000965, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.348/1.348, allocations: 221.4 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007963, allocations: 94.88 kB / 286.5 MB, free: 216 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.369e-05, allocations: 3.984 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 50.41 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4599, allocations: 78.69 MB / 472.9 MB, free: 8.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4601, allocations: 75.78 kB / 473 MB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0121/0.4723, allocations: 4.44 MB / 477.4 MB, free: 4.336 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4723, allocations: 8 kB / 477.4 MB, free: 4.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.4723, allocations: 7.984 kB / 477.5 MB, free: 4.32 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.0007753/0.4731, allocations: 491 kB / 477.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.4732, allocations: 12.03 kB / 477.9 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.4733, allocations: 31.62 kB / 478 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.4736, allocations: 230.2 kB / 478.2 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.4736, allocations: 16.56 kB / 478.2 MB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.4737, allocations: 28 kB / 478.2 MB, free: 3.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.4741, allocations: 204.9 kB / 478.4 MB, free: 3.234 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/0.4741, allocations: 3.953 kB / 478.4 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.4741, allocations: 12 kB / 478.5 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4741, allocations: 4 kB / 478.5 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.4744, allocations: 146.2 kB / 478.6 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.4756, allocations: 0.7578 MB / 479.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.476, allocations: 210.7 kB / 479.6 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/0.4762, allocations: 97.84 kB / 479.7 MB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.4762, allocations: 4 kB / 479.7 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4763, allocations: 38.48 kB / 479.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.4763, allocations: 4 kB / 479.7 MB, free: 1.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001261/0.4775, allocations: 0.8259 MB / 480.5 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.4776, allocations: 55.34 kB / 480.6 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4778, allocations: 146.3 kB / 480.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.4778, allocations: 29.7 kB / 480.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4779, allocations: 144.3 kB / 480.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.518e-05/0.478, allocations: 98.56 kB / 481 MB, free: 492 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.478, allocations: 4 kB / 481 MB, free: 488 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4782, allocations: 334.8 kB / 481.3 MB, free: 144 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4783, allocations: 60 kB / 481.4 MB, free: 84 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4784, allocations: 99.28 kB / 481.5 MB, free: 15.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.4786, allocations: 76.47 kB / 481.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4786, allocations: 0 / 481.6 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000341/0.4789, allocations: 241.2 kB / 481.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4789, allocations: 4 kB / 481.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.479, allocations: 3.938 kB / 481.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.479, allocations: 4 kB / 481.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.4793, allocations: 75.91 kB / 481.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.4793, allocations: 12.03 kB / 481.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4794, allocations: 16 kB / 481.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.4795, allocations: 8 kB / 481.9 MB, free: 15.54 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 () * 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 9.826e-05/0.4796, allocations: 116.9 kB / 482 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.4796, allocations: 19.81 kB / 482.1 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.4797, allocations: 26.55 kB / 482.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4797, allocations: 4 kB / 482.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4797, allocations: 0 / 482.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4797, allocations: 7.953 kB / 482.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008578/0.4806, allocations: 0.6327 MB / 482.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4806, allocations: 4 kB / 482.7 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003246/0.4809, allocations: 71.97 kB / 482.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4809, allocations: 8.062 kB / 482.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.481, allocations: 11.94 kB / 482.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.481, allocations: 4 kB / 482.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.481, allocations: 7.875 kB / 482.8 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.4815, allocations: 425 kB / 483.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.4816, allocations: 96.91 kB / 483.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.4816, allocations: 4.062 kB / 483.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.4818, allocations: 12 kB / 483.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.4818, allocations: 19.97 kB / 483.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.4818, allocations: 8 kB / 483.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.887e-05/0.4819, allocations: 120.4 kB / 483.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.542e-06/0.4819, allocations: 4 kB / 483.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.4822, allocations: 63.94 kB / 483.6 MB, free: 13.77 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 () * 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.0001452/0.4824, allocations: 99.25 kB / 483.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.4827, allocations: 171.9 kB / 483.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4827, allocations: 0 / 483.8 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.4828, allocations: 95.81 kB / 483.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.4832, allocations: 44.17 kB / 484 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.4844, allocations: 0.6769 MB / 484.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4847, allocations: 0.76 MB / 485.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.512e-05/0.4848, allocations: 22.06 kB / 485.4 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.4849, allocations: 23.38 kB / 485.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4849, allocations: 0 / 485.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of Templates: time 0.004895/0.4898, allocations: 1.934 MB / 487.4 MB, free: 9.902 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