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.FixedTranslation.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.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.2 MB / 224.8 MB, free: 0.6289 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3542, allocations: 48.7 MB / 331.4 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.5039, allocations: 82.08 MB / 413.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5042, allocations: 79.95 kB / 413.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5762/1.08, allocations: 71.21 MB / 484.7 MB, free: 93.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.495e-06/1.08, allocations: 0 / 484.7 MB, free: 93.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001595/1.081, allocations: 64 kB / 484.8 MB, free: 93.19 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.01236/1.093, allocations: 3.255 MB / 488 MB, free: 91.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/1.093, allocations: 9.531 kB / 488.1 MB, free: 91.56 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004166/1.097, allocations: 0.7634 MB / 488.8 MB, free: 91.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02537/1.123, allocations: 3.355 MB / 492.2 MB, free: 91.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007259/1.13, allocations: 2.135 MB / 494.3 MB, free: 90.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003485/1.13, allocations: 295.6 kB / 494.6 MB, free: 90.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002434/1.133, allocations: 376 kB / 495 MB, free: 90.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02792/1.161, allocations: 9.591 MB / 0.4927 GB, free: 89.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001702/1.161, allocations: 25.12 kB / 0.4928 GB, free: 89.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/1.163, allocations: 175.1 kB / 0.4929 GB, free: 89.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002224/1.165, allocations: 1.108 MB / 0.494 GB, free: 89.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/1.188, allocations: 8.886 MB / 0.5027 GB, free: 86.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05657/1.245, allocations: 33.29 MB / 0.5352 GB, free: 58.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/1.253, allocations: 3.309 MB / 0.5384 GB, free: 54.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/1.253, allocations: 24.69 kB / 0.5384 GB, free: 54.75 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/1.253, allocations: 39.56 kB / 0.5385 GB, free: 54.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 5.731e-06/1.253, allocations: 0 / 0.5385 GB, free: 54.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=150): time 0.01139/1.264, allocations: 3.907 MB / 0.5423 GB, free: 50.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/1.264, allocations: 90.23 kB / 0.5424 GB, free: 50.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/1.269, allocations: 2.801 MB / 0.5451 GB, free: 47.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/1.27, allocations: 45.7 kB / 0.5452 GB, free: 47.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.271, allocations: 2.712 MB / 0.5478 GB, free: 45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006939/1.272, allocations: 0.5743 MB / 0.5484 GB, free: 44.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/1.272, allocations: 95.91 kB / 0.5485 GB, free: 44.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003199/1.273, allocations: 0.5135 MB / 0.549 GB, free: 43.81 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003125/1.276, allocations: 1.516 MB / 0.5504 GB, free: 42.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004522/1.28, allocations: 4.47 MB / 0.5548 GB, free: 36.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005046/1.286, allocations: 2.615 MB / 0.5574 GB, free: 33.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.744e-05/1.286, allocations: 28 kB / 0.5574 GB, free: 33.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01246/1.298, allocations: 5.769 MB / 0.563 GB, free: 27.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/1.298, allocations: 48 kB / 0.5631 GB, free: 27.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/1.298, allocations: 104 kB / 0.5632 GB, free: 27.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001634/1.299, allocations: 160.8 kB / 0.5633 GB, free: 27.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/1.304, allocations: 1.068 MB / 0.5644 GB, free: 26.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001595/1.304, allocations: 211.2 kB / 0.5646 GB, free: 26.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/1.309, allocations: 0.684 MB / 0.5652 GB, free: 25.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005778/1.309, allocations: 299.9 kB / 0.5655 GB, free: 25.36 MB / 394.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.003987/1.313, allocations: 1.965 MB / 0.5674 GB, free: 23.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/1.314, allocations: 260.5 kB / 0.5677 GB, free: 23.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/1.315, allocations: 336 kB / 0.568 GB, free: 22.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/1.315, allocations: 16 kB / 0.568 GB, free: 22.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.315, allocations: 7.953 kB / 0.568 GB, free: 22.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/1.315, allocations: 3.984 kB / 0.568 GB, free: 22.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.33, allocations: 7.104 MB / 0.575 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/1.33, allocations: 15.88 kB / 0.575 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.332, allocations: 175.7 kB / 0.5752 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.997e-05/1.332, allocations: 12.81 kB / 0.5752 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.332, allocations: 35.84 kB / 0.5752 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/1.332, allocations: 23.92 kB / 0.5752 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.332, allocations: 15.89 kB / 0.5752 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/1.336, allocations: 2.96 MB / 0.5781 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008544/1.337, allocations: 365.2 kB / 0.5785 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004557/1.337, allocations: 27.98 kB / 0.5785 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.339, allocations: 51.81 kB / 0.5786 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.339, allocations: 84.47 kB / 0.5786 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.339, allocations: 47.98 kB / 0.5787 GB, free: 11.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003925/1.343, allocations: 1.979 MB / 0.5806 GB, free: 9.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.52e-07/1.343, allocations: 4 kB / 0.5806 GB, free: 9.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00528/1.348, allocations: 1.031 MB / 0.5816 GB, free: 8.281 MB / 394.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.005033/1.353, allocations: 5.346 MB / 0.5868 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007472/1.361, allocations: 3.551 MB / 0.5903 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.361, allocations: 0 / 0.5903 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/1.363, allocations: 0.927 MB / 0.5912 GB, free: 14.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.365, allocations: 279.3 kB / 0.5915 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3698/1.735, allocations: 97.41 MB / 0.6866 GB, free: 50.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006673/1.741, allocations: 3.153 MB / 0.6897 GB, free: 50.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004913/1.746, allocations: 1.628 MB / 0.6913 GB, free: 50.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/1.746, allocations: 3.844 kB / 0.6913 GB, free: 50.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.769/5.515, allocations: 67.89 MB / 0.7576 GB, free: 10.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat