Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.726/1.726, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 16 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08076, allocations: 44.49 MB / 308.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4531, allocations: 73.48 MB / 381.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4533, allocations: 75.17 kB / 382 MB, free: 18.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.4684, allocations: 4.107 MB / 386.1 MB, free: 18.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.476e-06/0.4684, allocations: 0 / 386.1 MB, free: 18.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.4684, allocations: 8.625 kB / 386.1 MB, free: 18.2 MB / 314.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.0006999/0.4691, allocations: 0.5084 MB / 386.6 MB, free: 17.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.4692, allocations: 9.219 kB / 386.6 MB, free: 17.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.825e-05/0.4693, allocations: 25.12 kB / 386.7 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.4695, allocations: 229.2 kB / 386.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4696, allocations: 22.88 kB / 386.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.4696, allocations: 28.09 kB / 386.9 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005292/0.4702, allocations: 232 kB / 387.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4702, allocations: 4 kB / 387.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.4703, allocations: 9.406 kB / 387.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.4703, allocations: 10.02 kB / 387.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.4708, allocations: 190.4 kB / 387.4 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.4721, allocations: 0.7618 MB / 388.1 MB, free: 17.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.4727, allocations: 222.6 kB / 388.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.4727, allocations: 2.906 kB / 388.3 MB, free: 17.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.4728, allocations: 35.62 kB / 388.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.009e-06/0.4728, allocations: 0 / 388.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002022/0.4748, allocations: 0.9836 MB / 389.4 MB, free: 16.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.4749, allocations: 57.91 kB / 389.4 MB, free: 16.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.475, allocations: 141.1 kB / 389.6 MB, free: 16.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.475, allocations: 27.95 kB / 389.6 MB, free: 16.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.4751, allocations: 210.9 kB / 389.8 MB, free: 16.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.4752, allocations: 106.4 kB / 389.9 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.4752, allocations: 5.094 kB / 389.9 MB, free: 16.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.4753, allocations: 328.4 kB / 390.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002277/0.4755, allocations: 73.12 kB / 390.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.4758, allocations: 122.4 kB / 390.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.4761, allocations: 92.7 kB / 390.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.503e-06/0.4761, allocations: 0 / 390.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005939/0.4767, allocations: 269.7 kB / 390.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4767, allocations: 3.938 kB / 390.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-06/0.4767, allocations: 0 / 390.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4768, allocations: 3.938 kB / 390.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.4771, allocations: 76.67 kB / 390.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.053e-06/0.4771, allocations: 7.812 kB / 390.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.4773, allocations: 17.25 kB / 390.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4773, allocations: 7.625 kB / 390.9 MB, free: 15.69 MB / 314.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.0001373/0.4775, allocations: 146.3 kB / 391 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.4776, allocations: 19.44 kB / 391 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.4776, allocations: 28.59 kB / 391.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.362e-06/0.4776, allocations: 3.781 kB / 391.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-06/0.4777, allocations: 4 kB / 391.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.986e-06/0.4777, allocations: 2.953 kB / 391.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.4788, allocations: 0.6695 MB / 391.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.961e-06/0.4788, allocations: 0 / 391.7 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.4792, allocations: 77.08 kB / 391.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.57e-06/0.4792, allocations: 3.812 kB / 391.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.4793, allocations: 7.75 kB / 391.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.665e-06/0.4793, allocations: 0 / 391.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.4793, allocations: 0 / 391.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.4801, allocations: 491.6 kB / 392.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.4802, allocations: 88.89 kB / 392.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.4802, allocations: 8.922 kB / 392.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4804, allocations: 12.83 kB / 392.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.4805, allocations: 26.09 kB / 392.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.4806, allocations: 11.81 kB / 392.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.067e-05/0.4807, allocations: 117.4 kB / 392.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.754e-06/0.4807, allocations: 0 / 392.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.4811, allocations: 61.81 kB / 392.6 MB, free: 14.8 MB / 314.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.0001181/0.4812, allocations: 108.3 kB / 392.7 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005127/0.4818, allocations: 207.7 kB / 392.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4818, allocations: 0 / 392.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002472/0.482, allocations: 115.6 kB / 393.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.4824, allocations: 39.5 kB / 393.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.484, allocations: 1.013 MB / 394.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.4842, allocations: 0.7612 MB / 394.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.702e-05/0.4843, allocations: 19.03 kB / 394.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of SimCode: time 1.45e-06/0.4843, allocations: 0 / 394.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of Templates: time 0.00487/0.4892, allocations: 2.692 MB / 397.6 MB, free: 13.07 MB / 314.7 MB "Error: Could not read variable springDamper.tau_c in file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat. Warning: Get data of variable springDamper.tau_c from file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat failed! Error: Could not read variable springDamper.tau_d in file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat. Warning: Get data of variable springDamper.tau_d from file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat failed! " 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.flange.tau,fixed.phi0,housing.J,housing.a,der(housing.w),housing.flange_a.phi,housing.flange_a.tau,housing.flange_b.phi,housing.flange_b.tau,housing.phi,housing.w,idealGear.flange_a.phi,idealGear.flange_a.tau,idealGear.flange_b.phi,idealGear.flange_b.tau,idealGear.phi_a,idealGear.phi_b,idealGear.ratio,idealGear.support.phi,idealGear.support.tau,load.J,load.a,der(load.phi),der(load.w),load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.w,der(multiSensor.flange_a.phi),multiSensor.flange_a.phi,multiSensor.flange_a.tau,multiSensor.flange_b.phi,multiSensor.flange_b.tau,multiSensor.power,multiSensor.tau,multiSensor.w,ramp.duration,ramp.height,ramp.offset,ramp.startTime,ramp.y,shaft.J,shaft.a,der(shaft.phi),der(shaft.w),shaft.flange_a.phi,shaft.flange_a.tau,shaft.flange_b.phi,shaft.flange_b.tau,shaft.phi,shaft.w,spring.c,spring.flange_a.phi,spring.flange_a.tau,spring.flange_b.phi,spring.flange_b.tau,spring.phi_rel,spring.phi_rel0,spring.tau,springDamper.a_rel,springDamper.c,springDamper.d,der(springDamper.phi_rel),der(springDamper.w_rel),springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.tau,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.support.phi,torque.support.tau,torque.tau