Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.995/1.995, allocations: 194.9 MB / 212.3 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 44.5 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.5245, allocations: 73.46 MB / 382.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5249, allocations: 79.12 kB / 382.5 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01676/0.5417, allocations: 4.103 MB / 386.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5417, allocations: 1.312 kB / 386.6 MB, free: 14.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.5418, allocations: 5.156 kB / 386.6 MB, free: 14.34 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.0009294/0.5427, allocations: 0.5105 MB / 387.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5428, allocations: 9.312 kB / 387.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.937e-05/0.5428, allocations: 24.91 kB / 387.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.5431, allocations: 232.5 kB / 387.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.5432, allocations: 18.28 kB / 387.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/0.5433, allocations: 34.78 kB / 387.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006538/0.5439, allocations: 227.5 kB / 387.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.544, allocations: 1.281 kB / 387.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.544, allocations: 8.75 kB / 387.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.544, allocations: 13.02 kB / 387.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006423/0.5447, allocations: 189.9 kB / 387.9 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.5463, allocations: 0.7542 MB / 388.6 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006944/0.547, allocations: 224.8 kB / 388.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.547, allocations: 5.359 kB / 388.9 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.547, allocations: 39.16 kB / 388.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.716e-06/0.5471, allocations: 0 / 388.9 MB, free: 13.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002468/0.5495, allocations: 0.9904 MB / 389.9 MB, free: 12.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.5496, allocations: 52.81 kB / 389.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.5498, allocations: 153.4 kB / 390.1 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.5499, allocations: 28.89 kB / 390.1 MB, free: 12.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.55, allocations: 218 kB / 390.3 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.55, allocations: 103.8 kB / 390.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.5501, allocations: 11.5 kB / 390.4 MB, free: 12.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.5502, allocations: 323 kB / 390.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.5504, allocations: 81.39 kB / 390.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.5508, allocations: 115.2 kB / 390.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.5511, allocations: 96.12 kB / 391 MB, free: 11.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5511, allocations: 0 / 391 MB, free: 11.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007225/0.5518, allocations: 261.4 kB / 391.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5519, allocations: 6 kB / 391.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5519, allocations: 1.188 kB / 391.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.5519, allocations: 2.469 kB / 391.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.5525, allocations: 77.72 kB / 391.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5525, allocations: 3.047 kB / 391.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.5527, allocations: 20.66 kB / 391.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.5528, allocations: 6.406 kB / 391.4 MB, free: 11.82 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.0001648/0.5529, allocations: 148.1 kB / 391.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.553, allocations: 19.25 kB / 391.6 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.54e-05/0.5531, allocations: 27.91 kB / 391.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.5531, allocations: 3.906 kB / 391.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5531, allocations: 1.594 kB / 391.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5531, allocations: 5.266 kB / 391.6 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.5545, allocations: 0.67 MB / 392.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.5545, allocations: 0 / 392.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006022/0.5551, allocations: 79.94 kB / 392.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5551, allocations: 0 / 392.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.5551, allocations: 7.688 kB / 392.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.5552, allocations: 0 / 392.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5552, allocations: 0 / 392.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/0.5561, allocations: 464.5 kB / 392.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.5562, allocations: 96.73 kB / 392.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.5563, allocations: 8.531 kB / 392.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.5565, allocations: 14.31 kB / 392.9 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.5566, allocations: 21.5 kB / 393 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.5566, allocations: 5.031 kB / 393 MB, free: 11.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.625e-05/0.5567, allocations: 116.6 kB / 393.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5567, allocations: 3.938 kB / 393.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004178/0.5572, allocations: 69.39 kB / 393.1 MB, free: 10.96 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.0001409/0.5573, allocations: 107.8 kB / 393.3 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006871/0.558, allocations: 210.8 kB / 393.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.558, allocations: 0 / 393.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003124/0.5584, allocations: 114.3 kB / 393.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5588, allocations: 40.02 kB / 393.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.5607, allocations: 1.017 MB / 394.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.561, allocations: 0.7598 MB / 395.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.5611, allocations: 19.06 kB / 395.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5611, allocations: 0 / 395.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of Templates: time 0.006024/0.5671, allocations: 2.687 MB / 398.1 MB, free: 9.238 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