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.001078/0.001078, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008377/0.0008377, allocations: 82.72 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.641e-05/1.644e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1078, allocations: 47.59 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3568/0.4647, allocations: 77.42 MB / 440.5 MB, free: 2.223 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4649, allocations: 67.53 kB / 440.6 MB, free: 2.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.4769, allocations: 4.292 MB / 444.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.898e-06/0.477, allocations: 0 / 444.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.4771, allocations: 8 kB / 444.9 MB, free: 14.64 MB / 330.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.0007144/0.4778, allocations: 485.5 kB / 445.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4778, allocations: 12.03 kB / 445.3 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.4779, allocations: 31.58 kB / 445.4 MB, free: 14.1 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.4782, allocations: 237.1 kB / 445.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.4782, allocations: 8 kB / 445.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.4783, allocations: 20 kB / 445.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002898/0.4786, allocations: 137.3 kB / 445.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.4789, allocations: 174.9 kB / 445.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.479, allocations: 0 / 445.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.145e-05/0.479, allocations: 2.078 kB / 445.9 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.479, allocations: 8 kB / 445.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.4801, allocations: 0.6913 MB / 446.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003944/0.4805, allocations: 189.2 kB / 446.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.4806, allocations: 95.41 kB / 446.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.4807, allocations: 448 / 446.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4807, allocations: 41.7 kB / 447 MB, free: 12.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.252e-06/0.4807, allocations: 0 / 447 MB, free: 12.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001148/0.4819, allocations: 0.7567 MB / 447.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.4819, allocations: 59.41 kB / 447.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.482, allocations: 132.3 kB / 447.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4821, allocations: 25.7 kB / 447.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.4822, allocations: 144.7 kB / 448.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.004e-05/0.4822, allocations: 96.06 kB / 448.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.4823, allocations: 3.938 kB / 448.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4824, allocations: 330.6 kB / 448.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.4825, allocations: 55.88 kB / 448.5 MB, free: 11.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.4826, allocations: 104.3 kB / 448.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.4827, allocations: 66.55 kB / 448.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4827, allocations: 0 / 448.7 MB, free: 11.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002849/0.483, allocations: 208.3 kB / 448.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.4831, allocations: 4 kB / 448.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.4831, allocations: 8.047 kB / 448.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4831, allocations: 7.984 kB / 448.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.4834, allocations: 79.58 kB / 449 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4834, allocations: 7.938 kB / 449 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.4835, allocations: 11.98 kB / 449 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.4836, allocations: 4 kB / 449 MB, free: 10.77 MB / 330.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.38e-05/0.4837, allocations: 116.2 kB / 449.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.4837, allocations: 15.81 kB / 449.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.4838, allocations: 25.14 kB / 449.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4838, allocations: 3.953 kB / 449.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4838, allocations: 0 / 449.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4838, allocations: 0 / 449.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.4846, allocations: 0.5695 MB / 449.8 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4846, allocations: 3.984 kB / 449.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.4849, allocations: 79.11 kB / 449.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.485, allocations: 0 / 449.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.485, allocations: 4 kB / 449.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.485, allocations: 0 / 449.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.485, allocations: 0 / 449.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.4855, allocations: 404.9 kB / 450.2 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.4855, allocations: 88.92 kB / 450.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.4856, allocations: 4 kB / 450.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.4857, allocations: 11.98 kB / 450.3 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.4858, allocations: 27.66 kB / 450.4 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4858, allocations: 8 kB / 450.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.4859, allocations: 105.2 kB / 450.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4859, allocations: 0 / 450.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.4862, allocations: 48 kB / 450.5 MB, free: 9.375 MB / 330.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.0001404/0.4863, allocations: 99.25 kB / 450.6 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.4866, allocations: 158.1 kB / 450.8 MB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4866, allocations: 9.625 kB / 450.8 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4867, allocations: 92.62 kB / 450.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.4871, allocations: 23.75 kB / 450.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.4882, allocations: 0.6806 MB / 451.6 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.4886, allocations: 0.7596 MB / 452.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.695e-05/0.4887, allocations: 22.05 kB / 452.4 MB, free: 7.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.894e-05/0.4888, allocations: 23.44 kB / 452.4 MB, free: 7.555 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4888, allocations: 4 kB / 452.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of Templates: time 0.004421/0.4932, allocations: 1.799 MB / 454.2 MB, free: 5.766 MB / 330.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