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.FirstGrounded.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.FirstGrounded,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.233/2.233, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005205, allocations: 16 kB / 264 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4521/0.4526, allocations: 44.51 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.FirstGrounded): time 0.0044/0.4571, allocations: 1.843 MB / 310.4 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.459, allocations: 0.5856 MB / 311 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.4593, allocations: 7.938 kB / 311 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.349e-05/0.4594, allocations: 19.84 kB / 311 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003774/0.4598, allocations: 83.75 kB / 311.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.4601, allocations: 43.95 kB / 311.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.4605, allocations: 179.6 kB / 311.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.4608, allocations: 60.78 kB / 311.4 MB, free: 9.922 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.4611, allocations: 91.64 kB / 311.5 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.4614, allocations: 83.62 kB / 311.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.439e-05/0.4614, allocations: 12 kB / 311.6 MB, free: 9.738 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.629e-05/0.4615, allocations: 8 kB / 311.6 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.702e-05/0.4616, allocations: 39.83 kB / 311.6 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.4617, allocations: 69.58 kB / 311.7 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.4621, allocations: 168.5 kB / 311.8 MB, free: 9.453 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4621, allocations: 0 / 311.8 MB, free: 9.453 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4621, allocations: 0 / 311.8 MB, free: 9.453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.4622, allocations: 0 / 311.8 MB, free: 9.453 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001184/0.4634, allocations: 0.491 MB / 312.3 MB, free: 8.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.4634, allocations: 8.031 kB / 312.3 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.4636, allocations: 54.55 kB / 312.4 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.4637, allocations: 27.72 kB / 312.4 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.4641, allocations: 239.3 kB / 312.6 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.4642, allocations: 12.44 kB / 312.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.4643, allocations: 24 kB / 312.7 MB, free: 8.508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007361/0.465, allocations: 205.9 kB / 312.9 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.4651, allocations: 7.938 kB / 312.9 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.4652, allocations: 8 kB / 312.9 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4652, allocations: 4 kB / 312.9 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005865/0.4658, allocations: 125.7 kB / 313 MB, free: 8.152 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.4679, allocations: 0.721 MB / 313.7 MB, free: 7.375 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.4685, allocations: 150.8 kB / 313.9 MB, free: 7.219 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.4686, allocations: 7.953 kB / 313.9 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.4686, allocations: 34.5 kB / 313.9 MB, free: 7.168 MB / 250.7 MB Notification: Performance of pre-optimization done (n=20): time 6.432e-06/0.4686, allocations: 4 kB / 313.9 MB, free: 7.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=24): time 0.003188/0.4718, allocations: 0.8923 MB / 314.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.4719, allocations: 55.41 kB / 314.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.4723, allocations: 162.7 kB / 315 MB, free: 5.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.4723, allocations: 29.7 kB / 315.1 MB, free: 5.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.4725, allocations: 148.2 kB / 315.2 MB, free: 5.762 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4726, allocations: 82.81 kB / 315.3 MB, free: 5.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.4727, allocations: 4 kB / 315.3 MB, free: 5.676 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.4729, allocations: 334.8 kB / 315.6 MB, free: 5.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.4732, allocations: 63.91 kB / 315.7 MB, free: 5.277 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.4736, allocations: 101.3 kB / 315.8 MB, free: 5.164 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.4739, allocations: 79.86 kB / 315.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4739, allocations: 0 / 315.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001027/0.475, allocations: 254 kB / 316.1 MB, free: 4.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.475, allocations: 4 kB / 316.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.475, allocations: 128 / 316.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003186/0.4754, allocations: 40.84 kB / 316.2 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004966/0.4759, allocations: 51.91 kB / 316.2 MB, free: 4.73 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.4782, allocations: 1.39 MB / 317.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.4786, allocations: 12.03 kB / 317.6 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.4786, allocations: 7.984 kB / 317.6 MB, free: 3.184 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.4789, allocations: 141.7 kB / 317.8 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.479, allocations: 19.77 kB / 317.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.4791, allocations: 25.94 kB / 317.8 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.4791, allocations: 4 kB / 317.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4792, allocations: 0 / 317.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.4792, allocations: 3.984 kB / 317.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.4812, allocations: 0.6523 MB / 318.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.4812, allocations: 4 kB / 318.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.4817, allocations: 47.92 kB / 318.5 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002683/0.482, allocations: 32.83 kB / 318.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.834e-05/0.4821, allocations: 7.953 kB / 318.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.4843, allocations: 1.386 MB / 319.9 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.4844, allocations: 4.031 kB / 319.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.4857, allocations: 410.3 kB / 320.3 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4858, allocations: 101 kB / 320.4 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.4859, allocations: 8 kB / 320.5 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.4862, allocations: 11.98 kB / 320.5 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4863, allocations: 23.84 kB / 320.5 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4864, allocations: 12 kB / 320.5 MB, free: 52 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000296/0.4867, allocations: 119.2 kB / 320.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4867, allocations: 3.938 kB / 320.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007871/0.4875, allocations: 60 kB / 320.7 MB, free: 15.87 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002091/0.4896, allocations: 0.9379 MB / 321.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.4911, allocations: 294.4 kB / 321.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4911, allocations: 0 / 321.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.492, allocations: 217.4 kB / 322.1 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.4928, allocations: 38.12 kB / 322.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005999/0.4988, allocations: 1.542 MB / 323.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.4995, allocations: 0.744 MB / 324.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.4998, allocations: 29.92 kB / 324.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.5, allocations: 59.42 kB / 324.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5, allocations: 0 / 324.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.5336, allocations: 4.211 MB / 328.7 MB, free: 7.695 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004065/0.534, allocations: 199.6 kB / 328.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.097, allocations: 3.938 kB / 328.9 MB, free: 7.453 MB / 266.7 MB "" Variables in the reference:time,damper.phi_rel,damper.w_rel,inertia3.phi,inertia3.w Variables in the result:Jload,Jmotor,amplitude,damper.a_rel,damper.d,damper.flange_a.phi,damper.flange_a.tau,damper.flange_b.phi,damper.flange_b.tau,damper.lossPower,damper.phi_nominal,damper.phi_rel,damper.stateSelect,damper.tau,damper.useHeatPort,damper.w_rel,damping,der(damper.phi_rel),der(damper.w_rel),der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),fixed.flange.phi,fixed.flange.tau,fixed.phi0,freqHz,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.useSupport,inertia1.J,inertia1.a,inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,ratio,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,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,time,torque.flange.phi,torque.flange.tau,torque.phi_support,torque.tau,torque.useSupport