Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Arrow.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.Visualizers.Arrow,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Arrow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006818/0.000682, allocations: 8 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4265, allocations: 54.86 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.161/0.5875, allocations: 87.59 MB / 456.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5879, allocations: 83.91 kB / 457 MB, free: 2.902 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06925/0.6571, allocations: 16.33 MB / 473.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.508e-06/0.6572, allocations: 0 / 473.4 MB, free: 2.441 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.284e-05/0.6573, allocations: 19.94 kB / 473.4 MB, free: 2.422 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: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003026/0.6603, allocations: 1.057 MB / 474.4 MB, free: 1.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.6604, allocations: 8.031 kB / 474.4 MB, free: 1.309 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004869/0.6609, allocations: 173.4 kB / 474.6 MB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/0.6632, allocations: 226.4 kB / 474.8 MB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.6648, allocations: 0.5666 MB / 475.4 MB, free: 304 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.6649, allocations: 65.98 kB / 475.5 MB, free: 236 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.6651, allocations: 91.95 kB / 475.6 MB, free: 144 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3549/1.02, allocations: 1.71 MB / 477.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/1.02, allocations: 9.781 kB / 477.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001634/1.02, allocations: 43.88 kB / 477.3 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006315/1.021, allocations: 176.9 kB / 477.5 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/1.025, allocations: 1.18 MB / 478.7 MB, free: 91.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/1.036, allocations: 7.43 MB / 486.1 MB, free: 86.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/1.037, allocations: 185.9 kB / 486.3 MB, free: 86.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/1.037, allocations: 3.625 kB / 486.3 MB, free: 86.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.037, allocations: 31.72 kB / 486.3 MB, free: 86.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.795e-06/1.037, allocations: 1.125 kB / 486.3 MB, free: 86.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001479/1.039, allocations: 384 kB / 486.7 MB, free: 86.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/1.039, allocations: 59.45 kB / 486.8 MB, free: 86.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/1.04, allocations: 0.8317 MB / 487.6 MB, free: 85.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/1.04, allocations: 25.7 kB / 487.6 MB, free: 85.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/1.041, allocations: 0.7116 MB / 488.3 MB, free: 85.31 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/1.041, allocations: 56.09 kB / 488.4 MB, free: 85.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/1.041, allocations: 19.78 kB / 488.4 MB, free: 85.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/1.041, allocations: 354.8 kB / 488.7 MB, free: 84.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/1.042, allocations: 255.2 kB / 489 MB, free: 84.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009597/1.043, allocations: 0.9321 MB / 489.9 MB, free: 83.87 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/1.044, allocations: 459.7 kB / 490.4 MB, free: 83.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/1.044, allocations: 7.219 kB / 490.4 MB, free: 83.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002515/1.046, allocations: 1.107 MB / 491.5 MB, free: 83.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/1.047, allocations: 27.3 kB / 491.5 MB, free: 83.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/1.047, allocations: 27.41 kB / 491.5 MB, free: 83.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.369e-05/1.047, allocations: 37.84 kB / 491.6 MB, free: 83.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.048, allocations: 241.1 kB / 491.8 MB, free: 83.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-05/1.048, allocations: 45.8 kB / 491.9 MB, free: 83.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.049, allocations: 164.8 kB / 492 MB, free: 83.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/1.049, allocations: 59.09 kB / 492.1 MB, free: 83.12 MB / 394.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.0008516/1.05, allocations: 467.3 kB / 492.5 MB, free: 82.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/1.05, allocations: 77.16 kB / 492.6 MB, free: 82.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.051, allocations: 313.1 kB / 492.9 MB, free: 82.69 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.051, allocations: 3.938 kB / 492.9 MB, free: 82.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.051, allocations: 0 / 492.9 MB, free: 82.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.051, allocations: 3.891 kB / 492.9 MB, free: 82.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.053, allocations: 0.7398 MB / 493.7 MB, free: 82.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/1.053, allocations: 0 / 493.7 MB, free: 82.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004072/1.053, allocations: 39.17 kB / 493.7 MB, free: 82.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/1.053, allocations: 0 / 493.7 MB, free: 82.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/1.053, allocations: 3.328 kB / 493.7 MB, free: 82.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/1.053, allocations: 3.969 kB / 493.7 MB, free: 82.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.053, allocations: 0 / 493.7 MB, free: 82.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.054, allocations: 399.7 kB / 494.1 MB, free: 82.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/1.055, allocations: 145.2 kB / 494.2 MB, free: 81.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.055, allocations: 5.188 kB / 494.2 MB, free: 81.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/1.055, allocations: 21.59 kB / 494.3 MB, free: 81.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/1.055, allocations: 11.48 kB / 494.3 MB, free: 81.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/1.056, allocations: 6.844 kB / 494.3 MB, free: 81.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001091/1.057, allocations: 0.6036 MB / 494.9 MB, free: 81.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.057, allocations: 0 / 494.9 MB, free: 81.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001296/1.058, allocations: 223.5 kB / 495.1 MB, free: 81.63 MB / 394.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.0012/1.059, allocations: 0.9299 MB / 496 MB, free: 80.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/1.061, allocations: 0.5927 MB / 496.6 MB, free: 80.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.061, allocations: 3.125 kB / 496.6 MB, free: 80.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003861/1.061, allocations: 113.7 kB / 496.7 MB, free: 80.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007003/1.062, allocations: 82.84 kB / 496.8 MB, free: 80.64 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/1.075, allocations: 21.91 MB / 0.5066 GB, free: 60.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/1.076, allocations: 1.165 MB / 0.5077 GB, free: 59.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/1.077, allocations: 351.2 kB / 0.508 GB, free: 59.49 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/1.077, allocations: 4 kB / 0.5081 GB, free: 59.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.9/3.977, allocations: 14.88 MB / 0.5226 GB, free: 46 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Arrow_res.mat does not exist to compare? outputFormat=mat