Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.165/2.165, allocations: 234.9 MB / 250.5 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005837/0.0005838, allocations: 12 kB / 314.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3458, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.05682/0.4027, allocations: 38.07 MB / 407.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02462/0.4273, allocations: 9.394 MB / 416.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006925/0.4343, allocations: 187.5 kB / 416.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006491/0.4409, allocations: 1.972 MB / 418.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02025/0.4612, allocations: 5.626 MB / 424.5 MB, free: 5.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003297/0.4645, allocations: 499.2 kB / 425 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005554/0.4701, allocations: 2.266 MB / 427.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008883/0.479, allocations: 4.158 MB / 431.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002024/0.4811, allocations: 0.9769 MB / 432.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.4839, allocations: 1.347 MB / 433.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007552/0.4847, allocations: 152 kB / 433.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/0.4873, allocations: 0.862 MB / 434.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002525/0.4899, allocations: 1.613 MB / 436.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.4912, allocations: 0.8933 MB / 437.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009636/0.5009, allocations: 6.032 MB / 443.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5009, allocations: 3.938 kB / 443.3 MB, free: 2.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5009, allocations: 4 kB / 443.3 MB, free: 2.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002157/0.5012, allocations: 0 / 443.3 MB, free: 2.492 MB / 362.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.01471/0.5159, allocations: 4.368 MB / 447.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.516, allocations: 12.03 kB / 447.7 MB, free: 14.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002494/0.5185, allocations: 0.8357 MB / 448.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/0.542, allocations: 3.831 MB / 452.3 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00754/0.5496, allocations: 2.484 MB / 454.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/0.55, allocations: 246.3 kB / 455.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001794/0.5518, allocations: 331.7 kB / 455.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02899/0.5808, allocations: 11.94 MB / 467.3 MB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001684/0.5811, allocations: 31.7 kB / 467.4 MB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/0.5822, allocations: 151.8 kB / 467.5 MB, free: 9.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007797/0.59, allocations: 2.641 MB / 470.2 MB, free: 7.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03276/0.6228, allocations: 11.01 MB / 481.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3882/1.011, allocations: 37.54 MB / 0.5066 GB, free: 99.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/1.023, allocations: 4.404 MB / 0.5109 GB, free: 98.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/1.024, allocations: 1.331 MB / 0.5122 GB, free: 97.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.326e-05/1.024, allocations: 50.31 kB / 0.5122 GB, free: 97.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.513e-06/1.024, allocations: 0 / 0.5122 GB, free: 97.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.06336/1.088, allocations: 14.43 MB / 0.5263 GB, free: 93.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/1.088, allocations: 80.78 kB / 0.5264 GB, free: 93.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/1.092, allocations: 3.067 MB / 0.5294 GB, free: 90.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004408/1.093, allocations: 64.91 kB / 0.5294 GB, free: 90.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001788/1.095, allocations: 3.085 MB / 0.5324 GB, free: 87.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.096, allocations: 0.981 MB / 0.5334 GB, free: 86.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003962/1.096, allocations: 117 kB / 0.5335 GB, free: 85.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003237/1.097, allocations: 0.5631 MB / 0.5341 GB, free: 85.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004731/1.101, allocations: 2.373 MB / 0.5364 GB, free: 82.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006132/1.107, allocations: 5.644 MB / 0.5419 GB, free: 75.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007048/1.115, allocations: 3.663 MB / 0.5455 GB, free: 72.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.909e-05/1.115, allocations: 32 kB / 0.5455 GB, free: 72.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02149/1.136, allocations: 8.65 MB / 0.5539 GB, free: 63.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/1.136, allocations: 52.94 kB / 0.554 GB, free: 63.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/1.136, allocations: 116 kB / 0.5541 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006265/1.143, allocations: 1.06 MB / 0.5551 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007446/1.15, allocations: 1.369 MB / 0.5565 GB, free: 60.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/1.154, allocations: 2.497 MB / 0.5589 GB, free: 58.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00508/1.159, allocations: 325.3 kB / 0.5592 GB, free: 57.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005803/1.159, allocations: 344 kB / 0.5596 GB, free: 57.63 MB / 426.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.004465/1.164, allocations: 2.374 MB / 0.5619 GB, free: 55.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005791/1.164, allocations: 296.2 kB / 0.5622 GB, free: 54.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.179, allocations: 5.077 MB / 0.5671 GB, free: 49.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.971e-05/1.179, allocations: 49.23 kB / 0.5672 GB, free: 49.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.179, allocations: 0 / 0.5672 GB, free: 49.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/1.179, allocations: 15.95 kB / 0.5672 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02809/1.207, allocations: 11.77 MB / 0.5787 GB, free: 37.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/1.207, allocations: 8 kB / 0.5787 GB, free: 37.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/1.21, allocations: 427.4 kB / 0.5791 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005991/1.216, allocations: 0.9116 MB / 0.58 GB, free: 36.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/1.217, allocations: 60.91 kB / 0.58 GB, free: 36.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003304/1.22, allocations: 2.303 MB / 0.5823 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/1.22, allocations: 11.94 kB / 0.5823 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01726/1.237, allocations: 7.524 MB / 0.5896 GB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/1.238, allocations: 341.1 kB / 0.59 GB, free: 25.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006968/1.239, allocations: 53.88 kB / 0.59 GB, free: 25.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.241, allocations: 143.7 kB / 0.5902 GB, free: 25.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/1.241, allocations: 162.8 kB / 0.5903 GB, free: 25.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002355/1.242, allocations: 72.92 kB / 0.5904 GB, free: 25.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003244/1.245, allocations: 1.882 MB / 0.5922 GB, free: 23.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.245, allocations: 0 / 0.5922 GB, free: 23.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005158/1.25, allocations: 1.062 MB / 0.5933 GB, free: 22.61 MB / 426.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.01774/1.268, allocations: 8.206 MB / 0.6013 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0137/1.282, allocations: 6.227 MB / 0.6073 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.282, allocations: 5 kB / 0.6074 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006549/1.288, allocations: 2.597 MB / 0.6099 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.291, allocations: 455.9 kB / 0.6103 GB, free: 4.883 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08047/1.372, allocations: 35.76 MB / 0.6452 GB, free: 14.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006418/1.378, allocations: 3.755 MB / 0.6489 GB, free: 10.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004784/1.383, allocations: 2.108 MB / 0.651 GB, free: 8.328 MB / 474.7 MB Notification: Performance of SimCode: time 8.01e-07/1.383, allocations: 0 / 0.651 GB, free: 8.328 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.186/5.569, allocations: 146.8 MB / 0.7944 GB, free: 58.82 MB / 490.7 MB