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.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.26/2.26, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007519/0.0007521, allocations: 12 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4417, allocations: 48.7 MB / 331.4 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.5888, allocations: 79.05 MB / 410.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.5891, allocations: 71.97 kB / 410.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1067/0.6959, allocations: 26.7 MB / 437.2 MB, free: 4.344 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.6959, allocations: 4 kB / 437.2 MB, free: 4.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.47e-05/0.696, allocations: 32 kB / 437.2 MB, free: 4.309 MB / 362.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.005181/0.7012, allocations: 1.647 MB / 438.9 MB, free: 2.605 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.7013, allocations: 8.031 kB / 438.9 MB, free: 2.598 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001246/0.7026, allocations: 346.3 kB / 439.2 MB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.7042, allocations: 257.2 kB / 439.5 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.7069, allocations: 0.8193 MB / 440.3 MB, free: 1.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.7072, allocations: 147.8 kB / 440.4 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006995/0.7079, allocations: 187.9 kB / 440.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008782/0.7167, allocations: 3.351 MB / 444 MB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.174e-05/0.7168, allocations: 19.81 kB / 444 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003389/0.7172, allocations: 91.95 kB / 444.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006742/0.7179, allocations: 332 kB / 444.4 MB, free: 12.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005684/0.7236, allocations: 1.863 MB / 446.3 MB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.744, allocations: 15.11 MB / 461.4 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.7442, allocations: 169.1 kB / 461.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.7442, allocations: 83.22 kB / 461.6 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/0.7443, allocations: 105.8 kB / 461.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.336e-06/0.7443, allocations: 0 / 461.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004466/0.7447, allocations: 152.1 kB / 461.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/0.7448, allocations: 130.7 kB / 462 MB, free: 10.49 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/0.7482, allocations: 1.443 MB / 463.4 MB, free: 9.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.7483, allocations: 25.7 kB / 463.5 MB, free: 9.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.7497, allocations: 1.369 MB / 464.8 MB, free: 7.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.727e-05/0.7498, allocations: 43.95 kB / 464.9 MB, free: 7.574 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.7499, allocations: 40 kB / 464.9 MB, free: 7.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002385/0.7502, allocations: 394.7 kB / 465.3 MB, free: 7.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000895/0.7511, allocations: 355.8 kB / 465.7 MB, free: 6.789 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.7533, allocations: 1.903 MB / 467.6 MB, free: 4.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.7552, allocations: 0.7684 MB / 468.3 MB, free: 3.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-05/0.7552, allocations: 16 kB / 468.3 MB, free: 3.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005332/0.7606, allocations: 2.025 MB / 470.4 MB, free: 1.262 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.7607, allocations: 35.12 kB / 470.4 MB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.842e-05/0.7608, allocations: 56 kB / 470.5 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.7609, allocations: 80 kB / 470.5 MB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.7633, allocations: 487.7 kB / 471 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001366/0.7635, allocations: 111.6 kB / 471.1 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.7659, allocations: 320.5 kB / 471.4 MB, free: 200 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004444/0.7664, allocations: 140 kB / 471.6 MB, free: 60 kB / 394.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 () * Number of clocked 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.002292/0.7687, allocations: 0.8458 MB / 472.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.7691, allocations: 227.4 kB / 472.6 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004622/0.7696, allocations: 228.3 kB / 472.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.092e-05/0.7697, allocations: 184.2 kB / 473 MB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.752e-05/0.7698, allocations: 180.2 kB / 473.2 MB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-05/0.7699, allocations: 176.3 kB / 473.4 MB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.7732, allocations: 1.469 MB / 474.9 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.702e-05/0.7733, allocations: 113 kB / 475 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.7733, allocations: 108.9 kB / 475.1 MB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.918e-05/0.7734, allocations: 180.4 kB / 475.2 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.161e-05/0.7735, allocations: 180.3 kB / 475.4 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.351e-05/0.7736, allocations: 188.2 kB / 475.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-05/0.7737, allocations: 184.2 kB / 475.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.7741, allocations: 429.1 kB / 476.2 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.7746, allocations: 300.5 kB / 476.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.7748, allocations: 176.3 kB / 476.7 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.7754, allocations: 105 kB / 476.8 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.7755, allocations: 188.2 kB / 477 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.7755, allocations: 101 kB / 477.1 MB, free: 10.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002233/0.7778, allocations: 0.99 MB / 478 MB, free: 9.336 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7778, allocations: 0 / 478 MB, free: 9.336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002421/0.7802, allocations: 442 kB / 478.5 MB, free: 8.902 MB / 410.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 (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.0007361/0.781, allocations: 0.9439 MB / 479.4 MB, free: 7.926 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.7833, allocations: 0.8799 MB / 480.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7833, allocations: 0 / 480.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.617e-06/0.7833, allocations: 0 / 480.3 MB, free: 7.059 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.7844, allocations: 0.6373 MB / 480.9 MB, free: 6.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3108/1.095, allocations: 48.09 MB / 0.5166 GB, free: 82.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/1.097, allocations: 1.604 MB / 0.5182 GB, free: 81.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/1.098, allocations: 0.6734 MB / 0.5189 GB, free: 81.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.232e-06/1.098, allocations: 0 / 0.5189 GB, free: 81.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.013/4.111, allocations: 26.04 MB / 0.5443 GB, free: 74.42 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat