Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.885/1.885, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004774, allocations: 11.98 kB / 282.7 MB, free: 9.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1073, allocations: 48.71 MB / 331.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5167, allocations: 82.99 MB / 414.4 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.517, allocations: 71.97 kB / 414.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2017/0.7187, allocations: 46.88 MB / 461.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7188, allocations: 0 / 461.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001119/0.7189, allocations: 40 kB / 461.3 MB, free: 2.715 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.008916/0.7279, allocations: 2.393 MB / 463.7 MB, free: 268 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.7279, allocations: 8.031 kB / 463.7 MB, free: 260 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003467/0.7314, allocations: 498.1 kB / 464.2 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.7502, allocations: 1.767 MB / 466 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/0.7551, allocations: 1.346 MB / 467.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.7554, allocations: 184.7 kB / 467.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.7569, allocations: 247.7 kB / 467.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.7763, allocations: 6.572 MB / 474.3 MB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003106/0.7767, allocations: 39.62 kB / 474.4 MB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003414/0.7801, allocations: 123.9 kB / 474.5 MB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002813/0.783, allocations: 0.6916 MB / 475.2 MB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02928/0.8124, allocations: 5.501 MB / 480.7 MB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4065/1.219, allocations: 31.55 MB / 0.5002 GB, free: 82.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008098/1.227, allocations: 2.35 MB / 0.5025 GB, free: 81.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002979/1.227, allocations: 41.56 kB / 0.5026 GB, free: 81.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.061e-05/1.228, allocations: 46.17 kB / 0.5026 GB, free: 81.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 7.755e-06/1.228, allocations: 0 / 0.5026 GB, free: 81.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.04682/1.274, allocations: 9.727 MB / 0.5121 GB, free: 79.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/1.275, allocations: 138.3 kB / 0.5122 GB, free: 79.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005708/1.28, allocations: 2.333 MB / 0.5145 GB, free: 78.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002969/1.281, allocations: 43.12 kB / 0.5146 GB, free: 78.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00179/1.282, allocations: 2.021 MB / 0.5165 GB, free: 77.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007661/1.283, allocations: 465.7 kB / 0.517 GB, free: 77.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004822/1.284, allocations: 86.66 kB / 0.5171 GB, free: 77.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000306/1.284, allocations: 0.4969 MB / 0.5175 GB, free: 77.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00369/1.288, allocations: 1.375 MB / 0.5189 GB, free: 77.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005497/1.293, allocations: 4.114 MB / 0.5229 GB, free: 73.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0052/1.299, allocations: 2.371 MB / 0.5252 GB, free: 73.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/1.299, allocations: 26.72 kB / 0.5252 GB, free: 73.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01936/1.318, allocations: 5.517 MB / 0.5306 GB, free: 71.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.318, allocations: 57.05 kB / 0.5307 GB, free: 71.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002285/1.319, allocations: 101.4 kB / 0.5308 GB, free: 71.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002/1.321, allocations: 476.7 kB / 0.5312 GB, free: 71.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00604/1.327, allocations: 1.012 MB / 0.5322 GB, free: 71.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/1.332, allocations: 3.458 MB / 0.5356 GB, free: 68.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004744/1.337, allocations: 231.8 kB / 0.5358 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009757/1.338, allocations: 275.5 kB / 0.5361 GB, free: 68.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (534): * Single equations (assignments): 530 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003588/1.342, allocations: 1.379 MB / 0.5374 GB, free: 68.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/1.343, allocations: 219.5 kB / 0.5376 GB, free: 67.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/1.347, allocations: 1.469 MB / 0.5391 GB, free: 67.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.117e-05/1.347, allocations: 19.2 kB / 0.5391 GB, free: 67.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.347, allocations: 4.125 kB / 0.5391 GB, free: 67.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/1.347, allocations: 3.938 kB / 0.5391 GB, free: 67.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/1.36, allocations: 4.47 MB / 0.5435 GB, free: 65.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/1.36, allocations: 0 / 0.5435 GB, free: 65.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/1.362, allocations: 166.8 kB / 0.5436 GB, free: 65.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/1.363, allocations: 319.6 kB / 0.5439 GB, free: 65.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000222/1.363, allocations: 22.38 kB / 0.544 GB, free: 65.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/1.368, allocations: 2.891 MB / 0.5468 GB, free: 63.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.368, allocations: 0 / 0.5468 GB, free: 63.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007273/1.375, allocations: 3.321 MB / 0.55 GB, free: 62.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.377, allocations: 430.5 kB / 0.5504 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006804/1.378, allocations: 20.22 kB / 0.5505 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.379, allocations: 49.36 kB / 0.5505 GB, free: 61.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.38, allocations: 60.09 kB / 0.5506 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.38, allocations: 25.38 kB / 0.5506 GB, free: 61.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003744/1.384, allocations: 1.606 MB / 0.5522 GB, free: 61.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.384, allocations: 3.844 kB / 0.5522 GB, free: 61.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005105/1.389, allocations: 0.6145 MB / 0.5528 GB, free: 61.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (86): * Single equations (assignments): 82 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007641/1.396, allocations: 4.136 MB / 0.5568 GB, free: 58.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007325/1.404, allocations: 3.333 MB / 0.56 GB, free: 56.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.404, allocations: 0 / 0.56 GB, free: 56.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001977/1.406, allocations: 0.9224 MB / 0.5609 GB, free: 55.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.408, allocations: 191.6 kB / 0.5611 GB, free: 55.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3691/1.777, allocations: 87.75 MB / 0.6468 GB, free: 131.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004437/1.781, allocations: 2.237 MB / 0.649 GB, free: 131.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/1.784, allocations: 1.067 MB / 0.65 GB, free: 131.2 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/1.784, allocations: 0 / 0.65 GB, free: 131.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.891/5.675, allocations: 59.94 MB / 0.7086 GB, free: 105.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat