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.981/2.981, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004649, allocations: 16 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3539, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.5193, allocations: 85.51 MB / 454.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/0.5197, allocations: 83.89 kB / 454.9 MB, free: 4.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4225/0.9422, allocations: 26.69 MB / 481.6 MB, free: 87.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.9423, allocations: 0 / 481.6 MB, free: 87.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.901e-05/0.9424, allocations: 34.92 kB / 481.7 MB, free: 87.74 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.005292/0.9477, allocations: 1.649 MB / 483.3 MB, free: 86.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.9478, allocations: 9.188 kB / 483.3 MB, free: 86.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/0.9488, allocations: 352.7 kB / 483.7 MB, free: 86.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.9503, allocations: 256.4 kB / 483.9 MB, free: 86.65 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.9528, allocations: 0.8277 MB / 484.7 MB, free: 86.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.953, allocations: 146 kB / 484.9 MB, free: 86.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004514/0.9535, allocations: 189.5 kB / 485.1 MB, free: 86.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007192/0.9607, allocations: 3.344 MB / 488.4 MB, free: 85.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-05/0.9608, allocations: 23.31 kB / 488.4 MB, free: 85.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/0.9611, allocations: 92.67 kB / 488.5 MB, free: 85.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000518/0.9616, allocations: 331 kB / 488.9 MB, free: 85.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0048/0.9664, allocations: 1.869 MB / 490.7 MB, free: 84.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/0.9816, allocations: 15.11 MB / 0.494 GB, free: 72.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.088e-05/0.9818, allocations: 176.6 kB / 0.4941 GB, free: 72.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.9818, allocations: 79.22 kB / 0.4942 GB, free: 72.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.9818, allocations: 105.8 kB / 0.4943 GB, free: 72.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.876e-06/0.9818, allocations: 0 / 0.4943 GB, free: 72.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002771/0.9821, allocations: 155.2 kB / 0.4945 GB, free: 72.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.9822, allocations: 130.7 kB / 0.4946 GB, free: 71.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002369/0.9846, allocations: 1.444 MB / 0.496 GB, free: 71.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.9846, allocations: 25.7 kB / 0.496 GB, free: 71.37 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008073/0.9854, allocations: 1.364 MB / 0.4974 GB, free: 70.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.9855, allocations: 45 kB / 0.4974 GB, free: 70.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.9856, allocations: 41.06 kB / 0.4974 GB, free: 70.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.9857, allocations: 389.3 kB / 0.4978 GB, free: 69.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.9864, allocations: 363.1 kB / 0.4982 GB, free: 69.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.988, allocations: 1.897 MB / 0.5 GB, free: 67.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.9893, allocations: 0.7635 MB / 0.5008 GB, free: 66.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-05/0.9894, allocations: 19.95 kB / 0.5008 GB, free: 66.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003775/0.9931, allocations: 2.028 MB / 0.5028 GB, free: 65.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/0.9932, allocations: 28 kB / 0.5028 GB, free: 65.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/0.9933, allocations: 60 kB / 0.5028 GB, free: 65.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.972e-05/0.9934, allocations: 80 kB / 0.5029 GB, free: 64.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/0.9954, allocations: 484.8 kB / 0.5034 GB, free: 64.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.409e-05/0.9955, allocations: 106.6 kB / 0.5035 GB, free: 64.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.9973, allocations: 319.7 kB / 0.5038 GB, free: 64.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.9975, allocations: 136 kB / 0.5039 GB, free: 63.97 MB / 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.001425/0.9989, allocations: 0.8558 MB / 0.5048 GB, free: 63.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9991, allocations: 231.3 kB / 0.505 GB, free: 62.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.9994, allocations: 230.2 kB / 0.5052 GB, free: 62.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.9994, allocations: 176.3 kB / 0.5054 GB, free: 62.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.804e-05/0.9995, allocations: 188.2 kB / 0.5055 GB, free: 62.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.672e-05/0.9995, allocations: 180.3 kB / 0.5057 GB, free: 62.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/1.002, allocations: 1.461 MB / 0.5071 GB, free: 60.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-05/1.002, allocations: 116.7 kB / 0.5073 GB, free: 60.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/1.002, allocations: 111.8 kB / 0.5074 GB, free: 60.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.223e-05/1.002, allocations: 180.2 kB / 0.5075 GB, free: 60.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/1.002, allocations: 176.3 kB / 0.5077 GB, free: 60.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-05/1.002, allocations: 176.3 kB / 0.5079 GB, free: 60.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.859e-05/1.002, allocations: 192 kB / 0.508 GB, free: 59.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/1.002, allocations: 429.4 kB / 0.5085 GB, free: 59.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/1.003, allocations: 291.8 kB / 0.5087 GB, free: 59.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.003, allocations: 180.2 kB / 0.5089 GB, free: 58.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/1.003, allocations: 112.3 kB / 0.509 GB, free: 58.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/1.003, allocations: 184.3 kB / 0.5092 GB, free: 58.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/1.003, allocations: 108.9 kB / 0.5093 GB, free: 58.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001856/1.005, allocations: 0.9852 MB / 0.5103 GB, free: 57.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.005, allocations: 0 / 0.5103 GB, free: 57.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00222/1.007, allocations: 430.1 kB / 0.5107 GB, free: 57.34 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 (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.0004957/1.008, allocations: 0.9395 MB / 0.5116 GB, free: 56.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001799/1.01, allocations: 0.8852 MB / 0.5124 GB, free: 55.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.01, allocations: 0 / 0.5124 GB, free: 55.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.377e-06/1.01, allocations: 0 / 0.5124 GB, free: 55.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000911/1.011, allocations: 0.6485 MB / 0.5131 GB, free: 54.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.035, allocations: 48.09 MB / 0.56 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/1.036, allocations: 1.599 MB / 0.5616 GB, free: 3.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009902/1.037, allocations: 0.675 MB / 0.5623 GB, free: 3.059 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/1.037, allocations: 0 / 0.5623 GB, free: 3.059 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.104/4.142, allocations: 26.04 MB / 0.5877 GB, free: 9.16 MB / 426.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