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.405/2.405, allocations: 234.9 MB / 250.5 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004397, allocations: 16 kB / 314.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.375, allocations: 54.85 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.05166/0.4267, allocations: 32.92 MB / 402.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01947/0.4462, allocations: 6.716 MB / 408.9 MB, free: 5.035 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006419/0.4527, allocations: 151.7 kB / 409.1 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006151/0.4589, allocations: 1.664 MB / 410.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.4765, allocations: 4.445 MB / 415.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.4785, allocations: 107.8 kB / 415.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.4803, allocations: 0.5845 MB / 415.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003574/0.4839, allocations: 1.713 MB / 417.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005731/0.4846, allocations: 290.8 kB / 417.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006593/0.4852, allocations: 354.3 kB / 418.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001697/0.4854, allocations: 44 kB / 418.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.4857, allocations: 36 kB / 418.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000751/0.4865, allocations: 0.5766 MB / 418.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003985/0.4869, allocations: 336.6 kB / 419.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.4895, allocations: 1.762 MB / 420.9 MB, free: 8.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4896, allocations: 0 / 420.9 MB, free: 8.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4896, allocations: 0 / 420.9 MB, free: 8.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.852e-05/0.4897, allocations: 3.938 kB / 420.9 MB, free: 8.918 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.003481/0.4931, allocations: 1.621 MB / 422.6 MB, free: 7.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.4932, allocations: 8.031 kB / 422.6 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007924/0.494, allocations: 334.3 kB / 422.9 MB, free: 6.898 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.4955, allocations: 213.2 kB / 423.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.4987, allocations: 0.706 MB / 423.8 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.499, allocations: 115 kB / 423.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005842/0.4997, allocations: 151.9 kB / 424.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009793/0.5095, allocations: 3.343 MB / 427.4 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.244e-05/0.5096, allocations: 19.81 kB / 427.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/0.5098, allocations: 75.92 kB / 427.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.5111, allocations: 0.6149 MB / 428.1 MB, free: 1.293 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005194/0.5163, allocations: 1.827 MB / 430 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01771/0.534, allocations: 13.42 MB / 443.4 MB, free: 1.617 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.97e-05/0.5342, allocations: 165.1 kB / 443.5 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.5342, allocations: 75.28 kB / 443.6 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.5343, allocations: 109.8 kB / 443.7 MB, free: 1.254 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/0.5343, allocations: 0 / 443.7 MB, free: 1.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003066/0.5346, allocations: 152 kB / 443.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.77e-05/0.5347, allocations: 126.7 kB / 444 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.5377, allocations: 1.61 MB / 445.6 MB, free: 15.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5377, allocations: 33.69 kB / 445.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.5389, allocations: 1.369 MB / 447 MB, free: 13.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.539, allocations: 43.95 kB / 447 MB, free: 13.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.5391, allocations: 40 kB / 447.1 MB, free: 13.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.5393, allocations: 398.7 kB / 447.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.5402, allocations: 359.8 kB / 447.8 MB, free: 13.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.5423, allocations: 1.899 MB / 449.7 MB, free: 10.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.5441, allocations: 0.7646 MB / 450.5 MB, free: 9.602 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.894e-05/0.5442, allocations: 16 kB / 450.5 MB, free: 9.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004624/0.5488, allocations: 2.026 MB / 452.5 MB, free: 7.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.5489, allocations: 32.92 kB / 452.6 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.022e-05/0.549, allocations: 60 kB / 452.6 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.5491, allocations: 88 kB / 452.7 MB, free: 7.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.5513, allocations: 483 kB / 453.2 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001159/0.5515, allocations: 111.5 kB / 453.3 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.5533, allocations: 316.6 kB / 453.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/0.5536, allocations: 136 kB / 453.7 MB, free: 6.352 MB / 378.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.00167/0.5552, allocations: 0.8692 MB / 454.6 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.5555, allocations: 223.4 kB / 454.8 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000303/0.5559, allocations: 228 kB / 455 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.867e-05/0.556, allocations: 180.3 kB / 455.2 MB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.052e-05/0.556, allocations: 184.2 kB / 455.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-05/0.5561, allocations: 184.2 kB / 455.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.5585, allocations: 1.469 MB / 457 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.192e-05/0.5586, allocations: 104.9 kB / 457.1 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.5587, allocations: 105 kB / 457.2 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.051e-05/0.5587, allocations: 180.4 kB / 457.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.5588, allocations: 184.3 kB / 457.6 MB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.491e-05/0.5589, allocations: 180.3 kB / 457.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-05/0.559, allocations: 184.2 kB / 458 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.5593, allocations: 429.1 kB / 458.4 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.5597, allocations: 292.6 kB / 458.7 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.56, allocations: 180.3 kB / 458.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.5605, allocations: 116.9 kB / 459 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.5606, allocations: 180.3 kB / 459.1 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.5606, allocations: 104.9 kB / 459.2 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001985/0.5626, allocations: 0.9861 MB / 460.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5626, allocations: 0 / 460.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002206/0.5649, allocations: 430.1 kB / 460.6 MB, free: 15.2 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.0006742/0.5656, allocations: 0.9323 MB / 461.6 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.5678, allocations: 0.8837 MB / 462.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.5678, allocations: 0.5 kB / 462.5 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.5679, allocations: 7.938 kB / 462.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.5689, allocations: 0.6407 MB / 463.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/0.5901, allocations: 9.923 MB / 473 MB, free: 1.676 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002035/0.5922, allocations: 1.61 MB / 474.6 MB, free: 32 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.5934, allocations: 0.6751 MB / 475.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.5935, allocations: 0 / 475.3 MB, free: 15.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.844/3.438, allocations: 26.09 MB / 0.4896 GB, free: 5.246 MB / 426.7 MB