Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.371/2.371, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.000454, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3528, allocations: 54.85 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.5282, allocations: 95.38 MB / 464.7 MB, free: 11.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.5286, allocations: 79.91 kB / 464.8 MB, free: 11.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8261/1.355, allocations: 102.3 MB / 0.5539 GB, free: 17.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.355, allocations: 0 / 0.5539 GB, free: 17.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000529/1.355, allocations: 91.98 kB / 0.5539 GB, free: 17.13 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.07524/1.431, allocations: 6.907 MB / 0.5607 GB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/1.431, allocations: 8.031 kB / 0.5607 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006072/1.437, allocations: 0.7816 MB / 0.5615 GB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06426/1.501, allocations: 7.349 MB / 0.5686 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07372/1.575, allocations: 18.28 MB / 0.5865 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005574/1.575, allocations: 316.1 kB / 0.5868 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003039/1.579, allocations: 439.6 kB / 0.5872 GB, free: 14.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.034/1.613, allocations: 10.6 MB / 0.5976 GB, free: 3.141 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004109/1.613, allocations: 87.23 kB / 0.5976 GB, free: 3.055 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001928/1.615, allocations: 199.9 kB / 0.5978 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003077/1.618, allocations: 1.053 MB / 0.5989 GB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02975/1.648, allocations: 9.265 MB / 0.6079 GB, free: 8.52 MB / 442.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.462/2.11, allocations: 51.21 MB / 0.6579 GB, free: 73.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/2.124, allocations: 3.845 MB / 0.6617 GB, free: 72.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/2.124, allocations: 26.81 kB / 0.6617 GB, free: 72.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/2.124, allocations: 63.89 kB / 0.6618 GB, free: 72.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=188): time 7.194e-06/2.124, allocations: 0 / 0.6618 GB, free: 72.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=216): time 0.09963/2.224, allocations: 22.69 MB / 0.6839 GB, free: 65.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007232/2.231, allocations: 6.228 MB / 0.69 GB, free: 59.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01747/2.249, allocations: 4.534 MB / 0.6944 GB, free: 59.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009996/2.25, allocations: 57.47 kB / 0.6945 GB, free: 59.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004935/2.255, allocations: 3.345 MB / 0.6978 GB, free: 57.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002513/2.257, allocations: 0.9054 MB / 0.6986 GB, free: 57.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/2.259, allocations: 144.8 kB / 0.6988 GB, free: 57.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001041/2.26, allocations: 0.6154 MB / 0.6994 GB, free: 56.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01271/2.273, allocations: 3.122 MB / 0.7024 GB, free: 56.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01165/2.285, allocations: 7.429 MB / 0.7097 GB, free: 51.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/2.296, allocations: 4.668 MB / 0.7142 GB, free: 50.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002144/2.296, allocations: 46.72 kB / 0.7143 GB, free: 50.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.08152/2.378, allocations: 15.6 MB / 0.7295 GB, free: 47.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001422/2.378, allocations: 66.88 kB / 0.7296 GB, free: 47.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06199/2.44, allocations: 9.007 MB / 0.7384 GB, free: 44.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06667/2.507, allocations: 6.733 MB / 0.745 GB, free: 40.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009953/2.517, allocations: 1.697 MB / 0.7466 GB, free: 39.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03745/2.554, allocations: 16.55 MB / 0.7628 GB, free: 24.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/2.567, allocations: 0.7796 MB / 0.7635 GB, free: 23.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/2.569, allocations: 457.2 kB / 0.764 GB, free: 23.07 MB / 474.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): 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%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.007541/2.577, allocations: 2.332 MB / 0.7662 GB, free: 20.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/2.578, allocations: 461.8 kB / 0.7667 GB, free: 20.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/2.581, allocations: 0.6142 MB / 0.7673 GB, free: 19.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02737/2.608, allocations: 6.009 MB / 0.7732 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.094e-05/2.608, allocations: 8 kB / 0.7732 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.741e-05/2.608, allocations: 7.969 kB / 0.7732 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03441/2.643, allocations: 10.45 MB / 0.7834 GB, free: 3.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/2.643, allocations: 7.984 kB / 0.7834 GB, free: 3.086 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004311/2.647, allocations: 438 kB / 0.7838 GB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02345/2.671, allocations: 3.597 MB / 0.7873 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008239/2.672, allocations: 91.91 kB / 0.7874 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02551/2.697, allocations: 13.91 MB / 0.801 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006239/2.703, allocations: 5.912 MB / 0.8068 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03913/2.743, allocations: 10.71 MB / 0.8172 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/2.745, allocations: 0.5303 MB / 0.8177 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002074/2.747, allocations: 68.67 kB / 0.8178 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006753/2.754, allocations: 339.4 kB / 0.8181 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/2.755, allocations: 189.2 kB / 0.8183 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007078/2.756, allocations: 75.06 kB / 0.8184 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01071/2.767, allocations: 3.221 MB / 0.8215 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/2.767, allocations: 4 kB / 0.8215 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01221/2.779, allocations: 1.626 MB / 0.8231 GB, free: 8.953 MB / 0.5105 GB 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.04164/2.821, allocations: 12.05 MB / 0.8349 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02981/2.85, allocations: 9.294 MB / 0.844 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/2.85, allocations: 0 / 0.844 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.3646/3.215, allocations: 4.682 MB / 0.8485 GB, free: 161 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006544/3.222, allocations: 0.6203 MB / 0.8491 GB, free: 161 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2262/3.448, allocations: 160.8 MB / 1.006 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009031/3.457, allocations: 3.789 MB / 1.01 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006137/3.463, allocations: 2.33 MB / 1.012 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/3.463, allocations: 0 / 1.012 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.444/10.91, allocations: 367.7 MB / 1.371 GB, free: 81.91 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat