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.Inertia.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.Inertia,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.068/2.068, allocations: 209.2 MB / 224.8 MB, free: 0.5703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.00046, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3699, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003798/0.3738, allocations: 2.343 MB / 333.6 MB, free: 5.109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.375, allocations: 438.5 kB / 334 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.3753, allocations: 16.59 kB / 334.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.3755, allocations: 44.27 kB / 334.1 MB, free: 4.758 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005022/0.376, allocations: 171 kB / 334.3 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.3763, allocations: 73.56 kB / 334.3 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006129/0.3769, allocations: 390.6 kB / 334.7 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002961/0.3772, allocations: 125.3 kB / 334.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.3775, allocations: 169.4 kB / 335 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.3778, allocations: 192.8 kB / 335.2 MB, free: 4.156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.3779, allocations: 28 kB / 335.2 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.378, allocations: 28.62 kB / 335.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.3781, allocations: 71.44 kB / 335.3 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3782, allocations: 114 kB / 335.4 MB, free: 4.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.3788, allocations: 386 kB / 335.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3789, allocations: 0 / 335.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.3789, allocations: 1.094 kB / 335.8 MB, free: 3.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3789, allocations: 0 / 335.8 MB, free: 3.949 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001214/0.3801, allocations: 0.6446 MB / 336.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.3802, allocations: 9.312 kB / 336.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/0.3803, allocations: 93.59 kB / 336.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3804, allocations: 50.06 kB / 336.6 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.3809, allocations: 285.2 kB / 336.9 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.3809, allocations: 35.72 kB / 336.9 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3811, allocations: 53.25 kB / 337 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000972/0.382, allocations: 454.7 kB / 337.4 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.053e-05/0.3821, allocations: 12.78 kB / 337.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/0.3822, allocations: 15.78 kB / 337.5 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.3822, allocations: 12.44 kB / 337.5 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006814/0.3829, allocations: 259.9 kB / 337.7 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003034/0.3859, allocations: 1.699 MB / 339.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.3867, allocations: 419.9 kB / 339.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3867, allocations: 8.844 kB / 339.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.3868, allocations: 51 kB / 339.9 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of pre-optimization done (n=42): time 3.647e-06/0.3868, allocations: 5.406 kB / 339.9 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.001025/0.3878, allocations: 353.2 kB / 340.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.3879, allocations: 267.5 kB / 340.5 MB, free: 228 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.3883, allocations: 249.2 kB / 340.7 MB, free: 48 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.3883, allocations: 32.67 kB / 340.8 MB, free: 12 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.3886, allocations: 308 kB / 341.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.3888, allocations: 183.2 kB / 341.2 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.3888, allocations: 14.28 kB / 341.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.389, allocations: 336.6 kB / 341.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.3893, allocations: 120.1 kB / 341.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.3899, allocations: 412 kB / 342.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/0.3904, allocations: 181.8 kB / 342.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.485e-05/0.3905, allocations: 3.25 kB / 342.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001325/0.3918, allocations: 0.5488 MB / 342.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.3918, allocations: 9.281 kB / 342.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.3919, allocations: 13.36 kB / 342.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/0.3919, allocations: 15.66 kB / 342.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.393, allocations: 181.2 kB / 343.1 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.114e-05/0.3931, allocations: 22.5 kB / 343.1 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/0.3936, allocations: 58.81 kB / 343.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.3937, allocations: 35.75 kB / 343.2 MB, free: 14.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0003595/0.3941, allocations: 185.9 kB / 343.4 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.3943, allocations: 39.27 kB / 343.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.3945, allocations: 42.33 kB / 343.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.3945, allocations: 10.36 kB / 343.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.3945, allocations: 3.625 kB / 343.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.3946, allocations: 7.188 kB / 343.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.3963, allocations: 419.1 kB / 343.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3964, allocations: 2.5 kB / 343.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.3976, allocations: 126.3 kB / 344 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.3976, allocations: 4.5 kB / 344 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.3977, allocations: 17.77 kB / 344 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.3977, allocations: 4.125 kB / 344 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.3977, allocations: 10.2 kB / 344 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.399, allocations: 1.083 MB / 345.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.3993, allocations: 108.8 kB / 345.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.3994, allocations: 17.78 kB / 345.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005805/0.4, allocations: 7.25 kB / 345.2 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.4, allocations: 37.25 kB / 345.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.498e-05/0.4001, allocations: 14.94 kB / 345.3 MB, free: 12.55 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.4004, allocations: 168.1 kB / 345.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4004, allocations: 0 / 345.5 MB, free: 12.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001191/0.4016, allocations: 135.6 kB / 345.6 MB, free: 12.4 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.001706/0.4033, allocations: 1.634 MB / 347.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009512/0.4043, allocations: 339.9 kB / 347.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4043, allocations: 4.625 kB / 347.6 MB, free: 10.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.4046, allocations: 124.4 kB / 347.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.4059, allocations: 87.45 kB / 347.8 MB, free: 10.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009101/0.415, allocations: 3.943 MB / 351.7 MB, free: 7.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.4157, allocations: 0.8433 MB / 352.5 MB, free: 6.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.416, allocations: 147.1 kB / 352.7 MB, free: 6.676 MB / 282.7 MB Notification: Performance of SimCode: time 1.022e-06/0.416, allocations: 0 / 352.7 MB, free: 6.676 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.378/2.794, allocations: 6.757 MB / 359.4 MB, free: 1.391 MB / 282.7 MB "" Variables in the reference:time,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w 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(inertia7a.phi),der(inertia7a.w),der(inertia8.phi),der(inertia8.w),der(inertia8a.phi),der(inertia8a.w),der(inertia9.phi),der(inertia9.w),der(inertia9a.phi),der(inertia9a.w),fixed.flange.phi,fixed.flange.tau,fixed.phi0,fixed1.flange.phi,fixed1.flange.tau,fixed1.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,inertia7a.J,inertia7a.a,inertia7a.flange_a.phi,inertia7a.flange_a.tau,inertia7a.flange_b.phi,inertia7a.flange_b.tau,inertia7a.phi,inertia7a.stateSelect,inertia7a.w,inertia8.J,inertia8.a,inertia8.flange_a.phi,inertia8.flange_a.tau,inertia8.flange_b.phi,inertia8.flange_b.tau,inertia8.phi,inertia8.stateSelect,inertia8.w,inertia8a.J,inertia8a.a,inertia8a.flange_a.phi,inertia8a.flange_a.tau,inertia8a.flange_b.phi,inertia8a.flange_b.tau,inertia8a.phi,inertia8a.stateSelect,inertia8a.w,inertia9.J,inertia9.a,inertia9.flange_a.phi,inertia9.flange_a.tau,inertia9.flange_b.phi,inertia9.flange_b.tau,inertia9.phi,inertia9.stateSelect,inertia9.w,inertia9a.J,inertia9a.a,inertia9a.flange_a.phi,inertia9a.flange_a.tau,inertia9a.flange_b.phi,inertia9a.flange_b.tau,inertia9a.phi,inertia9a.stateSelect,inertia9a.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,spring1.c,spring1.flange_a.phi,spring1.flange_a.tau,spring1.flange_b.phi,spring1.flange_b.tau,spring1.phi_rel,spring1.phi_rel0,spring1.tau,spring2.c,spring2.flange_a.phi,spring2.flange_a.tau,spring2.flange_b.phi,spring2.flange_b.tau,spring2.phi_rel,spring2.phi_rel0,spring2.tau,spring3.c,spring3.flange_a.phi,spring3.flange_a.tau,spring3.flange_b.phi,spring3.flange_b.tau,spring3.phi_rel,spring3.phi_rel0,spring3.tau,spring4.c,spring4.flange_a.phi,spring4.flange_a.tau,spring4.flange_b.phi,spring4.flange_b.tau,spring4.phi_rel,spring4.phi_rel0,spring4.tau,time