Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing") Notification: Performance of loadModel(Modelica): time 1.832/1.832, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.949e-05, allocations: 4 kB / 228.8 MB, free: 15.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2056, allocations: 38.77 MB / 267.6 MB, free: 9.438 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3073, allocations: 68.09 MB / 335.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.3076, allocations: 63.97 kB / 335.7 MB, free: 5.188 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01687/0.3245, allocations: 4.115 MB / 339.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.94e-06/0.3246, allocations: 0 / 339.9 MB, free: 1.055 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.3246, allocations: 8 kB / 339.9 MB, free: 1.047 MB / 282.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.0008259/0.3254, allocations: 0.4906 MB / 340.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3255, allocations: 12.03 kB / 340.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.036e-05/0.3256, allocations: 23.72 kB / 340.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.3259, allocations: 227.8 kB / 340.6 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.3259, allocations: 20.52 kB / 340.6 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.278e-05/0.326, allocations: 39.83 kB / 340.7 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.3266, allocations: 208.9 kB / 340.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.3266, allocations: 0 / 340.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.3266, allocations: 12 kB / 340.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-06/0.3267, allocations: 4 kB / 340.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.3271, allocations: 150.2 kB / 341 MB, free: 15.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3286, allocations: 0.7539 MB / 341.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.3291, allocations: 195.3 kB / 342 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.3294, allocations: 100.9 kB / 342.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3294, allocations: 4.438 kB / 342.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3295, allocations: 42.45 kB / 342.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 2.496e-06/0.3295, allocations: 0 / 342.1 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=28): time 0.001646/0.3311, allocations: 0.8255 MB / 342.9 MB, free: 13.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.3312, allocations: 59.41 kB / 343 MB, free: 13.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.3314, allocations: 138.3 kB / 343.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3314, allocations: 33.7 kB / 343.2 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.3316, allocations: 202.7 kB / 343.4 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3317, allocations: 106.5 kB / 343.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.3317, allocations: 8 kB / 343.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3319, allocations: 322.8 kB / 343.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3321, allocations: 64 kB / 343.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.3323, allocations: 103.4 kB / 344 MB, free: 12.63 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.3325, allocations: 75.97 kB / 344 MB, free: 12.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-06/0.3325, allocations: 0 / 344 MB, free: 12.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004952/0.333, allocations: 217.5 kB / 344.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.3331, allocations: 9.141 kB / 344.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.229e-06/0.3331, allocations: 7.938 kB / 344.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3331, allocations: 4 kB / 344.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.3335, allocations: 83.89 kB / 344.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.3336, allocations: 4 kB / 344.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3337, allocations: 15.98 kB / 344.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.3338, allocations: 8 kB / 344.4 MB, free: 12.21 MB / 298.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 0.0001157/0.3339, allocations: 120.9 kB / 344.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.334, allocations: 19.81 kB / 344.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.3341, allocations: 26.52 kB / 344.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.009e-06/0.3341, allocations: 4 kB / 344.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.578e-06/0.3341, allocations: 0 / 344.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.3342, allocations: 7.922 kB / 344.6 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.3354, allocations: 0.625 MB / 345.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.972e-06/0.3354, allocations: 4 kB / 345.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/0.3359, allocations: 75.89 kB / 345.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.3359, allocations: 4 kB / 345.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.336, allocations: 4 kB / 345.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.566e-06/0.336, allocations: 4 kB / 345.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.753e-06/0.336, allocations: 0 / 345.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.3367, allocations: 428.9 kB / 345.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.3368, allocations: 92.92 kB / 345.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.3369, allocations: 4.062 kB / 345.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.3371, allocations: 19.98 kB / 345.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.3372, allocations: 15.98 kB / 345.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.3372, allocations: 11.98 kB / 345.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3373, allocations: 120.4 kB / 345.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.3374, allocations: 0 / 345.9 MB, free: 10.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004871/0.3379, allocations: 63.95 kB / 346 MB, free: 10.45 MB / 298.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.0001739/0.338, allocations: 107.2 kB / 346.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004271/0.3385, allocations: 183.8 kB / 346.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.158e-06/0.3385, allocations: 0 / 346.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.3387, allocations: 95.86 kB / 346.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/0.3391, allocations: 30.67 kB / 346.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.3407, allocations: 0.7256 MB / 347.1 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.3412, allocations: 0.7522 MB / 347.9 MB, free: 8.488 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.3413, allocations: 23.44 kB / 347.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of SimCode: time 1.602e-06/0.3413, allocations: 4 kB / 347.9 MB, free: 8.465 MB / 298.7 MB Notification: Performance of Templates: time 0.005655/0.347, allocations: 2.669 MB / 350.6 MB, free: 5.801 MB / 298.7 MB "Error: Could not read variable springDamper.tau_c in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat. Warning: Get data of variable springDamper.tau_c from file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat failed! Error: Could not read variable springDamper.tau_d in file Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat. Warning: Get data of variable springDamper.tau_d from file Modelica_3.2.1_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