Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.236/2.236, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009374/0.0009374, allocations: 8 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4076, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.5789, allocations: 88.69 MB / 420 MB, free: 5.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.5793, allocations: 71.97 kB / 420.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7543/1.334, allocations: 102.1 MB / 0.51 GB, free: 85.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.526e-06/1.334, allocations: 0 / 0.51 GB, free: 85.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004163/1.334, allocations: 88.16 kB / 0.5101 GB, free: 85.45 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.05584/1.39, allocations: 6.897 MB / 0.5168 GB, free: 80.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.39, allocations: 15.97 kB / 0.5168 GB, free: 80.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004246/1.394, allocations: 0.781 MB / 0.5176 GB, free: 79.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05509/1.449, allocations: 7.302 MB / 0.5247 GB, free: 72.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06526/1.515, allocations: 18.24 MB / 0.5426 GB, free: 53.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/1.515, allocations: 312.1 kB / 0.5428 GB, free: 53.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002569/1.518, allocations: 443.6 kB / 0.5433 GB, free: 53.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02946/1.547, allocations: 10.6 MB / 0.5536 GB, free: 41.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003727/1.548, allocations: 79.22 kB / 0.5537 GB, free: 41.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002008/1.55, allocations: 203.9 kB / 0.5539 GB, free: 41.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0026/1.552, allocations: 1.049 MB / 0.5549 GB, free: 40.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02623/1.579, allocations: 9.265 MB / 0.564 GB, free: 30.82 MB / 394.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 preOpt removeSimpleEquations (simulation): time 0.08213/1.661, allocations: 51.16 MB / 0.6139 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01502/1.676, allocations: 3.863 MB / 0.6177 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/1.676, allocations: 25.75 kB / 0.6177 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/1.676, allocations: 58.73 kB / 0.6178 GB, free: 5.875 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 6.072e-06/1.676, allocations: 0 / 0.6178 GB, free: 5.875 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.3907/2.067, allocations: 22.69 MB / 0.6399 GB, free: 100.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005059/2.072, allocations: 6.217 MB / 0.646 GB, free: 95.09 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01681/2.089, allocations: 4.565 MB / 0.6505 GB, free: 94.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009127/2.09, allocations: 55.22 kB / 0.6505 GB, free: 94.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004313/2.094, allocations: 3.337 MB / 0.6538 GB, free: 92.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00226/2.097, allocations: 0.9156 MB / 0.6547 GB, free: 92.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/2.098, allocations: 145.1 kB / 0.6548 GB, free: 92.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007725/2.099, allocations: 0.6135 MB / 0.6554 GB, free: 92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01115/2.11, allocations: 3.063 MB / 0.6584 GB, free: 91.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01464/2.125, allocations: 7.374 MB / 0.6656 GB, free: 85.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/2.139, allocations: 4.602 MB / 0.6701 GB, free: 84.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001837/2.139, allocations: 47.25 kB / 0.6702 GB, free: 84.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.04974/2.189, allocations: 12.87 MB / 0.6827 GB, free: 80.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/2.189, allocations: 74.61 kB / 0.6828 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02624/2.216, allocations: 6.25 MB / 0.6889 GB, free: 78.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02318/2.239, allocations: 3.487 MB / 0.6923 GB, free: 77.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009768/2.249, allocations: 1.697 MB / 0.694 GB, free: 76.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/2.265, allocations: 12 MB / 0.7057 GB, free: 64.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/2.277, allocations: 0.7749 MB / 0.7064 GB, free: 64.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001952/2.279, allocations: 454 kB / 0.7069 GB, free: 64.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 845 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.007061/2.287, allocations: 2.34 MB / 0.7092 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/2.288, allocations: 454.1 kB / 0.7096 GB, free: 61.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002454/2.291, allocations: 0.6132 MB / 0.7102 GB, free: 60.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02641/2.317, allocations: 6.02 MB / 0.7161 GB, free: 56.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.035e-05/2.317, allocations: 12 kB / 0.7161 GB, free: 56.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.213e-05/2.317, allocations: 9.953 kB / 0.7161 GB, free: 56.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03246/2.35, allocations: 10.44 MB / 0.7263 GB, free: 47.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/2.35, allocations: 4 kB / 0.7263 GB, free: 47.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004291/2.354, allocations: 451.5 kB / 0.7267 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02267/2.377, allocations: 3.596 MB / 0.7302 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008644/2.378, allocations: 98.98 kB / 0.7303 GB, free: 42.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/2.398, allocations: 13.89 MB / 0.7439 GB, free: 28.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004309/2.402, allocations: 5.921 MB / 0.7497 GB, free: 21.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03413/2.437, allocations: 10.7 MB / 0.7601 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003597/2.44, allocations: 0.9051 MB / 0.761 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/2.442, allocations: 75.36 kB / 0.7611 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006665/2.449, allocations: 343.4 kB / 0.7614 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/2.45, allocations: 183.2 kB / 0.7616 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00042/2.451, allocations: 71.94 kB / 0.7617 GB, free: 9.238 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008796/2.46, allocations: 3.221 MB / 0.7648 GB, free: 6.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.72e-07/2.46, allocations: 4 kB / 0.7648 GB, free: 6.027 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01087/2.47, allocations: 1.588 MB / 0.7664 GB, free: 4.445 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[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 (156): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03929/2.51, allocations: 12.04 MB / 0.7781 GB, free: 8.266 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3313/2.841, allocations: 9.156 MB / 0.7871 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/2.841, allocations: 3.594 kB / 0.7871 GB, free: 112.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01575/2.857, allocations: 4.685 MB / 0.7916 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006719/2.864, allocations: 0.6277 MB / 0.7922 GB, free: 111.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07762/2.941, allocations: 132.3 MB / 0.9215 GB, free: 3.805 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00957/2.951, allocations: 3.789 MB / 0.9252 GB, free: 2.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006321/2.957, allocations: 2.328 MB / 0.9274 GB, free: 2.973 MB / 458.7 MB Notification: Performance of SimCode: time 1.162e-06/2.957, allocations: 4 kB / 0.9274 GB, free: 2.969 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.263/10.22, allocations: 363.5 MB / 1.282 GB, free: 13.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat