Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.046/2.046, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005444/0.0005444, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3653, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004968/0.3703, allocations: 1.905 MB / 310.5 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.3723, allocations: 0.5817 MB / 311 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002481/0.3726, allocations: 4 kB / 311.1 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.3728, allocations: 31.77 kB / 311.1 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.3732, allocations: 87.73 kB / 311.2 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.3735, allocations: 39.97 kB / 311.2 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006871/0.3742, allocations: 199.6 kB / 311.4 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.3746, allocations: 77.8 kB / 311.5 MB, free: 9.727 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.375, allocations: 99.62 kB / 311.6 MB, free: 9.629 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.3753, allocations: 107.5 kB / 311.7 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.662e-05/0.3754, allocations: 12 kB / 311.7 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.3756, allocations: 12 kB / 311.7 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.3757, allocations: 39.84 kB / 311.7 MB, free: 9.461 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.3759, allocations: 69.58 kB / 311.8 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.3765, allocations: 216.3 kB / 312 MB, free: 9.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3765, allocations: 0 / 312 MB, free: 9.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3766, allocations: 0 / 312 MB, free: 9.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3766, allocations: 0 / 312 MB, free: 9.176 MB / 250.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.00177/0.3784, allocations: 0.5068 MB / 312.5 MB, free: 8.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/0.3785, allocations: 15.97 kB / 312.5 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.3786, allocations: 58.55 kB / 312.6 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.3788, allocations: 27.62 kB / 312.6 MB, free: 8.512 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.3794, allocations: 239.2 kB / 312.9 MB, free: 8.238 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.921e-05/0.3795, allocations: 20.56 kB / 312.9 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.3797, allocations: 24 kB / 312.9 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.3807, allocations: 228.8 kB / 313.1 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.3808, allocations: 0 / 313.1 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.3808, allocations: 12 kB / 313.1 MB, free: 7.953 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.3809, allocations: 8 kB / 313.2 MB, free: 7.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009096/0.3818, allocations: 190.1 kB / 313.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.3842, allocations: 0.7694 MB / 314.1 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009493/0.3852, allocations: 222.8 kB / 314.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3853, allocations: 8.375 kB / 314.3 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.3853, allocations: 34.56 kB / 314.4 MB, free: 6.652 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 3.647e-06/0.3853, allocations: 0 / 314.4 MB, free: 6.652 MB / 250.7 MB Notification: Performance of matching and sorting (n=28): time 0.003665/0.389, allocations: 0.9917 MB / 315.4 MB, free: 5.57 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3891, allocations: 51.41 kB / 315.4 MB, free: 5.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.3894, allocations: 167.1 kB / 315.6 MB, free: 5.336 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.944e-05/0.3895, allocations: 29.7 kB / 315.6 MB, free: 5.301 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3896, allocations: 144.5 kB / 315.7 MB, free: 5.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.3898, allocations: 98.55 kB / 315.8 MB, free: 5.055 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.3898, allocations: 4 kB / 315.8 MB, free: 5.051 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.39, allocations: 330.8 kB / 316.2 MB, free: 4.719 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00046/0.3905, allocations: 79.95 kB / 316.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.3911, allocations: 119.3 kB / 316.4 MB, free: 4.512 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/0.3916, allocations: 99.92 kB / 316.5 MB, free: 4.414 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3916, allocations: 0 / 316.5 MB, free: 4.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001235/0.3929, allocations: 269.3 kB / 316.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.3929, allocations: 10.5 kB / 316.7 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.393, allocations: 4.094 kB / 316.7 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.393, allocations: 4 kB / 316.7 MB, free: 4.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.3938, allocations: 75.89 kB / 316.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.3939, allocations: 3.938 kB / 316.8 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.3942, allocations: 23.98 kB / 316.8 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3943, allocations: 4 kB / 316.8 MB, free: 4.023 MB / 250.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.0002702/0.3946, allocations: 145.7 kB / 317 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.917e-05/0.3947, allocations: 15.81 kB / 317 MB, free: 3.855 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3948, allocations: 26.56 kB / 317 MB, free: 3.832 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3948, allocations: 4 kB / 317 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.3948, allocations: 0 / 317 MB, free: 3.828 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3949, allocations: 3.984 kB / 317 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.3971, allocations: 0.662 MB / 317.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3971, allocations: 0 / 317.7 MB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008826/0.398, allocations: 79.89 kB / 317.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.3981, allocations: 4.062 kB / 317.8 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.3981, allocations: 12 kB / 317.8 MB, free: 3.008 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.3982, allocations: 4 kB / 317.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3982, allocations: 0 / 317.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.3998, allocations: 465.2 kB / 318.2 MB, free: 2.527 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.3999, allocations: 88.92 kB / 318.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.4, allocations: 8.062 kB / 318.3 MB, free: 2.414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.4003, allocations: 11.98 kB / 318.4 MB, free: 2.402 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.4004, allocations: 19.98 kB / 318.4 MB, free: 2.383 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.4005, allocations: 8 kB / 318.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001723/0.4007, allocations: 119.2 kB / 318.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4007, allocations: 0 / 318.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007173/0.4014, allocations: 56 kB / 318.6 MB, free: 2.203 MB / 250.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.002007/0.4035, allocations: 0.9896 MB / 319.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.4045, allocations: 219.8 kB / 319.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.4046, allocations: 0 / 319.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005033/0.4051, allocations: 120.3 kB / 319.9 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007107/0.4058, allocations: 31.97 kB / 319.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005886/0.4117, allocations: 1.756 MB / 321.7 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.4123, allocations: 0.76 MB / 322.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.4125, allocations: 21.94 kB / 322.4 MB, free: 14.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.4128, allocations: 75.41 kB / 322.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4128, allocations: 0 / 322.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0487/0.4615, allocations: 3.996 MB / 326.5 MB, free: 10.16 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003407/0.4619, allocations: 180.2 kB / 326.7 MB, free: 9.926 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.519/2.981, allocations: 0 / 326.7 MB, free: 9.926 MB / 266.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:der(housing.phi),der(housing.w),der(load.phi),der(load.w),der(shaft.phi),der(shaft.w),der(springDamper.phi_rel),der(springDamper.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.phi0,housing.J,housing.a,housing.flange_a.phi,housing.flange_a.tau,housing.flange_b.phi,housing.flange_b.tau,housing.phi,housing.stateSelect,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.phi_support,idealGear.ratio,idealGear.support.phi,idealGear.support.tau,idealGear.useSupport,load.J,load.a,load.flange_a.phi,load.flange_a.tau,load.flange_b.phi,load.flange_b.tau,load.phi,load.stateSelect,load.w,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,shaft.flange_a.phi,shaft.flange_a.tau,shaft.flange_b.phi,shaft.flange_b.tau,shaft.phi,shaft.stateSelect,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,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.stateSelect,springDamper.tau,springDamper.tau_c,springDamper.tau_d,springDamper.useHeatPort,springDamper.w_rel,time,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.support.phi,torque.support.tau,torque.tau,torque.useSupport