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.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 235 MB / 248 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.312e-05, allocations: 0 / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4509, allocations: 54.85 MB / 364.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.6088, allocations: 85.42 MB / 450 MB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.6091, allocations: 67.97 kB / 450.1 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1086/0.7178, allocations: 26.75 MB / 476.9 MB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.7179, allocations: 4 kB / 476.9 MB, free: 44 kB / 394.7 MB Notification: Performance of Transformations before backend: time 8.883e-05/0.718, allocations: 32 kB / 476.9 MB, free: 12 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.004698/0.7227, allocations: 1.569 MB / 478.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.7227, allocations: 8.031 kB / 478.5 MB, free: 14.38 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001232/0.724, allocations: 346.2 kB / 478.8 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.7255, allocations: 269.1 kB / 479.1 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.7284, allocations: 0.8178 MB / 479.9 MB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.7286, allocations: 143.8 kB / 480 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007257/0.7294, allocations: 184 kB / 480.2 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009193/0.7386, allocations: 3.32 MB / 483.5 MB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.022e-05/0.7387, allocations: 23.81 kB / 483.6 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/0.7391, allocations: 91.95 kB / 483.6 MB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006767/0.7398, allocations: 332.1 kB / 484 MB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.7453, allocations: 1.813 MB / 485.8 MB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/0.7661, allocations: 15.13 MB / 0.4892 GB, free: 7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.7663, allocations: 169.1 kB / 0.4893 GB, free: 6.824 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.7663, allocations: 80.14 kB / 0.4894 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.7664, allocations: 79.28 kB / 0.4895 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.7664, allocations: 109.8 kB / 0.4896 GB, free: 6.547 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.425e-06/0.7664, allocations: 0 / 0.4896 GB, free: 6.547 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004112/0.7669, allocations: 144.1 kB / 0.4897 GB, free: 6.398 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/0.7669, allocations: 130.7 kB / 0.4898 GB, free: 6.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/0.7702, allocations: 1.426 MB / 0.4912 GB, free: 4.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.7703, allocations: 25.7 kB / 0.4913 GB, free: 4.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/0.7717, allocations: 1.377 MB / 0.4926 GB, free: 3.395 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.7719, allocations: 43.95 kB / 0.4926 GB, free: 3.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.772, allocations: 40 kB / 0.4927 GB, free: 3.312 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.7722, allocations: 390.8 kB / 0.4931 GB, free: 2.922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00086/0.7731, allocations: 347.9 kB / 0.4934 GB, free: 2.578 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/0.7753, allocations: 1.876 MB / 0.4952 GB, free: 15.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/0.7773, allocations: 0.7878 MB / 0.496 GB, free: 15.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-05/0.7774, allocations: 19.94 kB / 0.496 GB, free: 15.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005588/0.783, allocations: 1.994 MB / 0.498 GB, free: 13.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.7831, allocations: 28 kB / 0.498 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-05/0.7832, allocations: 59.98 kB / 0.498 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/0.7834, allocations: 80 kB / 0.4981 GB, free: 12.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.7858, allocations: 487 kB / 0.4986 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001276/0.786, allocations: 112.1 kB / 0.4987 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.7884, allocations: 312.6 kB / 0.499 GB, free: 12.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000378/0.7888, allocations: 140 kB / 0.4991 GB, free: 11.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * 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.0004572/0.7893, allocations: 370 kB / 0.4995 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.7896, allocations: 227.3 kB / 0.4997 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003462/0.79, allocations: 228.1 kB / 0.4999 GB, free: 11.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-05/0.7901, allocations: 184.2 kB / 0.5001 GB, free: 10.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.846e-05/0.7902, allocations: 184.2 kB / 0.5003 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.447e-05/0.7903, allocations: 180.3 kB / 0.5004 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002973/0.7933, allocations: 1.477 MB / 0.5019 GB, free: 8.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-05/0.7934, allocations: 104.9 kB / 0.502 GB, free: 8.852 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.7934, allocations: 109 kB / 0.5021 GB, free: 8.738 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.719e-05/0.7935, allocations: 184.4 kB / 0.5023 GB, free: 8.551 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.7936, allocations: 184.3 kB / 0.5024 GB, free: 8.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.982e-05/0.7937, allocations: 180.2 kB / 0.5026 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.927e-05/0.7937, allocations: 176.3 kB / 0.5028 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.7942, allocations: 433.1 kB / 0.5032 GB, free: 7.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.7947, allocations: 296.5 kB / 0.5035 GB, free: 7.234 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.7949, allocations: 180.2 kB / 0.5036 GB, free: 7.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.7955, allocations: 105 kB / 0.5037 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.7956, allocations: 180.3 kB / 0.5039 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.7956, allocations: 104.9 kB / 0.504 GB, free: 6.648 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002363/0.798, allocations: 0.981 MB / 0.505 GB, free: 5.668 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.798, allocations: 0 / 0.505 GB, free: 5.668 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002409/0.8005, allocations: 434 kB / 0.5054 GB, free: 5.242 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0007553/0.8013, allocations: 0.94 MB / 0.5063 GB, free: 4.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00229/0.8036, allocations: 0.8709 MB / 0.5072 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.8036, allocations: 0 / 0.5072 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/0.8037, allocations: 1.75 kB / 0.5072 GB, free: 3.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.8048, allocations: 0.6485 MB / 0.5078 GB, free: 2.758 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009053/0.8139, allocations: 2.716 MB / 0.5104 GB, free: 15.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.8162, allocations: 1.607 MB / 0.512 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.8176, allocations: 0.675 MB / 0.5127 GB, free: 13.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.404e-06/0.8176, allocations: 0 / 0.5127 GB, free: 13.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.257/4.075, allocations: 25.82 MB / 0.5379 GB, free: 130.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat