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.FixedTranslation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.944e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3289, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.4902, allocations: 87.8 MB / 445.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.4905, allocations: 71.97 kB / 446 MB, free: 6.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5885/1.079, allocations: 69.83 MB / 0.5037 GB, free: 64.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.345e-06/1.079, allocations: 0 / 0.5037 GB, free: 64.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001319/1.079, allocations: 64 kB / 0.5038 GB, free: 64.07 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: 1517 * Number of variables: 1517 Notification: Performance of Generate backend data structure: time 0.0104/1.09, allocations: 3.155 MB / 0.5069 GB, free: 60.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.09, allocations: 15.97 kB / 0.5069 GB, free: 60.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02482/1.115, allocations: 3.348 MB / 0.5102 GB, free: 57.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/1.122, allocations: 2.13 MB / 0.5122 GB, free: 55.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/1.122, allocations: 124 kB / 0.5124 GB, free: 55.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002193/1.124, allocations: 216 kB / 0.5126 GB, free: 54.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01482/1.139, allocations: 6.58 MB / 0.519 GB, free: 48.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/1.163, allocations: 8.968 MB / 0.5277 GB, free: 38.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/1.163, allocations: 27.75 kB / 0.5278 GB, free: 38.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002135/1.165, allocations: 12 kB / 0.5278 GB, free: 38.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/1.168, allocations: 1.117 MB / 0.5289 GB, free: 37.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0536/1.221, allocations: 29.96 MB / 0.5581 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/1.225, allocations: 2.811 MB / 0.5609 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/1.227, allocations: 0.8375 MB / 0.5617 GB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-05/1.227, allocations: 16.77 kB / 0.5617 GB, free: 3.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/1.227, allocations: 47.33 kB / 0.5618 GB, free: 3.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 4.438e-06/1.227, allocations: 0 / 0.5618 GB, free: 3.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.006981/1.234, allocations: 2.15 MB / 0.5639 GB, free: 1.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/1.234, allocations: 93.84 kB / 0.5639 GB, free: 0.9219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/1.24, allocations: 2.387 MB / 0.5663 GB, free: 14.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002689/1.24, allocations: 25.7 kB / 0.5663 GB, free: 14.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003077/1.243, allocations: 2.89 MB / 0.5691 GB, free: 11.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009678/1.244, allocations: 0.5477 MB / 0.5697 GB, free: 11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004407/1.245, allocations: 0 / 0.5697 GB, free: 11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004903/1.245, allocations: 0.5339 MB / 0.5702 GB, free: 10.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003554/1.249, allocations: 1.47 MB / 0.5716 GB, free: 8.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006758/1.256, allocations: 4.667 MB / 0.5762 GB, free: 2.688 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006593/1.262, allocations: 2.681 MB / 0.5788 GB, free: 8 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.262, allocations: 32.05 kB / 0.5788 GB, free: 15.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01646/1.279, allocations: 5.4 MB / 0.5841 GB, free: 10.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/1.279, allocations: 56 kB / 0.5841 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/1.279, allocations: 112 kB / 0.5843 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/1.28, allocations: 168 kB / 0.5844 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007173/1.287, allocations: 1.158 MB / 0.5855 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002677/1.287, allocations: 223.2 kB / 0.5858 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/1.292, allocations: 0.5983 MB / 0.5863 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.293, allocations: 324 kB / 0.5867 GB, free: 7.949 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 522 * Number of states: 0 () * Number of discrete variables: 24 (arrow.color[3],arrow.color[2],arrow.color[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],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (642): * Single equations (assignments): 636 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009074/1.294, allocations: 390.3 kB / 0.587 GB, free: 7.562 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004304/1.299, allocations: 1.752 MB / 0.5887 GB, free: 5.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/1.299, allocations: 229 kB / 0.589 GB, free: 5.574 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/1.3, allocations: 293 kB / 0.5892 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.064e-05/1.3, allocations: 20 kB / 0.5893 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.3, allocations: 7.984 kB / 0.5893 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/1.3, allocations: 7.922 kB / 0.5893 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/1.316, allocations: 5.505 MB / 0.5946 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/1.316, allocations: 4.75 kB / 0.5946 GB, free: 15.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/1.318, allocations: 171.7 kB / 0.5948 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.519e-05/1.318, allocations: 16 kB / 0.5948 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/1.318, allocations: 15.98 kB / 0.5948 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/1.318, allocations: 11.94 kB / 0.5949 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/1.318, allocations: 8 kB / 0.5949 GB, free: 15.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/1.323, allocations: 2.547 MB / 0.5973 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008202/1.324, allocations: 317.7 kB / 0.5977 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/1.324, allocations: 11.98 kB / 0.5977 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.325, allocations: 27.95 kB / 0.5977 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.326, allocations: 76.59 kB / 0.5978 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/1.326, allocations: 44 kB / 0.5978 GB, free: 12.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003961/1.33, allocations: 1.545 MB / 0.5993 GB, free: 10.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.33, allocations: 0 / 0.5993 GB, free: 10.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005837/1.336, allocations: 0.9679 MB / 0.6003 GB, free: 9.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005901/1.342, allocations: 4.657 MB / 0.6048 GB, free: 4.715 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008169/1.35, allocations: 3.399 MB / 0.6081 GB, free: 1.344 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.35, allocations: 448 / 0.6081 GB, free: 1.344 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/1.352, allocations: 0.8622 MB / 0.609 GB, free: 492 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/1.353, allocations: 164.5 kB / 0.6091 GB, free: 324 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/1.379, allocations: 7.833 MB / 0.6168 GB, free: 8.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006474/1.385, allocations: 3.155 MB / 0.6199 GB, free: 5.156 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003975/1.39, allocations: 1.644 MB / 0.6215 GB, free: 3.512 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/1.39, allocations: 4 kB / 0.6215 GB, free: 3.508 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.791/5.181, allocations: 64.85 MB / 0.6848 GB, free: 91.58 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat