Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.731/1.731, allocations: 171.1 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 8 kB / 233.8 MB, free: 2.406 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08463, allocations: 38.76 MB / 272.6 MB, free: 11.56 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3468/0.4315, allocations: 68.18 MB / 340.8 MB, free: 5.168 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.4318, allocations: 78.95 kB / 340.9 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.4498, allocations: 4.122 MB / 345 MB, free: 1.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4499, allocations: 0 / 345 MB, free: 1.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.4499, allocations: 4 kB / 345 MB, free: 1.676 MB / 266.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.001101/0.451, allocations: 0.5094 MB / 345.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4511, allocations: 8.031 kB / 345.5 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.4512, allocations: 27.72 kB / 345.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.4515, allocations: 239.4 kB / 345.8 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.4516, allocations: 23.69 kB / 345.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.4517, allocations: 24.81 kB / 345.8 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007003/0.4524, allocations: 225.2 kB / 346 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.4524, allocations: 3.906 kB / 346 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.4525, allocations: 11.69 kB / 346 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.4525, allocations: 4 kB / 346.1 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006637/0.4532, allocations: 189.3 kB / 346.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.4549, allocations: 0.7567 MB / 347 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/0.4557, allocations: 225.5 kB / 347.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.4557, allocations: 4 kB / 347.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.4558, allocations: 36.95 kB / 347.3 MB, free: 15.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 2.856e-06/0.4558, allocations: 3.938 kB / 347.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.002735/0.4585, allocations: 0.9911 MB / 348.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.4586, allocations: 59.34 kB / 348.3 MB, free: 14.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.4588, allocations: 151.7 kB / 348.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.4589, allocations: 29.08 kB / 348.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.459, allocations: 142.9 kB / 348.6 MB, free: 14.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4591, allocations: 113.2 kB / 348.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.4592, allocations: 5.812 kB / 348.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4593, allocations: 328.9 kB / 349.1 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.4596, allocations: 76.83 kB / 349.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.46, allocations: 119.8 kB / 349.3 MB, free: 13.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.4603, allocations: 90.11 kB / 349.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4604, allocations: 4 kB / 349.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008173/0.4612, allocations: 273.6 kB / 349.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4612, allocations: 4 kB / 349.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4613, allocations: 0 / 349.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4613, allocations: 4 kB / 349.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.4618, allocations: 83.42 kB / 349.7 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.4619, allocations: 4 kB / 349.7 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.4621, allocations: 15.92 kB / 349.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.4622, allocations: 8 kB / 349.7 MB, free: 13.38 MB / 282.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.0002057/0.4624, allocations: 136.3 kB / 349.9 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.4625, allocations: 23.77 kB / 349.9 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.907e-05/0.4626, allocations: 29.09 kB / 349.9 MB, free: 13.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.4626, allocations: 8 kB / 349.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.4626, allocations: 0 / 349.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4626, allocations: 0 / 349.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.4642, allocations: 0.6764 MB / 350.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4642, allocations: 0 / 350.6 MB, free: 12.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.4649, allocations: 71.84 kB / 350.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.4649, allocations: 3.938 kB / 350.7 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4649, allocations: 11.3 kB / 350.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.4649, allocations: 0 / 350.7 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.465, allocations: 7.938 kB / 350.7 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.4662, allocations: 459.9 kB / 351.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.4663, allocations: 96.61 kB / 351.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.4664, allocations: 8.047 kB / 351.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.4667, allocations: 15.31 kB / 351.3 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.4667, allocations: 15.97 kB / 351.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.4668, allocations: 11.19 kB / 351.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4669, allocations: 121.9 kB / 351.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.708e-06/0.467, allocations: 0 / 351.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004575/0.4674, allocations: 70.12 kB / 351.5 MB, free: 11.82 MB / 282.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.0001742/0.4676, allocations: 102.6 kB / 351.6 MB, free: 11.71 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007435/0.4684, allocations: 218.7 kB / 351.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4684, allocations: 0 / 351.8 MB, free: 11.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.4688, allocations: 113.3 kB / 351.9 MB, free: 11.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.4692, allocations: 43.34 kB / 351.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.4716, allocations: 0.9793 MB / 352.9 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.4721, allocations: 0.7641 MB / 353.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.4723, allocations: 13.95 kB / 353.7 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/0.4724, allocations: 23.44 kB / 353.7 MB, free: 9.637 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4724, allocations: 3.938 kB / 353.7 MB, free: 9.633 MB / 282.7 MB Notification: Performance of Templates: time 0.007825/0.4802, allocations: 1.924 MB / 355.6 MB, free: 7.723 MB / 282.7 MB "" Variables in the reference:time,load.phi,load.w,shaft.phi,shaft.w,springDamper.phi_rel,springDamper.w_rel Variables in the result:fixed.flange.phi,fixed.phi0,housing.J,idealGear.ratio,load.J,load.phi,load.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,shaft.J,shaft.phi,shaft.w,spring.c,spring.phi_rel0,springDamper.c,springDamper.d,springDamper.flange_a.phi,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.w_rel,time,torque.phi_support,torque.support.phi