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.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 234.9 MB / 250.4 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003922, allocations: 12 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3146, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.05001/0.3646, allocations: 34.85 MB / 404.1 MB, free: 7.781 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02254/0.3872, allocations: 8.699 MB / 412.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005809/0.3931, allocations: 167.6 kB / 413 MB, free: 14.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005875/0.399, allocations: 1.793 MB / 414.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01842/0.4175, allocations: 5.135 MB / 419.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.4206, allocations: 0.4952 MB / 420.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006039/0.4267, allocations: 2.366 MB / 422.8 MB, free: 5.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009185/0.4359, allocations: 4.277 MB / 427.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.4385, allocations: 1.031 MB / 428.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003103/0.4417, allocations: 1.421 MB / 429.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.4428, allocations: 164 kB / 429.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.4458, allocations: 0.905 MB / 430.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002469/0.4483, allocations: 1.691 MB / 432.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.4495, allocations: 0.9361 MB / 433.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009221/0.4588, allocations: 6.286 MB / 439.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4588, allocations: 0 / 439.5 MB, free: 4.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4588, allocations: 4 kB / 439.5 MB, free: 4.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002269/0.4591, allocations: 0 / 439.5 MB, free: 4.277 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01432/0.4734, allocations: 4.516 MB / 444 MB, free: 15.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.4735, allocations: 15.97 kB / 444 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002354/0.4759, allocations: 0.8768 MB / 444.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02266/0.4985, allocations: 3.858 MB / 448.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007133/0.5057, allocations: 2.523 MB / 451.3 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003239/0.5061, allocations: 262.7 kB / 451.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/0.5077, allocations: 351.8 kB / 451.9 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/0.538, allocations: 12.63 MB / 464.5 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001474/0.5382, allocations: 27.75 kB / 464.5 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008197/0.5391, allocations: 163.8 kB / 464.7 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007497/0.5466, allocations: 2.743 MB / 467.4 MB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3158/0.8624, allocations: 11.56 MB / 479 MB, free: 84.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0682/0.9306, allocations: 40.13 MB / 0.507 GB, free: 54.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0138/0.9445, allocations: 4.963 MB / 0.5118 GB, free: 49.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/0.9566, allocations: 6.523 MB / 0.5182 GB, free: 42.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.465e-05/0.9567, allocations: 56.5 kB / 0.5182 GB, free: 42.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=228): time 6.031e-06/0.9567, allocations: 0 / 0.5182 GB, free: 42.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=237): time 0.05223/1.009, allocations: 16.8 MB / 0.5346 GB, free: 25.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/1.009, allocations: 77.34 kB / 0.5347 GB, free: 25.28 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004722/1.014, allocations: 3.276 MB / 0.5379 GB, free: 21.99 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003337/1.014, allocations: 57.7 kB / 0.538 GB, free: 21.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/1.016, allocations: 3.27 MB / 0.5412 GB, free: 18.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008833/1.017, allocations: 0.893 MB / 0.542 GB, free: 17.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/1.017, allocations: 116 kB / 0.5421 GB, free: 17.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003113/1.017, allocations: 0.5711 MB / 0.5427 GB, free: 17.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004595/1.022, allocations: 2.382 MB / 0.545 GB, free: 14.69 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/1.028, allocations: 5.765 MB / 0.5507 GB, free: 7.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006681/1.035, allocations: 3.685 MB / 0.5543 GB, free: 3.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.467e-05/1.035, allocations: 32 kB / 0.5543 GB, free: 3.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02158/1.056, allocations: 8.856 MB / 0.5629 GB, free: 10.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-05/1.056, allocations: 59.95 kB / 0.563 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.057, allocations: 119.9 kB / 0.5631 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006028/1.063, allocations: 1.167 MB / 0.5642 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007636/1.07, allocations: 1.376 MB / 0.5656 GB, free: 7.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00926/1.08, allocations: 4.648 MB / 0.5701 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/1.085, allocations: 324.7 kB / 0.5704 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006868/1.086, allocations: 357 kB / 0.5708 GB, free: 2.469 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (743): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.005191/1.091, allocations: 2.409 MB / 0.5731 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000666/1.091, allocations: 300.1 kB / 0.5734 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/1.103, allocations: 4.456 MB / 0.5778 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.048e-05/1.103, allocations: 44 kB / 0.5778 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.103, allocations: 7.984 kB / 0.5778 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.55e-05/1.103, allocations: 9 kB / 0.5778 GB, free: 11.21 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02573/1.129, allocations: 10.61 MB / 0.5882 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.129, allocations: 4.594 kB / 0.5882 GB, free: 484 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003113/1.132, allocations: 391.4 kB / 0.5886 GB, free: 92 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/1.136, allocations: 0.6775 MB / 0.5892 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/1.136, allocations: 47.98 kB / 0.5893 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/1.14, allocations: 2.432 MB / 0.5916 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.14, allocations: 8 kB / 0.5917 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.155, allocations: 6.799 MB / 0.5983 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008529/1.156, allocations: 353.1 kB / 0.5986 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006626/1.157, allocations: 44 kB / 0.5987 GB, free: 5.469 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002215/1.159, allocations: 143.7 kB / 0.5988 GB, free: 5.328 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003788/1.16, allocations: 129.7 kB / 0.5989 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002264/1.16, allocations: 67.81 kB / 0.599 GB, free: 5.141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004038/1.164, allocations: 2.01 MB / 0.601 GB, free: 3.133 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.164, allocations: 0 / 0.601 GB, free: 3.133 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005471/1.169, allocations: 1.078 MB / 0.602 GB, free: 2.059 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,body.w_a[1],body.w_a[2],body.w_a[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 (191): * Single equations (assignments): 182 * 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.01643/1.186, allocations: 7.461 MB / 0.6093 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01378/1.2, allocations: 5.816 MB / 0.615 GB, free: 4.707 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.2, allocations: 1.938 kB / 0.615 GB, free: 4.707 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006393/1.206, allocations: 2.419 MB / 0.6173 GB, free: 2.234 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.209, allocations: 408.8 kB / 0.6177 GB, free: 1.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3639/1.573, allocations: 36.09 MB / 0.653 GB, free: 170.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006344/1.579, allocations: 3.832 MB / 0.6567 GB, free: 169.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004036/1.583, allocations: 2.167 MB / 0.6588 GB, free: 167.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/1.583, allocations: 0 / 0.6588 GB, free: 167.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.958/5.541, allocations: 139.8 MB / 0.7953 GB, free: 36.74 MB / 490.7 MB