Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_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_3.2.3_cpp_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.00215/0.002149, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001102, allocations: 84.2 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.875e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3497, allocations: 47.56 MB / 362.3 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.4733, allocations: 77.19 MB / 439.5 MB, free: 9.121 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4737, allocations: 67.95 kB / 439.6 MB, free: 9.055 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01961/0.4933, allocations: 4.297 MB / 443.9 MB, free: 4.789 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4934, allocations: 0 / 443.9 MB, free: 4.789 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.4934, allocations: 4 kB / 443.9 MB, free: 4.785 MB / 331.1 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.001032/0.4945, allocations: 489.5 kB / 444.4 MB, free: 4.266 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4945, allocations: 12.03 kB / 444.4 MB, free: 4.254 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.4947, allocations: 37.06 kB / 444.4 MB, free: 4.219 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.495, allocations: 232.4 kB / 444.6 MB, free: 3.949 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4951, allocations: 8 kB / 444.6 MB, free: 3.941 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.477e-05/0.4952, allocations: 12 kB / 444.7 MB, free: 3.93 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004704/0.4956, allocations: 141.1 kB / 444.8 MB, free: 3.789 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.4961, allocations: 167.8 kB / 445 MB, free: 3.617 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.4962, allocations: 7.984 kB / 445 MB, free: 3.609 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.4962, allocations: 0 / 445 MB, free: 3.609 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4962, allocations: 4 kB / 445 MB, free: 3.605 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.498, allocations: 0.701 MB / 445.7 MB, free: 2.863 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005764/0.4986, allocations: 191.4 kB / 445.9 MB, free: 2.668 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.4989, allocations: 90.5 kB / 446 MB, free: 2.578 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4989, allocations: 448 / 446 MB, free: 2.578 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.499, allocations: 42.52 kB / 446 MB, free: 2.527 MB / 331.1 MB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/0.499, allocations: 4 kB / 446 MB, free: 2.523 MB / 331.1 MB Notification: Performance of matching and sorting (n=28): time 0.001779/0.5008, allocations: 0.7627 MB / 446.8 MB, free: 1.676 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.5009, allocations: 55.41 kB / 446.8 MB, free: 1.609 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.501, allocations: 123 kB / 446.9 MB, free: 1.484 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.5011, allocations: 25.7 kB / 447 MB, free: 1.453 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.5012, allocations: 218.6 kB / 447.2 MB, free: 1.238 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.5014, allocations: 94.56 kB / 447.3 MB, free: 1.145 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.286e-05/0.5014, allocations: 4 kB / 447.3 MB, free: 1.141 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.5016, allocations: 318.8 kB / 447.6 MB, free: 0.8203 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.5017, allocations: 56 kB / 447.6 MB, free: 0.7656 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.502, allocations: 99.22 kB / 447.7 MB, free: 0.6562 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.5022, allocations: 68.47 kB / 447.8 MB, free: 0.5898 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5022, allocations: 0 / 447.8 MB, free: 0.5898 MB / 331.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005297/0.5028, allocations: 207.7 kB / 448 MB, free: 392 kB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.5028, allocations: 4 kB / 448 MB, free: 388 kB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5028, allocations: 7.953 kB / 448 MB, free: 380 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.5028, allocations: 0 / 448 MB, free: 380 kB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.5034, allocations: 80.77 kB / 448.1 MB, free: 300 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.5035, allocations: 4 kB / 448.1 MB, free: 296 kB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.5037, allocations: 16.08 kB / 448.1 MB, free: 280 kB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.5037, allocations: 4 kB / 448.1 MB, free: 276 kB / 331.1 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 0.0001224/0.5039, allocations: 112.9 kB / 448.2 MB, free: 156 kB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.5039, allocations: 15.81 kB / 448.2 MB, free: 140 kB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/0.504, allocations: 21.97 kB / 448.3 MB, free: 124 kB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.5041, allocations: 3.953 kB / 448.3 MB, free: 120 kB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5041, allocations: 2.531 kB / 448.3 MB, free: 120 kB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.537e-06/0.5041, allocations: 12.67 kB / 448.3 MB, free: 108 kB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.5054, allocations: 0.5526 MB / 448.8 MB, free: 15.5 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.5054, allocations: 0 / 448.8 MB, free: 15.5 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006705/0.5061, allocations: 83.84 kB / 448.9 MB, free: 15.42 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.5061, allocations: 4.062 kB / 448.9 MB, free: 15.42 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.5062, allocations: 4.875 kB / 448.9 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5062, allocations: 0 / 448.9 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5062, allocations: 4 kB / 448.9 MB, free: 15.41 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.507, allocations: 401 kB / 449.3 MB, free: 14.98 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.5071, allocations: 92.92 kB / 449.4 MB, free: 14.87 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.5072, allocations: 3.938 kB / 449.4 MB, free: 14.87 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.5075, allocations: 11.98 kB / 449.4 MB, free: 14.86 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.5076, allocations: 19.98 kB / 449.4 MB, free: 14.84 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.5076, allocations: 7.984 kB / 449.5 MB, free: 14.83 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.5077, allocations: 100.3 kB / 449.6 MB, free: 14.73 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5077, allocations: 0 / 449.6 MB, free: 14.73 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004738/0.5082, allocations: 52 kB / 449.6 MB, free: 14.68 MB / 347.1 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.0001833/0.5084, allocations: 107.2 kB / 449.7 MB, free: 14.57 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0004702/0.5089, allocations: 151.9 kB / 449.9 MB, free: 14.42 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.5089, allocations: 1.5 kB / 449.9 MB, free: 14.42 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.5092, allocations: 103.9 kB / 450 MB, free: 14.32 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005425/0.5097, allocations: 30.77 kB / 450 MB, free: 14.29 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.5116, allocations: 0.7098 MB / 450.7 MB, free: 13.54 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.5121, allocations: 0.7598 MB / 451.5 MB, free: 12.75 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.5123, allocations: 19.44 kB / 451.5 MB, free: 12.73 MB / 347.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5123, allocations: 0 / 451.5 MB, free: 12.73 MB / 347.1 MB Notification: Performance of Templates: time 0.007446/0.5197, allocations: 2.617 MB / 454.1 MB, free: 10.16 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches