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.809/1.809, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005501/0.0005502, allocations: 8 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09682, allocations: 44.5 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003073/0.09993, allocations: 1.904 MB / 310.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1012, allocations: 0.5895 MB / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.1014, allocations: 7.938 kB / 310.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.211e-05/0.1015, allocations: 23.84 kB / 310.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1017, allocations: 91.73 kB / 311 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.1019, allocations: 39.95 kB / 311 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1023, allocations: 203.6 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1025, allocations: 77.8 kB / 311.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.1027, allocations: 91.66 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1028, allocations: 107.5 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.1029, allocations: 16 kB / 311.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.103, allocations: 12 kB / 311.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.103, allocations: 39.84 kB / 311.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.1031, allocations: 73.56 kB / 311.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.1034, allocations: 203.7 kB / 311.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.819e-06/0.1035, allocations: 0 / 311.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1035, allocations: 0 / 311.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1035, allocations: 4 kB / 311.8 MB, free: 13.54 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.000902/0.1044, allocations: 0.5029 MB / 312.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1045, allocations: 8.031 kB / 312.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.159e-05/0.1045, allocations: 35.62 kB / 312.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.1049, allocations: 243.1 kB / 312.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.105, allocations: 20.5 kB / 312.6 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-05/0.105, allocations: 28 kB / 312.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006011/0.1057, allocations: 228.9 kB / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.1057, allocations: 0 / 312.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.1057, allocations: 12 kB / 312.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1058, allocations: 7.984 kB / 312.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.1063, allocations: 186.1 kB / 313.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/0.108, allocations: 0.7695 MB / 313.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.1086, allocations: 229.2 kB / 314.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.1087, allocations: 8.422 kB / 314.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1087, allocations: 34.5 kB / 314.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 3.079e-06/0.1087, allocations: 0 / 314.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.002275/0.111, allocations: 0.9854 MB / 315.1 MB, free: 10 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1111, allocations: 55.41 kB / 315.1 MB, free: 9.938 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1113, allocations: 159.7 kB / 315.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.1113, allocations: 33.7 kB / 315.3 MB, free: 9.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1115, allocations: 215 kB / 315.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1116, allocations: 94.56 kB / 315.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.1116, allocations: 4 kB / 315.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1118, allocations: 326.8 kB / 316 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.1121, allocations: 83.89 kB / 316 MB, free: 9.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002833/0.1124, allocations: 115.4 kB / 316.2 MB, free: 8.887 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.1127, allocations: 87.97 kB / 316.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.752e-06/0.1127, allocations: 7.953 kB / 316.2 MB, free: 8.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000668/0.1134, allocations: 269.4 kB / 316.5 MB, free: 8.523 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1134, allocations: 4 kB / 316.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.583e-06/0.1134, allocations: 0 / 316.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1134, allocations: 4.094 kB / 316.5 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.1138, allocations: 79.89 kB / 316.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.1139, allocations: 4 kB / 316.6 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.114, allocations: 23.92 kB / 316.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.1141, allocations: 8 kB / 316.6 MB, free: 8.402 MB / 266.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.0001809/0.1143, allocations: 133.8 kB / 316.8 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.1143, allocations: 27.7 kB / 316.8 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.921e-05/0.1144, allocations: 26.56 kB / 316.8 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.1145, allocations: 4 kB / 316.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.246e-06/0.1145, allocations: 0 / 316.8 MB, free: 8.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1145, allocations: 3.984 kB / 316.8 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.1159, allocations: 0.6599 MB / 317.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.1159, allocations: 4 kB / 317.5 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/0.1164, allocations: 71.89 kB / 317.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.803e-06/0.1164, allocations: 4 kB / 317.6 MB, free: 7.402 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.1164, allocations: 8 kB / 317.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.564e-06/0.1164, allocations: 8.062 kB / 317.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.343e-06/0.1165, allocations: 0 / 317.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.1174, allocations: 465.5 kB / 318 MB, free: 6.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.1175, allocations: 96.89 kB / 318.1 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.1176, allocations: 8 kB / 318.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.1178, allocations: 15.98 kB / 318.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.1179, allocations: 11.98 kB / 318.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1179, allocations: 12 kB / 318.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.118, allocations: 115.2 kB / 318.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.094e-06/0.1181, allocations: 0 / 318.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004385/0.1185, allocations: 56 kB / 318.3 MB, free: 6.582 MB / 266.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.0001506/0.1187, allocations: 111.2 kB / 318.4 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006069/0.1193, allocations: 211.7 kB / 318.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.191e-06/0.1193, allocations: 0 / 318.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002823/0.1196, allocations: 112.9 kB / 318.8 MB, free: 6.145 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.12, allocations: 40.25 kB / 318.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.122, allocations: 1.021 MB / 319.8 MB, free: 5.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.1225, allocations: 0.764 MB / 320.6 MB, free: 4.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.1226, allocations: 19.44 kB / 320.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of SimCode: time 2.039e-06/0.1226, allocations: 0 / 320.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of Templates: time 0.00591/0.1285, allocations: 2.67 MB / 323.3 MB, free: 1.57 MB / 266.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.phi),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,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