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/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.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.46/2.46, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004507, allocations: 16 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3447, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.5356, allocations: 88.55 MB / 457.9 MB, free: 1.926 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/0.536, allocations: 83.89 kB / 458 MB, free: 1.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6106/1.147, allocations: 71.21 MB / 0.5168 GB, free: 54.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.037e-06/1.147, allocations: 0 / 0.5168 GB, free: 54.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000135/1.147, allocations: 67.94 kB / 0.5169 GB, free: 54.27 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.01166/1.159, allocations: 3.249 MB / 0.52 GB, free: 50.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/1.159, allocations: 12.22 kB / 0.52 GB, free: 50.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003883/1.162, allocations: 0.7703 MB / 0.5208 GB, free: 50.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02518/1.188, allocations: 3.352 MB / 0.5241 GB, free: 46.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007016/1.195, allocations: 2.129 MB / 0.5261 GB, free: 44.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/1.195, allocations: 295.5 kB / 0.5264 GB, free: 44.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002707/1.198, allocations: 371.9 kB / 0.5268 GB, free: 43.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02833/1.226, allocations: 9.597 MB / 0.5362 GB, free: 33.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00019/1.227, allocations: 27.75 kB / 0.5362 GB, free: 33.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002328/1.229, allocations: 167.9 kB / 0.5363 GB, free: 33.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002483/1.231, allocations: 1.104 MB / 0.5374 GB, free: 32.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02429/1.256, allocations: 8.898 MB / 0.5461 GB, free: 23.67 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06449/1.32, allocations: 33.3 MB / 0.5786 GB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009228/1.33, allocations: 3.301 MB / 0.5819 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/1.33, allocations: 12.98 kB / 0.5819 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/1.33, allocations: 43.56 kB / 0.5819 GB, free: 1.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 6.262e-06/1.33, allocations: 4 kB / 0.5819 GB, free: 1.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.01467/1.345, allocations: 3.903 MB / 0.5857 GB, free: 13.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/1.345, allocations: 94.06 kB / 0.5858 GB, free: 13.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007793/1.352, allocations: 2.801 MB / 0.5885 GB, free: 10.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003134/1.353, allocations: 41.7 kB / 0.5886 GB, free: 10.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003224/1.356, allocations: 2.714 MB / 0.5912 GB, free: 8.082 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001132/1.357, allocations: 0.5747 MB / 0.5918 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/1.358, allocations: 92 kB / 0.5919 GB, free: 7.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005498/1.358, allocations: 0.5215 MB / 0.5924 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/1.363, allocations: 1.516 MB / 0.5939 GB, free: 5.352 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00795/1.371, allocations: 4.462 MB / 0.5982 GB, free: 15.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007922/1.379, allocations: 2.628 MB / 0.6008 GB, free: 12.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/1.379, allocations: 32 kB / 0.6008 GB, free: 12.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01697/1.396, allocations: 5.755 MB / 0.6065 GB, free: 6.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.396, allocations: 57.97 kB / 0.6065 GB, free: 6.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/1.396, allocations: 108.2 kB / 0.6066 GB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/1.397, allocations: 152 kB / 0.6068 GB, free: 6.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006649/1.403, allocations: 1.068 MB / 0.6078 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002921/1.404, allocations: 211.2 kB / 0.608 GB, free: 5.398 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005226/1.409, allocations: 0.6917 MB / 0.6087 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.41, allocations: 296 kB / 0.609 GB, free: 4.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (595): * Single equations (assignments): 589 * 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.005645/1.416, allocations: 1.973 MB / 0.6109 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006576/1.417, allocations: 260.5 kB / 0.6111 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.418, allocations: 336 kB / 0.6115 GB, free: 1.832 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-05/1.418, allocations: 19.98 kB / 0.6115 GB, free: 1.812 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/1.418, allocations: 3.984 kB / 0.6115 GB, free: 1.809 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/1.418, allocations: 3.984 kB / 0.6115 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02101/1.439, allocations: 7.106 MB / 0.6184 GB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.36e-05/1.439, allocations: 8 kB / 0.6184 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.441, allocations: 179.8 kB / 0.6186 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/1.441, allocations: 12 kB / 0.6186 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/1.441, allocations: 35.97 kB / 0.6186 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/1.441, allocations: 15.94 kB / 0.6187 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/1.441, allocations: 11.94 kB / 0.6187 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/1.447, allocations: 2.968 MB / 0.6216 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.448, allocations: 361.3 kB / 0.6219 GB, free: 6.516 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/1.449, allocations: 32 kB / 0.6219 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.45, allocations: 47.94 kB / 0.622 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003194/1.451, allocations: 88.28 kB / 0.6221 GB, free: 6.352 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/1.451, allocations: 52 kB / 0.6221 GB, free: 6.301 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005738/1.457, allocations: 1.979 MB / 0.6241 GB, free: 4.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.457, allocations: 0 / 0.6241 GB, free: 4.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005907/1.463, allocations: 1.043 MB / 0.6251 GB, free: 3.273 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * 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 (102): * Single equations (assignments): 96 * 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.006785/1.469, allocations: 5.327 MB / 0.6303 GB, free: 13.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008844/1.478, allocations: 3.551 MB / 0.6337 GB, free: 10.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.478, allocations: 0 / 0.6337 GB, free: 10.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/1.481, allocations: 0.9267 MB / 0.6346 GB, free: 9.262 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.483, allocations: 303.3 kB / 0.6349 GB, free: 8.965 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3925/1.875, allocations: 97.4 MB / 0.7301 GB, free: 56.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006146/1.882, allocations: 3.155 MB / 0.7331 GB, free: 55.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00408/1.886, allocations: 1.628 MB / 0.7347 GB, free: 55.39 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/1.886, allocations: 0 / 0.7347 GB, free: 55.39 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.889/5.774, allocations: 67.89 MB / 0.801 GB, free: 7.445 MB / 474.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