Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Rotational.InitializationConversion.Inertia.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 234.9 MB / 250.4 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006171/0.0006173, allocations: 12 kB / 314.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3687, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003915/0.3726, allocations: 2.356 MB / 371.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009707/0.3737, allocations: 442.6 kB / 372.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.3739, allocations: 11.94 kB / 372.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.374, allocations: 47.61 kB / 372.1 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.3745, allocations: 179.5 kB / 372.3 MB, free: 9.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.3747, allocations: 71.92 kB / 372.4 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005923/0.3753, allocations: 387.2 kB / 372.7 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.3757, allocations: 125.1 kB / 372.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.3759, allocations: 167.4 kB / 373 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.3762, allocations: 195.2 kB / 373.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.3763, allocations: 24 kB / 373.2 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3764, allocations: 24 kB / 373.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.93e-05/0.3765, allocations: 71.75 kB / 373.3 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3767, allocations: 125.4 kB / 373.5 MB, free: 8.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005155/0.3772, allocations: 375.9 kB / 373.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3772, allocations: 4 kB / 373.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3772, allocations: 0 / 373.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3773, allocations: 0 / 373.8 MB, free: 8.188 MB / 298.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.001304/0.3786, allocations: 0.6431 MB / 374.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3786, allocations: 16.03 kB / 374.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.3788, allocations: 82.52 kB / 374.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3789, allocations: 55.44 kB / 374.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.3793, allocations: 286.4 kB / 374.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.3794, allocations: 37 kB / 374.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3795, allocations: 51.91 kB / 375 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009991/0.3805, allocations: 454.1 kB / 375.4 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.3806, allocations: 11.89 kB / 375.4 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.3806, allocations: 24 kB / 375.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.3806, allocations: 12 kB / 375.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006824/0.3813, allocations: 249.5 kB / 375.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.3847, allocations: 1.703 MB / 377.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007855/0.3855, allocations: 411.4 kB / 377.8 MB, free: 3.891 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.3855, allocations: 15.94 kB / 377.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.3856, allocations: 50.48 kB / 377.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 2.986e-06/0.3856, allocations: 0 / 377.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.001122/0.3867, allocations: 346 kB / 378.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.3869, allocations: 273 kB / 378.5 MB, free: 3.145 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.3872, allocations: 246.8 kB / 378.7 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.3873, allocations: 33.7 kB / 378.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.3875, allocations: 302 kB / 379.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000181/0.3877, allocations: 189.4 kB / 379.2 MB, free: 2.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3877, allocations: 12 kB / 379.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3879, allocations: 346.7 kB / 379.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.3882, allocations: 117.9 kB / 379.7 MB, free: 1.895 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/0.3889, allocations: 413.6 kB / 380.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.3894, allocations: 184.8 kB / 380.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3894, allocations: 3.938 kB / 380.3 MB, free: 1.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001345/0.3908, allocations: 0.5565 MB / 380.9 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.3908, allocations: 12 kB / 380.9 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.3908, allocations: 8 kB / 380.9 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-05/0.3909, allocations: 16 kB / 380.9 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3919, allocations: 175.7 kB / 381.1 MB, free: 408 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.841e-05/0.392, allocations: 19.94 kB / 381.1 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.3924, allocations: 59.44 kB / 381.1 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.3925, allocations: 35.98 kB / 381.2 MB, free: 292 kB / 298.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.0002896/0.3928, allocations: 193.7 kB / 381.4 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.393, allocations: 35.62 kB / 381.4 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.3932, allocations: 41.7 kB / 381.4 MB, free: 12 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3932, allocations: 8 kB / 381.4 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.3932, allocations: 0 / 381.4 MB, free: 4 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/0.3933, allocations: 11.98 kB / 381.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.3948, allocations: 421 kB / 381.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3948, allocations: 0 / 381.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.396, allocations: 123.9 kB / 382 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.396, allocations: 8 kB / 382 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.678e-05/0.3961, allocations: 15.98 kB / 382 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.707e-06/0.3961, allocations: 4 kB / 382 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3961, allocations: 4 kB / 382 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.3973, allocations: 1.078 MB / 383.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3974, allocations: 112.6 kB / 383.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.3975, allocations: 19.98 kB / 383.2 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/0.3981, allocations: 4 kB / 383.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.3982, allocations: 35.91 kB / 383.3 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.3983, allocations: 12 kB / 383.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002218/0.3985, allocations: 174 kB / 383.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3985, allocations: 0 / 383.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001116/0.3996, allocations: 135.7 kB / 383.6 MB, free: 13.77 MB / 314.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.001491/0.4011, allocations: 1.635 MB / 385.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009016/0.4021, allocations: 337.5 kB / 385.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/0.4021, allocations: 4.312 kB / 385.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.4024, allocations: 131.9 kB / 385.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4035, allocations: 72.44 kB / 385.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/0.4121, allocations: 3.959 MB / 389.7 MB, free: 7.398 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.4127, allocations: 0.8395 MB / 390.5 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003135/0.413, allocations: 143.4 kB / 390.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/0.413, allocations: 0 / 390.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.342/2.755, allocations: 6.77 MB / 397.5 MB, free: 15.62 MB / 330.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