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.JointRRP.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.JointRRP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.731/1.731, allocations: 209.2 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004065, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2952, allocations: 48.7 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRP): time 0.05654/0.3518, allocations: 43.26 MB / 374.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02409/0.3759, allocations: 9.648 MB / 384.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007801/0.3838, allocations: 207.5 kB / 384.4 MB, free: 9.273 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007095/0.3909, allocations: 2.142 MB / 386.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01951/0.4105, allocations: 5.641 MB / 392.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.4139, allocations: 0.5388 MB / 392.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003097/0.417, allocations: 1.46 MB / 394.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01113/0.4282, allocations: 6.404 MB / 400.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.4295, allocations: 0.8214 MB / 401.4 MB, free: 8.16 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.4312, allocations: 1.055 MB / 402.5 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.4316, allocations: 144 kB / 402.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.433, allocations: 0.5618 MB / 403.2 MB, free: 6.398 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.4345, allocations: 1.375 MB / 404.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.4354, allocations: 0.7767 MB / 405.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007437/0.4428, allocations: 5.965 MB / 411.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4429, allocations: 0 / 411.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.942e-06/0.4429, allocations: 3.984 kB / 411.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001298/0.443, allocations: 0 / 411.3 MB, free: 14.25 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1377 * Number of variables: 1377 Notification: Performance of Generate backend data structure: time 0.01042/0.4535, allocations: 3.893 MB / 415.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4535, allocations: 8.031 kB / 415.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001386/0.4549, allocations: 0.677 MB / 415.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.4586, allocations: 0.6382 MB / 416.5 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005206/0.4638, allocations: 2.141 MB / 418.6 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002434/0.4641, allocations: 266.9 kB / 418.9 MB, free: 6.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007621/0.4648, allocations: 343.9 kB / 419.2 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0242/0.4891, allocations: 9.406 MB / 428.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-05/0.4892, allocations: 19.81 kB / 428.7 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004862/0.4897, allocations: 155.9 kB / 428.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004061/0.4938, allocations: 1.554 MB / 430.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/0.5166, allocations: 7.364 MB / 437.7 MB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04841/0.5651, allocations: 27.87 MB / 465.6 MB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.5752, allocations: 2.203 MB / 467.8 MB, free: 4.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0121/0.5873, allocations: 6.76 MB / 474.6 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.5874, allocations: 55.02 kB / 474.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 3.095e-06/0.5874, allocations: 0 / 474.6 MB, free: 13.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=99): time 0.02608/0.6135, allocations: 7.441 MB / 482.1 MB, free: 5.656 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.6136, allocations: 167.2 kB / 482.2 MB, free: 5.457 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/0.6182, allocations: 2.665 MB / 484.9 MB, free: 2.777 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.6184, allocations: 45.7 kB / 484.9 MB, free: 2.727 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/0.6204, allocations: 2.494 MB / 487.4 MB, free: 204 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2361/0.8564, allocations: 395 kB / 487.8 MB, free: 132.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.8568, allocations: 77.03 kB / 487.9 MB, free: 132.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002907/0.8571, allocations: 480.6 kB / 488.3 MB, free: 131.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00272/0.8599, allocations: 1.099 MB / 489.4 MB, free: 131.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/0.8636, allocations: 3.438 MB / 492.9 MB, free: 128.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/0.8676, allocations: 1.866 MB / 494.8 MB, free: 127.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.365e-05/0.8677, allocations: 24.25 kB / 494.8 MB, free: 127.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=504) (initialization): time 0.009399/0.8771, allocations: 4.368 MB / 499.1 MB, free: 125.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.484e-05/0.8772, allocations: 40.22 kB / 499.2 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.8774, allocations: 82.69 kB / 499.3 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.8775, allocations: 123.1 kB / 499.4 MB, free: 125.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004821/0.8824, allocations: 0.9412 MB / 0.4886 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001408/0.8825, allocations: 161.9 kB / 0.4888 GB, free: 125.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.8855, allocations: 212 kB / 0.489 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/0.8859, allocations: 237.7 kB / 0.4892 GB, free: 125.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 43 (jointRRP.jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (502): * Single equations (assignments): 501 * Array equations: 1 * 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.003308/0.8892, allocations: 1.743 MB / 0.4909 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/0.8897, allocations: 235.9 kB / 0.4911 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.8921, allocations: 1.189 MB / 0.4923 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.8921, allocations: 10.41 kB / 0.4923 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.8921, allocations: 1.25 kB / 0.4923 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.8922, allocations: 4.984 kB / 0.4923 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.9026, allocations: 6.373 MB / 0.4985 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/0.9027, allocations: 15.5 kB / 0.4985 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/0.9042, allocations: 250.6 kB / 0.4988 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.528e-05/0.9042, allocations: 23.38 kB / 0.4988 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/0.9043, allocations: 43.12 kB / 0.4988 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.542e-05/0.9043, allocations: 35.16 kB / 0.4989 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/0.9044, allocations: 29.61 kB / 0.4989 GB, free: 121.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/0.9073, allocations: 2.101 MB / 0.5009 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/0.9079, allocations: 343.1 kB / 0.5013 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003973/0.9083, allocations: 48.36 kB / 0.5013 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.9097, allocations: 54.75 kB / 0.5014 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.9098, allocations: 131.5 kB / 0.5015 GB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/0.9099, allocations: 59.08 kB / 0.5015 GB, free: 119.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002879/0.9128, allocations: 1.757 MB / 0.5033 GB, free: 118.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9128, allocations: 0 / 0.5033 GB, free: 118.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003573/0.9164, allocations: 0.6974 MB / 0.5039 GB, free: 117.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 76 * 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 (123): * Single equations (assignments): 123 * 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.003301/0.9197, allocations: 2.713 MB / 0.5066 GB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005092/0.9249, allocations: 2.561 MB / 0.5091 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.9249, allocations: 0 / 0.5091 GB, free: 112.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.9261, allocations: 0.6376 MB / 0.5097 GB, free: 111.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.9279, allocations: 326 kB / 0.51 GB, free: 111.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0216/0.9495, allocations: 14.18 MB / 0.5239 GB, free: 95.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003513/0.9531, allocations: 3.029 MB / 0.5268 GB, free: 92.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00249/0.9556, allocations: 1.62 MB / 0.5284 GB, free: 91.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9556, allocations: 0 / 0.5284 GB, free: 91.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.369/4.325, allocations: 62.18 MB / 0.5891 GB, free: 28.81 MB / 410.7 MB