Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.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.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.934/1.934, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004315/0.0004316, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 48.7 MB / 331.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4294/0.5406, allocations: 81.14 MB / 412.5 MB, free: 3.797 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.5409, allocations: 79.95 kB / 412.6 MB, free: 3.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06972/0.6107, allocations: 16.37 MB / 429 MB, free: 3.242 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6107, allocations: 0 / 429 MB, free: 3.242 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.877e-05/0.6108, allocations: 16 kB / 429 MB, free: 3.227 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003289/0.6141, allocations: 1.06 MB / 430 MB, free: 2.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/0.6142, allocations: 11.97 kB / 430 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006255/0.6148, allocations: 173.4 kB / 430.2 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.6171, allocations: 226.4 kB / 430.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/0.6189, allocations: 0.5704 MB / 431 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.6191, allocations: 69.97 kB / 431.1 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002633/0.6193, allocations: 83.98 kB / 431.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/0.6237, allocations: 1.719 MB / 432.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.6238, allocations: 15.86 kB / 432.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/0.624, allocations: 39.98 kB / 432.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006018/0.6246, allocations: 169.4 kB / 433.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/0.6283, allocations: 1.18 MB / 434.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.641, allocations: 7.434 MB / 441.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007341/0.6418, allocations: 174.5 kB / 441.9 MB, free: 5.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.6419, allocations: 11.94 kB / 441.9 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6419, allocations: 30.56 kB / 441.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.915e-06/0.642, allocations: 0 / 441.9 MB, free: 5.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001506/0.6435, allocations: 388.8 kB / 442.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.6435, allocations: 51.41 kB / 442.4 MB, free: 5.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.6454, allocations: 0.8473 MB / 443.2 MB, free: 4.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.6454, allocations: 25.7 kB / 443.2 MB, free: 4.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000642/0.6461, allocations: 0.7045 MB / 443.9 MB, free: 3.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.861e-05/0.6462, allocations: 63.41 kB / 444 MB, free: 3.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.6463, allocations: 20 kB / 444 MB, free: 3.555 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6465, allocations: 354.8 kB / 444.4 MB, free: 3.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008456/0.6473, allocations: 253.8 kB / 444.6 MB, free: 2.949 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.6487, allocations: 0.9306 MB / 445.5 MB, free: 1.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.65, allocations: 468 kB / 446 MB, free: 1.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.6501, allocations: 8 kB / 446 MB, free: 1.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003144/0.6532, allocations: 1.115 MB / 447.1 MB, free: 96 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.6533, allocations: 16 kB / 447.1 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/0.6533, allocations: 24 kB / 447.2 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.206e-05/0.6534, allocations: 40.03 kB / 447.2 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.6548, allocations: 239.6 kB / 447.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.134e-05/0.6549, allocations: 51.78 kB / 447.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.6562, allocations: 158.3 kB / 447.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.6563, allocations: 64 kB / 447.7 MB, free: 15.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * Number of states: 0 () * Number of discrete variables: 18 (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],fixedArrow.color[3],fixedArrow.color[2],fixedArrow.color[1],arrow.color[3],arrow.color[2],arrow.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * Array equations: 0 * 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.0009894/0.6573, allocations: 466.8 kB / 448.2 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.6575, allocations: 71.11 kB / 448.2 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.6588, allocations: 324.2 kB / 448.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.6588, allocations: 0 / 448.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.6588, allocations: 0 / 448.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6588, allocations: 0 / 448.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.6605, allocations: 0.7316 MB / 449.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6605, allocations: 0 / 449.3 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003976/0.6609, allocations: 39.92 kB / 449.3 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.6609, allocations: 7.938 kB / 449.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.661, allocations: 4 kB / 449.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.661, allocations: 0 / 449.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.661, allocations: 0 / 449.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.6621, allocations: 394.5 kB / 449.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.6625, allocations: 168.1 kB / 449.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.6626, allocations: 11.89 kB / 449.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004842/0.6631, allocations: 15.98 kB / 449.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.6633, allocations: 15.98 kB / 449.9 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.6633, allocations: 7.984 kB / 449.9 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001361/0.6647, allocations: 0.6083 MB / 450.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6647, allocations: 0 / 450.5 MB, free: 12.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001358/0.6661, allocations: 215.1 kB / 450.7 MB, free: 12.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * 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.001541/0.6676, allocations: 0.9341 MB / 451.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.6696, allocations: 0.5914 MB / 452.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6696, allocations: 0 / 452.3 MB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.6701, allocations: 116.2 kB / 452.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.6708, allocations: 87.23 kB / 452.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/0.6901, allocations: 21.94 MB / 474.4 MB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.6914, allocations: 1.163 MB / 475.6 MB, free: 2.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/0.6922, allocations: 347.3 kB / 475.9 MB, free: 2.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6922, allocations: 0 / 475.9 MB, free: 2.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.995/3.687, allocations: 14.89 MB / 490.8 MB, free: 3.68 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat