Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01093/0.01093, allocations: 106 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001201/0.001201, allocations: 166.4 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.598/1.598, allocations: 170.9 MB / 187.6 MB, free: 0.8477 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2587/0.2587, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007554/0.0007557, allocations: 15.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1062, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.04826/0.1545, allocations: 32.91 MB / 405.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0183/0.1728, allocations: 6.699 MB / 411.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006483/0.1794, allocations: 155.7 kB / 412.1 MB, free: 4.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006285/0.1857, allocations: 1.668 MB / 413.7 MB, free: 3.289 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01806/0.2039, allocations: 4.441 MB / 418.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.2058, allocations: 103.9 kB / 418.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.2075, allocations: 0.5885 MB / 418.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.2108, allocations: 1.706 MB / 420.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.2114, allocations: 302.7 kB / 420.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006821/0.2121, allocations: 342.4 kB / 421.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.2123, allocations: 44 kB / 421.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.2126, allocations: 36 kB / 421.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007249/0.2133, allocations: 0.5805 MB / 421.8 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.2137, allocations: 332.6 kB / 422.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.2164, allocations: 1.761 MB / 423.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2164, allocations: 0 / 423.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.2164, allocations: 0 / 423.9 MB, free: 9.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.867e-05/0.2165, allocations: 4 kB / 423.9 MB, free: 9.012 MB / 330.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.003192/0.2197, allocations: 1.612 MB / 425.5 MB, free: 7.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.2198, allocations: 12.03 kB / 425.6 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005126/0.2203, allocations: 338.2 kB / 425.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/0.221, allocations: 213.2 kB / 426.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.2228, allocations: 0.706 MB / 426.8 MB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.2229, allocations: 111 kB / 426.9 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.2232, allocations: 147.9 kB / 427.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006423/0.2296, allocations: 3.347 MB / 430.4 MB, free: 2.098 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.2298, allocations: 15.88 kB / 430.4 MB, free: 2.082 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.23, allocations: 71.94 kB / 430.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/0.2312, allocations: 0.6071 MB / 431.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2756/0.5068, allocations: 1.831 MB / 432.9 MB, free: 62.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/0.524, allocations: 13.43 MB / 446.4 MB, free: 53.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.5241, allocations: 166.3 kB / 446.5 MB, free: 52.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.5241, allocations: 76.31 kB / 446.6 MB, free: 52.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.5242, allocations: 109.6 kB / 446.7 MB, free: 52.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.294e-06/0.5242, allocations: 0 / 446.7 MB, free: 52.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003525/0.5245, allocations: 147.3 kB / 446.8 MB, free: 52.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.5246, allocations: 137.2 kB / 447 MB, free: 52.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003138/0.5277, allocations: 1.616 MB / 448.6 MB, free: 51.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.5278, allocations: 25.7 kB / 448.6 MB, free: 51.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.5288, allocations: 1.345 MB / 450 MB, free: 50.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.751e-05/0.5289, allocations: 48.48 kB / 450 MB, free: 50.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.529, allocations: 40.44 kB / 450 MB, free: 50.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.5292, allocations: 443.3 kB / 450.5 MB, free: 50.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.5301, allocations: 356.8 kB / 450.8 MB, free: 49.97 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.5319, allocations: 1.893 MB / 452.7 MB, free: 47.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.5338, allocations: 0.7653 MB / 453.5 MB, free: 47.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.668e-05/0.5339, allocations: 16.66 kB / 453.5 MB, free: 47.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00525/0.5392, allocations: 2.072 MB / 455.6 MB, free: 46.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.432e-05/0.5393, allocations: 28.88 kB / 455.6 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-05/0.5394, allocations: 58.12 kB / 455.7 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.5395, allocations: 81.12 kB / 455.7 MB, free: 46.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.5418, allocations: 480.2 kB / 456.2 MB, free: 46.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001212/0.542, allocations: 116.6 kB / 456.3 MB, free: 46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.5442, allocations: 328.3 kB / 456.6 MB, free: 45.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.5446, allocations: 136.4 kB / 456.8 MB, free: 45.77 MB / 330.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.001679/0.5462, allocations: 0.8617 MB / 457.6 MB, free: 45.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.5466, allocations: 218.6 kB / 457.9 MB, free: 45.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.5468, allocations: 231 kB / 458.1 MB, free: 44.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/0.5468, allocations: 176.3 kB / 458.2 MB, free: 44.67 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.601e-05/0.5469, allocations: 184.1 kB / 458.4 MB, free: 44.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/0.5469, allocations: 188.1 kB / 458.6 MB, free: 44.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.5495, allocations: 1.466 MB / 460.1 MB, free: 43.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/0.5495, allocations: 108.9 kB / 460.2 MB, free: 43.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.5496, allocations: 102.2 kB / 460.3 MB, free: 43.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.024e-05/0.5496, allocations: 181.1 kB / 460.5 MB, free: 42.89 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.5497, allocations: 188.2 kB / 460.6 MB, free: 42.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.544e-05/0.5497, allocations: 176.3 kB / 460.8 MB, free: 42.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-05/0.5498, allocations: 184.2 kB / 461 MB, free: 42.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.5501, allocations: 432.2 kB / 461.4 MB, free: 41.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.5505, allocations: 295.8 kB / 461.7 MB, free: 41.67 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.5507, allocations: 184.2 kB / 461.9 MB, free: 41.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000467/0.5512, allocations: 106.1 kB / 462 MB, free: 41.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.849e-05/0.5513, allocations: 184.5 kB / 462.2 MB, free: 41.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.5513, allocations: 104.9 kB / 462.3 MB, free: 41.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00187/0.5532, allocations: 0.989 MB / 463.3 MB, free: 40.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5532, allocations: 3.062 kB / 463.3 MB, free: 40.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002432/0.5557, allocations: 422.5 kB / 463.7 MB, free: 40.42 MB / 330.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.000503/0.5562, allocations: 0.9444 MB / 464.6 MB, free: 39.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.5583, allocations: 0.8765 MB / 465.5 MB, free: 39.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5583, allocations: 1.094 kB / 465.5 MB, free: 39.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.5583, allocations: 0 / 465.5 MB, free: 39.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009721/0.5593, allocations: 0.6415 MB / 466.1 MB, free: 38.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/0.5859, allocations: 47.93 MB / 0.502 GB, free: 5.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001924/0.5879, allocations: 1.603 MB / 0.5036 GB, free: 3.695 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002169/0.5901, allocations: 487.2 kB / 0.5041 GB, free: 3.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.5914, allocations: 0.6633 MB / 0.5047 GB, free: 2.551 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/0.5914, allocations: 0 / 0.5047 GB, free: 2.551 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0742/0.6656, allocations: 21.97 MB / 0.5262 GB, free: 12.7 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003474/0.666, allocations: 169.2 kB / 0.5263 GB, free: 12.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/3.846, allocations: 0 / 0.5263 GB, free: 12.47 MB / 378.7 MB