Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.81/1.81, allocations: 209.2 MB / 224.8 MB, free: 1.473 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004046, allocations: 19.98 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09405/0.09447, allocations: 48.7 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.2622/0.3567, allocations: 14.76 MB / 346 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008877/0.3657, allocations: 3.724 MB / 349.8 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.3682, allocations: 63.44 kB / 349.8 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.3703, allocations: 0.6976 MB / 350.5 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007312/0.3777, allocations: 1.915 MB / 352.4 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.3789, allocations: 249.1 kB / 352.7 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3801, allocations: 498.9 kB / 353.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/0.382, allocations: 1.049 MB / 354.2 MB, free: 5.363 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.3825, allocations: 239.9 kB / 354.5 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008693/0.3834, allocations: 0.49 MB / 354.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.3836, allocations: 56.91 kB / 355 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.3845, allocations: 390.9 kB / 355.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005282/0.3851, allocations: 410.5 kB / 355.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.3853, allocations: 207.9 kB / 356 MB, free: 4.746 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.3872, allocations: 1.325 MB / 357.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.3873, allocations: 0 / 357.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3873, allocations: 0 / 357.3 MB, free: 4.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.3873, allocations: 5.281 kB / 357.3 MB, free: 4.406 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004075/0.3914, allocations: 1.442 MB / 358.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.3915, allocations: 9.125 kB / 358.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002805/0.3917, allocations: 178.5 kB / 358.9 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.3927, allocations: 166.7 kB / 359.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.3939, allocations: 0.6113 MB / 359.7 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.394, allocations: 58.09 kB / 359.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.3943, allocations: 86.92 kB / 359.9 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007979/0.4023, allocations: 2.701 MB / 362.6 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.638e-05/0.4024, allocations: 8.188 kB / 362.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/0.4025, allocations: 41.86 kB / 362.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007114/0.4032, allocations: 382.2 kB / 363 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008446/0.4117, allocations: 2.402 MB / 365.4 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.4246, allocations: 8.189 MB / 373.6 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006167/0.4308, allocations: 0.986 MB / 374.6 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/0.433, allocations: 1.739 MB / 376.3 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.4331, allocations: 45.88 kB / 376.3 MB, free: 6.922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 3.336e-06/0.4331, allocations: 0 / 376.3 MB, free: 6.922 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.01897/0.4521, allocations: 2.982 MB / 379.3 MB, free: 4.098 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.4521, allocations: 63.89 kB / 379.4 MB, free: 4.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.4538, allocations: 0.8638 MB / 380.2 MB, free: 3.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-05/0.4538, allocations: 37.7 kB / 380.3 MB, free: 3.109 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000564/0.4544, allocations: 0.6862 MB / 381 MB, free: 2.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002302/0.4546, allocations: 213.1 kB / 381.2 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.648e-05/0.4547, allocations: 20 kB / 381.2 MB, free: 2.184 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.4549, allocations: 358.8 kB / 381.5 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009048/0.4559, allocations: 362.4 kB / 381.9 MB, free: 1.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.4572, allocations: 0.9733 MB / 382.9 MB, free: 204 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.4585, allocations: 0.568 MB / 383.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.4585, allocations: 8 kB / 383.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002827/0.4613, allocations: 1.323 MB / 384.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.4614, allocations: 16.06 kB / 384.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/0.4614, allocations: 20 kB / 384.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.295e-05/0.4615, allocations: 36 kB / 384.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/0.4635, allocations: 315.5 kB / 385.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.4647, allocations: 1.364 MB / 386.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009255/0.4656, allocations: 51.92 kB / 386.6 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.4657, allocations: 68 kB / 386.6 MB, free: 12.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009543/0.4667, allocations: 495.9 kB / 387.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.4669, allocations: 98.75 kB / 387.2 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.4672, allocations: 112.4 kB / 387.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.4672, allocations: 4 kB / 387.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4672, allocations: 0 / 387.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.4672, allocations: 3.984 kB / 387.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/0.4724, allocations: 2.156 MB / 389.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.4724, allocations: 8 kB / 389.5 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008742/0.4733, allocations: 131.8 kB / 389.6 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.638e-05/0.4733, allocations: 8 kB / 389.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-05/0.4734, allocations: 20 kB / 389.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009878/0.4744, allocations: 1.326 MB / 391 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/0.4744, allocations: 11.89 kB / 391 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.4758, allocations: 0.8336 MB / 391.8 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.4762, allocations: 200 kB / 392 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.4764, allocations: 20 kB / 392 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005235/0.4769, allocations: 16 kB / 392.1 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.477, allocations: 55.78 kB / 392.1 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.732e-05/0.4771, allocations: 24 kB / 392.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001079/0.4781, allocations: 0.5771 MB / 392.7 MB, free: 5.828 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4782, allocations: 4 kB / 392.7 MB, free: 5.824 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001234/0.4794, allocations: 212 kB / 392.9 MB, free: 5.617 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001723/0.4811, allocations: 1.394 MB / 394.3 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.4832, allocations: 0.847 MB / 395.2 MB, free: 3.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.4832, allocations: 4 kB / 395.2 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007207/0.484, allocations: 280.3 kB / 395.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007608/0.4847, allocations: 121 kB / 395.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.4983, allocations: 6.68 MB / 402.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.4997, allocations: 1.24 MB / 403.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008255/0.5006, allocations: 395.3 kB / 403.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.5006, allocations: 0 / 403.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.541/3.041, allocations: 21.31 MB / 425.2 MB, free: 4.699 MB / 346.7 MB