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.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.847/1.847, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004279, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3569, allocations: 48.71 MB / 331.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3): time 0.05089/0.4078, allocations: 34.83 MB / 366.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02398/0.4319, allocations: 8.675 MB / 374.8 MB, free: 2.891 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0072/0.4391, allocations: 167.6 kB / 375 MB, free: 2.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006491/0.4457, allocations: 1.793 MB / 376.7 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01932/0.465, allocations: 5.135 MB / 381.9 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003266/0.4683, allocations: 0.5108 MB / 382.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005996/0.4744, allocations: 2.372 MB / 384.8 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00845/0.4829, allocations: 4.266 MB / 389 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.4849, allocations: 1.039 MB / 390.1 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002627/0.4876, allocations: 1.421 MB / 391.5 MB, free: 2.098 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006826/0.4883, allocations: 164 kB / 391.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002432/0.4907, allocations: 0.8934 MB / 392.5 MB, free: 1.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.4929, allocations: 1.691 MB / 394.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.4942, allocations: 0.9323 MB / 395.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009658/0.5038, allocations: 6.293 MB / 401.5 MB, free: 8.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5039, allocations: 0 / 401.5 MB, free: 8.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.5039, allocations: 4 kB / 401.5 MB, free: 8.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001884/0.5041, allocations: 0 / 401.5 MB, free: 8.094 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01449/0.5186, allocations: 4.511 MB / 406 MB, free: 3.516 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5187, allocations: 15.97 kB / 406 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002226/0.5209, allocations: 0.8768 MB / 406.9 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/0.544, allocations: 3.858 MB / 410.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007646/0.5517, allocations: 2.519 MB / 413.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.5521, allocations: 266.7 kB / 413.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/0.5537, allocations: 351.7 kB / 413.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03131/0.585, allocations: 12.63 MB / 426.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.5852, allocations: 27.72 kB / 426.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007586/0.586, allocations: 163.8 kB / 426.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007597/0.5936, allocations: 2.75 MB / 429.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03473/0.6284, allocations: 11.56 MB / 441 MB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08705/0.7155, allocations: 40.12 MB / 481.1 MB, free: 6.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01667/0.7322, allocations: 4.973 MB / 486.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2855/1.018, allocations: 6.524 MB / 492.6 MB, free: 127.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/1.018, allocations: 51.41 kB / 492.6 MB, free: 127.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=228): time 7.154e-06/1.018, allocations: 3.75 kB / 492.6 MB, free: 127.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.06028/1.078, allocations: 16.8 MB / 0.4975 GB, free: 121.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/1.078, allocations: 75.47 kB / 0.4976 GB, free: 121.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00514/1.083, allocations: 3.287 MB / 0.5008 GB, free: 120.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004455/1.084, allocations: 54.17 kB / 0.5008 GB, free: 120 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.086, allocations: 3.268 MB / 0.504 GB, free: 117.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.087, allocations: 0.8933 MB / 0.5049 GB, free: 116.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/1.087, allocations: 123.7 kB / 0.505 GB, free: 116.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003396/1.088, allocations: 0.5666 MB / 0.5056 GB, free: 116.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004958/1.093, allocations: 2.384 MB / 0.5079 GB, free: 115 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006282/1.099, allocations: 5.762 MB / 0.5135 GB, free: 107.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00736/1.106, allocations: 3.685 MB / 0.5171 GB, free: 104 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-05/1.107, allocations: 36 kB / 0.5172 GB, free: 103.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=803) (initialization): time 0.02197/1.129, allocations: 8.857 MB / 0.5258 GB, free: 95.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.272e-05/1.129, allocations: 55.95 kB / 0.5259 GB, free: 95.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001264/1.129, allocations: 120.8 kB / 0.526 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006038/1.135, allocations: 1.163 MB / 0.5271 GB, free: 93.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007603/1.142, allocations: 1.372 MB / 0.5285 GB, free: 92.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008305/1.151, allocations: 4.654 MB / 0.533 GB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/1.157, allocations: 329.5 kB / 0.5333 GB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008686/1.157, allocations: 353.1 kB / 0.5337 GB, free: 86.89 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.004841/1.162, allocations: 2.415 MB / 0.536 GB, free: 84.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/1.163, allocations: 300.1 kB / 0.5363 GB, free: 84.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.174, allocations: 4.451 MB / 0.5406 GB, free: 79.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.877e-05/1.174, allocations: 49.16 kB / 0.5407 GB, free: 79.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/1.174, allocations: 0 / 0.5407 GB, free: 79.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.174, allocations: 13.66 kB / 0.5407 GB, free: 79.63 MB / 410.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.02435/1.199, allocations: 10.6 MB / 0.5511 GB, free: 68.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.199, allocations: 8 kB / 0.5511 GB, free: 68.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00332/1.202, allocations: 383.4 kB / 0.5514 GB, free: 68.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/1.205, allocations: 0.6736 MB / 0.5521 GB, free: 67.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002549/1.206, allocations: 47.98 kB / 0.5521 GB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/1.209, allocations: 2.444 MB / 0.5545 GB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.209, allocations: 4 kB / 0.5545 GB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.224, allocations: 6.794 MB / 0.5612 GB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008962/1.225, allocations: 357.1 kB / 0.5615 GB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008317/1.226, allocations: 48.69 kB / 0.5615 GB, free: 57.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/1.228, allocations: 133 kB / 0.5617 GB, free: 57.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/1.229, allocations: 135 kB / 0.5618 GB, free: 57.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002234/1.229, allocations: 71.98 kB / 0.5619 GB, free: 57.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003628/1.233, allocations: 2.01 MB / 0.5638 GB, free: 55.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.233, allocations: 0 / 0.5638 GB, free: 55.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005913/1.238, allocations: 1.086 MB / 0.5649 GB, free: 54.49 MB / 410.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.01485/1.253, allocations: 7.469 MB / 0.5722 GB, free: 46.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/1.266, allocations: 5.819 MB / 0.5779 GB, free: 41.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/1.266, allocations: 0.8125 kB / 0.5779 GB, free: 41.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00615/1.272, allocations: 2.413 MB / 0.5802 GB, free: 38.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.275, allocations: 417.9 kB / 0.5806 GB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07315/1.348, allocations: 36.08 MB / 0.6159 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006705/1.355, allocations: 3.839 MB / 0.6196 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004982/1.36, allocations: 2.171 MB / 0.6217 GB, free: 9.234 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.36, allocations: 0 / 0.6217 GB, free: 9.234 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.847/6.207, allocations: 139.7 MB / 0.7582 GB, free: 48.53 MB / 442.7 MB