Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 235 MB / 248.1 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.93e-05, allocations: 8 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3946, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5599, allocations: 89.5 MB / 454.1 MB, free: 7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.5603, allocations: 79.94 kB / 454.2 MB, free: 6.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2001/0.7604, allocations: 46.97 MB / 0.4894 GB, free: 7.539 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7604, allocations: 0 / 0.4894 GB, free: 7.539 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001274/0.7606, allocations: 48 kB / 0.4895 GB, free: 7.492 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.008251/0.7688, allocations: 2.311 MB / 0.4917 GB, free: 5.125 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.7689, allocations: 12.03 kB / 0.4917 GB, free: 5.113 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001613/0.7705, allocations: 490.1 kB / 0.4922 GB, free: 4.625 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.7841, allocations: 1.771 MB / 0.4939 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/0.7892, allocations: 1.346 MB / 0.4953 GB, free: 1.457 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.7896, allocations: 180.7 kB / 0.4954 GB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/0.7911, allocations: 251.8 kB / 0.4957 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.8105, allocations: 6.536 MB / 0.502 GB, free: 9.734 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.8107, allocations: 39.62 kB / 0.5021 GB, free: 9.695 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008448/0.8115, allocations: 123.9 kB / 0.5022 GB, free: 9.574 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001586/0.8131, allocations: 0.6955 MB / 0.5029 GB, free: 8.875 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/0.8297, allocations: 5.408 MB / 0.5082 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.391/1.221, allocations: 31.71 MB / 0.5391 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007369/1.228, allocations: 2.334 MB / 0.5414 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/1.23, allocations: 0.9751 MB / 0.5424 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/1.23, allocations: 43.02 kB / 0.5424 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.231, allocations: 51.97 kB / 0.5425 GB, free: 100.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 4.849e-06/1.231, allocations: 0 / 0.5425 GB, free: 100.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=115): time 0.04183/1.272, allocations: 8.473 MB / 0.5507 GB, free: 99.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/1.272, allocations: 138.1 kB / 0.5509 GB, free: 98.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/1.278, allocations: 2.311 MB / 0.5531 GB, free: 98.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/1.278, allocations: 43.05 kB / 0.5532 GB, free: 98.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/1.28, allocations: 2.021 MB / 0.5551 GB, free: 97.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/1.281, allocations: 469.8 kB / 0.5556 GB, free: 97.25 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004751/1.281, allocations: 85.08 kB / 0.5557 GB, free: 97.25 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003047/1.282, allocations: 0.5028 MB / 0.5561 GB, free: 96.93 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003225/1.285, allocations: 1.341 MB / 0.5575 GB, free: 96.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005011/1.29, allocations: 4.095 MB / 0.5615 GB, free: 93.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005191/1.295, allocations: 2.367 MB / 0.5638 GB, free: 92.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.627e-05/1.295, allocations: 29.66 kB / 0.5638 GB, free: 92.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01428/1.31, allocations: 5.46 MB / 0.5691 GB, free: 91.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/1.31, allocations: 50.06 kB / 0.5692 GB, free: 91.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/1.31, allocations: 95.28 kB / 0.5693 GB, free: 91.26 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/1.312, allocations: 473.9 kB / 0.5697 GB, free: 91.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006059/1.318, allocations: 1.017 MB / 0.5707 GB, free: 91.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/1.323, allocations: 3.39 MB / 0.574 GB, free: 88.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004637/1.328, allocations: 227.4 kB / 0.5742 GB, free: 88.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009173/1.329, allocations: 275 kB / 0.5745 GB, free: 88.77 MB / 458.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 () * 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.0009609/1.33, allocations: 440 kB / 0.5749 GB, free: 88.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006529/1.331, allocations: 222.7 kB / 0.5751 GB, free: 88.28 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/1.334, allocations: 1.47 MB / 0.5766 GB, free: 87.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/1.335, allocations: 17.72 kB / 0.5766 GB, free: 87.71 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.335, allocations: 3.125 kB / 0.5766 GB, free: 87.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/1.335, allocations: 3.094 kB / 0.5766 GB, free: 87.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/1.348, allocations: 4.445 MB / 0.5809 GB, free: 86.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/1.348, allocations: 0 / 0.5809 GB, free: 86.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.35, allocations: 182 kB / 0.5811 GB, free: 86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/1.351, allocations: 310.2 kB / 0.5814 GB, free: 85.92 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002437/1.351, allocations: 20.45 kB / 0.5814 GB, free: 85.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004362/1.356, allocations: 2.803 MB / 0.5842 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.356, allocations: 2.438 kB / 0.5842 GB, free: 84.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006714/1.363, allocations: 3.303 MB / 0.5874 GB, free: 82.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.364, allocations: 430.5 kB / 0.5878 GB, free: 82.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/1.364, allocations: 15.88 kB / 0.5878 GB, free: 82.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/1.366, allocations: 52.84 kB / 0.5879 GB, free: 82.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/1.366, allocations: 56.42 kB / 0.5879 GB, free: 82.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.366, allocations: 31.3 kB / 0.588 GB, free: 82.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003145/1.369, allocations: 1.577 MB / 0.5895 GB, free: 81.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.92e-07/1.369, allocations: 64 / 0.5895 GB, free: 81.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00458/1.374, allocations: 0.6211 MB / 0.5901 GB, free: 81.56 MB / 458.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 () * 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.007422/1.381, allocations: 4.109 MB / 0.5941 GB, free: 79.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006941/1.388, allocations: 3.284 MB / 0.5973 GB, free: 76.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.388, allocations: 0 / 0.5973 GB, free: 76.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/1.39, allocations: 0.9215 MB / 0.5982 GB, free: 75.26 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/1.392, allocations: 193 kB / 0.5984 GB, free: 75.08 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/1.407, allocations: 5.691 MB / 0.604 GB, free: 70.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/1.41, allocations: 2.24 MB / 0.6061 GB, free: 68.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002236/1.412, allocations: 1.07 MB / 0.6072 GB, free: 67.35 MB / 458.7 MB Notification: Performance of SimCode: time 1.363e-06/1.412, allocations: 0 / 0.6072 GB, free: 67.35 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.663/5.076, allocations: 59.83 MB / 0.6656 GB, free: 9.59 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat