Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.083/2.083, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006952/0.0006954, allocations: 16 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.379, allocations: 48.71 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003929/0.383, allocations: 2.53 MB / 333.8 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.385, allocations: 0.8156 MB / 334.6 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.3855, allocations: 11 kB / 334.6 MB, free: 4.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.3857, allocations: 49.16 kB / 334.7 MB, free: 4.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006193/0.3863, allocations: 202.8 kB / 334.9 MB, free: 4.227 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.3867, allocations: 79.73 kB / 335 MB, free: 4.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.3874, allocations: 418 kB / 335.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.3877, allocations: 129.3 kB / 335.5 MB, free: 3.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.388, allocations: 194.8 kB / 335.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.3884, allocations: 214.6 kB / 335.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.3885, allocations: 23.34 kB / 335.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3886, allocations: 24.5 kB / 335.9 MB, free: 3.711 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.3887, allocations: 76.34 kB / 336 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3888, allocations: 118.1 kB / 336.1 MB, free: 3.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005971/0.3894, allocations: 410.4 kB / 336.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3894, allocations: 1.219 kB / 336.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3895, allocations: 0 / 336.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.3895, allocations: 0 / 336.5 MB, free: 3.496 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001301/0.3908, allocations: 0.6739 MB / 337.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.079e-05/0.3909, allocations: 9.156 kB / 337.2 MB, free: 2.938 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.391, allocations: 89.14 kB / 337.3 MB, free: 2.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.3911, allocations: 58.97 kB / 337.4 MB, free: 2.824 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.3916, allocations: 316 kB / 337.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.3916, allocations: 36.66 kB / 337.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3917, allocations: 52.06 kB / 337.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/0.3927, allocations: 428.1 kB / 338.2 MB, free: 2.219 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.3928, allocations: 11.34 kB / 338.2 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.214e-05/0.3928, allocations: 16.72 kB / 338.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.3929, allocations: 14.78 kB / 338.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007729/0.3936, allocations: 313.8 kB / 338.5 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.3961, allocations: 1.155 MB / 339.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.3972, allocations: 489.6 kB / 340.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.671e-05/0.3973, allocations: 10.16 kB / 340.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.3973, allocations: 46.42 kB / 340.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 3.476e-06/0.3974, allocations: 224 / 340.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of matching and sorting (n=74): time 0.004566/0.4019, allocations: 2.138 MB / 342.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.402, allocations: 85.86 kB / 342.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.4024, allocations: 245.2 kB / 342.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.4025, allocations: 40.55 kB / 342.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.4027, allocations: 269.1 kB / 343 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.403, allocations: 267.6 kB / 343.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.403, allocations: 14.94 kB / 343.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4032, allocations: 341.2 kB / 343.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.4037, allocations: 156.6 kB / 343.7 MB, free: 13.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005482/0.4042, allocations: 277.2 kB / 344 MB, free: 13.78 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.4047, allocations: 191 kB / 344.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4048, allocations: 5 kB / 344.2 MB, free: 13.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001324/0.4061, allocations: 0.5423 MB / 344.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.4061, allocations: 6.344 kB / 344.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4062, allocations: 2.5 kB / 344.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.4062, allocations: 6.125 kB / 344.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4074, allocations: 185.2 kB / 344.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.4074, allocations: 10.19 kB / 344.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.408, allocations: 21.62 kB / 345 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.408, allocations: 26.94 kB / 345 MB, free: 13.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * 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.000321/0.4084, allocations: 183.5 kB / 345.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4085, allocations: 46.34 kB / 345.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.4087, allocations: 66.64 kB / 345.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.4087, allocations: 8.219 kB / 345.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.4087, allocations: 4 kB / 345.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.4087, allocations: 5.078 kB / 345.3 MB, free: 13.1 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.4118, allocations: 1.449 MB / 346.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.4118, allocations: 3.156 kB / 346.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001301/0.4131, allocations: 158 kB / 346.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.617e-05/0.4132, allocations: 6.125 kB / 346.9 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.4132, allocations: 19.31 kB / 346.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/0.4133, allocations: 9.469 kB / 346.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4133, allocations: 3.906 kB / 346.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.4151, allocations: 0.9061 MB / 347.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002324/0.4154, allocations: 122.8 kB / 348 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4155, allocations: 15.56 kB / 348 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004945/0.416, allocations: 19.45 kB / 348 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.4161, allocations: 58.02 kB / 348.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.4162, allocations: 20.53 kB / 348.1 MB, free: 11.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002585/0.4164, allocations: 174.9 kB / 348.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4165, allocations: 0 / 348.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007565/0.4172, allocations: 143.6 kB / 348.4 MB, free: 11 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.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 (74): * Single equations (assignments): 74 * 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.002028/0.4193, allocations: 1.473 MB / 349.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001187/0.4205, allocations: 457 kB / 350.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4205, allocations: 0 / 350.3 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.421, allocations: 233.1 kB / 350.5 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4222, allocations: 109 kB / 350.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007726/0.4299, allocations: 3.51 MB / 354.1 MB, free: 6.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005496/0.4305, allocations: 0.8604 MB / 355 MB, free: 5.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/0.431, allocations: 175.4 kB / 355.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/0.431, allocations: 0 / 355.2 MB, free: 5.699 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.373/2.804, allocations: 7.74 MB / 362.9 MB, free: 13.96 MB / 298.7 MB "" Variables in the reference:time,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel Variables in the result:der(inertia1.phi),der(inertia1.w),der(inertia2.phi),der(inertia2.w),der(inertia3.phi),der(inertia3.w),der(inertia4.phi),der(inertia4.w),der(inertia5.phi),der(inertia5.w),der(inertia6.phi),der(inertia6.w),der(inertia7.phi),der(inertia7.w),der(relativeStates.phi_rel),der(relativeStates.w_rel),der(springDamper1.phi_rel),der(springDamper1.w_rel),der(springDamper2.phi_rel),der(springDamper2.w_rel),der(springDamper3.phi_rel),der(springDamper3.w_rel),der(springDamper4.phi_rel),der(springDamper4.w_rel),der(springDamper5.phi_rel),der(springDamper5.w_rel),fixed.flange.phi,fixed.flange.tau,fixed.phi0,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,inertia4.J,inertia4.a,inertia4.flange_a.phi,inertia4.flange_a.tau,inertia4.flange_b.phi,inertia4.flange_b.tau,inertia4.phi,inertia4.stateSelect,inertia4.w,inertia5.J,inertia5.a,inertia5.flange_a.phi,inertia5.flange_a.tau,inertia5.flange_b.phi,inertia5.flange_b.tau,inertia5.phi,inertia5.stateSelect,inertia5.w,inertia6.J,inertia6.a,inertia6.flange_a.phi,inertia6.flange_a.tau,inertia6.flange_b.phi,inertia6.flange_b.tau,inertia6.phi,inertia6.stateSelect,inertia6.w,inertia7.J,inertia7.a,inertia7.flange_a.phi,inertia7.flange_a.tau,inertia7.flange_b.phi,inertia7.flange_b.tau,inertia7.phi,inertia7.stateSelect,inertia7.w,relativeStates.a_rel,relativeStates.flange_a.phi,relativeStates.flange_a.tau,relativeStates.flange_b.phi,relativeStates.flange_b.tau,relativeStates.phi_nominal,relativeStates.phi_rel,relativeStates.stateSelect,relativeStates.w_rel,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,springDamper1.a_rel,springDamper1.c,springDamper1.d,springDamper1.flange_a.phi,springDamper1.flange_a.tau,springDamper1.flange_b.phi,springDamper1.flange_b.tau,springDamper1.lossPower,springDamper1.phi_nominal,springDamper1.phi_rel,springDamper1.phi_rel0,springDamper1.stateSelect,springDamper1.tau,springDamper1.tau_c,springDamper1.tau_d,springDamper1.useHeatPort,springDamper1.w_rel,springDamper2.a_rel,springDamper2.c,springDamper2.d,springDamper2.flange_a.phi,springDamper2.flange_a.tau,springDamper2.flange_b.phi,springDamper2.flange_b.tau,springDamper2.lossPower,springDamper2.phi_nominal,springDamper2.phi_rel,springDamper2.phi_rel0,springDamper2.stateSelect,springDamper2.tau,springDamper2.tau_c,springDamper2.tau_d,springDamper2.useHeatPort,springDamper2.w_rel,springDamper3.a_rel,springDamper3.c,springDamper3.d,springDamper3.flange_a.phi,springDamper3.flange_a.tau,springDamper3.flange_b.phi,springDamper3.flange_b.tau,springDamper3.lossPower,springDamper3.phi_nominal,springDamper3.phi_rel,springDamper3.phi_rel0,springDamper3.stateSelect,springDamper3.tau,springDamper3.tau_c,springDamper3.tau_d,springDamper3.useHeatPort,springDamper3.w_rel,springDamper4.a_rel,springDamper4.c,springDamper4.d,springDamper4.flange_a.phi,springDamper4.flange_a.tau,springDamper4.flange_b.phi,springDamper4.flange_b.tau,springDamper4.lossPower,springDamper4.phi_nominal,springDamper4.phi_rel,springDamper4.phi_rel0,springDamper4.stateSelect,springDamper4.tau,springDamper4.tau_c,springDamper4.tau_d,springDamper4.useHeatPort,springDamper4.w_rel,springDamper5.a_rel,springDamper5.c,springDamper5.d,springDamper5.flange_a.phi,springDamper5.flange_a.tau,springDamper5.flange_b.phi,springDamper5.flange_b.tau,springDamper5.lossPower,springDamper5.phi_nominal,springDamper5.phi_rel,springDamper5.phi_rel0,springDamper5.stateSelect,springDamper5.tau,springDamper5.tau_c,springDamper5.tau_d,springDamper5.useHeatPort,springDamper5.w_rel,time