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.FreeMotionScalarInit5.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.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.822/1.822, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004159/0.000416, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.05628/0.3857, allocations: 38.05 MB / 369.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02583/0.4116, allocations: 9.372 MB / 378.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008045/0.4197, allocations: 187.5 kB / 378.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007039/0.4268, allocations: 1.979 MB / 380.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02065/0.4475, allocations: 5.614 MB / 386.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003402/0.4509, allocations: 0.5108 MB / 387 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00568/0.4566, allocations: 2.255 MB / 389.2 MB, free: 4.391 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008291/0.465, allocations: 4.147 MB / 393.4 MB, free: 196 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.467, allocations: 0.9731 MB / 394.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002426/0.4695, allocations: 1.355 MB / 395.7 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006302/0.4701, allocations: 152 kB / 395.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.4725, allocations: 0.8582 MB / 396.7 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002662/0.4752, allocations: 1.609 MB / 398.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.4766, allocations: 0.8972 MB / 399.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009609/0.4862, allocations: 6.032 MB / 405.3 MB, free: 4.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4863, allocations: 4 kB / 405.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4863, allocations: 3.938 kB / 405.3 MB, free: 4.273 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002216/0.4865, allocations: 0 / 405.3 MB, free: 4.273 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01452/0.501, allocations: 4.378 MB / 409.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5011, allocations: 12.03 kB / 409.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002479/0.5036, allocations: 0.8318 MB / 410.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02308/0.5267, allocations: 3.831 MB / 414.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007419/0.5342, allocations: 2.48 MB / 416.8 MB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/0.5345, allocations: 254.3 kB / 417.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/0.5357, allocations: 327.8 kB / 417.4 MB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/0.5645, allocations: 11.93 MB / 429.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000146/0.5647, allocations: 31.7 kB / 429.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000815/0.5655, allocations: 155.8 kB / 429.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00715/0.5727, allocations: 2.641 MB / 432.1 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03195/0.6047, allocations: 11.02 MB / 443.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3566/0.9613, allocations: 37.53 MB / 480.7 MB, free: 94.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.9726, allocations: 4.408 MB / 485.1 MB, free: 93.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00143/0.974, allocations: 1.318 MB / 486.4 MB, free: 92.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.9741, allocations: 53.97 kB / 486.5 MB, free: 92.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=244): time 5.661e-06/0.9741, allocations: 1.438 kB / 486.5 MB, free: 92.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=265): time 0.05923/1.033, allocations: 14.44 MB / 0.4892 GB, free: 88.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.033, allocations: 73.56 kB / 0.4892 GB, free: 88.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004525/1.038, allocations: 3.064 MB / 0.4922 GB, free: 87.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003991/1.038, allocations: 62.45 kB / 0.4923 GB, free: 87.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/1.04, allocations: 3.088 MB / 0.4953 GB, free: 84.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/1.041, allocations: 0.9758 MB / 0.4963 GB, free: 83.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/1.042, allocations: 117.3 kB / 0.4964 GB, free: 83.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003139/1.042, allocations: 0.5757 MB / 0.4969 GB, free: 82.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/1.047, allocations: 2.373 MB / 0.4993 GB, free: 81.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006119/1.053, allocations: 5.646 MB / 0.5048 GB, free: 76.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006761/1.059, allocations: 3.657 MB / 0.5083 GB, free: 73.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.875e-05/1.06, allocations: 32 kB / 0.5084 GB, free: 73.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02002/1.08, allocations: 8.654 MB / 0.5168 GB, free: 64.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/1.08, allocations: 52 kB / 0.5169 GB, free: 64.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/1.08, allocations: 116 kB / 0.517 GB, free: 64.22 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005731/1.086, allocations: 1.061 MB / 0.518 GB, free: 63.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006965/1.093, allocations: 1.369 MB / 0.5193 GB, free: 61.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/1.096, allocations: 2.505 MB / 0.5218 GB, free: 59.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/1.101, allocations: 320.5 kB / 0.5221 GB, free: 58.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005774/1.101, allocations: 345.8 kB / 0.5224 GB, free: 58.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 520 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[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 (741): * Single equations (assignments): 732 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004281/1.106, allocations: 2.368 MB / 0.5247 GB, free: 56.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005506/1.106, allocations: 296.2 kB / 0.525 GB, free: 55.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.119, allocations: 5.078 MB / 0.53 GB, free: 50.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.218e-05/1.119, allocations: 51.98 kB / 0.53 GB, free: 50.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.119, allocations: 288 / 0.53 GB, free: 50.63 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/1.119, allocations: 7.969 kB / 0.53 GB, free: 50.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/1.146, allocations: 11.78 MB / 0.5415 GB, free: 38.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.146, allocations: 9 kB / 0.5416 GB, free: 38.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/1.149, allocations: 427.3 kB / 0.542 GB, free: 38.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005485/1.155, allocations: 0.9074 MB / 0.5429 GB, free: 37.4 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/1.155, allocations: 57.03 kB / 0.5429 GB, free: 37.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/1.158, allocations: 2.311 MB / 0.5452 GB, free: 34.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.158, allocations: 8 kB / 0.5452 GB, free: 34.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/1.175, allocations: 7.515 MB / 0.5525 GB, free: 27.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/1.175, allocations: 353.1 kB / 0.5528 GB, free: 26.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000721/1.176, allocations: 49.2 kB / 0.5529 GB, free: 26.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.178, allocations: 149.1 kB / 0.553 GB, free: 26.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/1.179, allocations: 153.7 kB / 0.5532 GB, free: 26.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.179, allocations: 80.67 kB / 0.5533 GB, free: 26.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003214/1.182, allocations: 1.886 MB / 0.5551 GB, free: 24.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.182, allocations: 0 / 0.5551 GB, free: 24.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005076/1.187, allocations: 1.052 MB / 0.5561 GB, free: 23.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * 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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01724/1.204, allocations: 8.21 MB / 0.5641 GB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01333/1.218, allocations: 6.219 MB / 0.5702 GB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/1.218, allocations: 0 / 0.5702 GB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006401/1.224, allocations: 2.606 MB / 0.5728 GB, free: 6.184 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.227, allocations: 458.8 kB / 0.5732 GB, free: 5.746 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08113/1.309, allocations: 35.75 MB / 0.6081 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006808/1.315, allocations: 3.755 MB / 0.6118 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005178/1.321, allocations: 2.112 MB / 0.6138 GB, free: 9.191 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/1.321, allocations: 0 / 0.6138 GB, free: 9.191 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.21/5.531, allocations: 146.9 MB / 0.7573 GB, free: 30.35 MB / 442.7 MB