Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01157/0.01157, allocations: 107 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.2.mo): time 0.001481/0.001481, allocations: 183.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.136/2.136, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2998/0.2998, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004855, allocations: 8 kB / 361.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1442, allocations: 54.87 MB / 416 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.05281/0.1971, allocations: 32.92 MB / 448.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3932/0.5903, allocations: 6.708 MB / 455.6 MB, free: 30.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007901/0.5983, allocations: 152.9 kB / 455.8 MB, free: 30.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006646/0.605, allocations: 1.662 MB / 457.4 MB, free: 30.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01757/0.6226, allocations: 4.445 MB / 461.9 MB, free: 30.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.6247, allocations: 104.1 kB / 462 MB, free: 30.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.6267, allocations: 0.5952 MB / 462.6 MB, free: 30.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003507/0.6303, allocations: 1.704 MB / 464.3 MB, free: 30.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007594/0.6311, allocations: 309.7 kB / 464.6 MB, free: 29.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008444/0.632, allocations: 336.3 kB / 464.9 MB, free: 29.86 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.6323, allocations: 43.31 kB / 465 MB, free: 29.86 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.6328, allocations: 46 kB / 465 MB, free: 29.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006851/0.6335, allocations: 0.5763 MB / 465.6 MB, free: 29.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004866/0.634, allocations: 330.9 kB / 465.9 MB, free: 29.69 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002594/0.6366, allocations: 1.767 MB / 467.7 MB, free: 29.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6367, allocations: 0 / 467.7 MB, free: 29.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.6367, allocations: 4 kB / 467.7 MB, free: 29.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.6368, allocations: 0 / 467.7 MB, free: 29.54 MB / 378.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.003927/0.6408, allocations: 1.617 MB / 469.3 MB, free: 28.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.6409, allocations: 10.03 kB / 469.3 MB, free: 28.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009662/0.6418, allocations: 329.4 kB / 469.6 MB, free: 28.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009629/0.6428, allocations: 211.9 kB / 469.8 MB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.6448, allocations: 0.7018 MB / 470.5 MB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.645, allocations: 114.9 kB / 470.6 MB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/0.6454, allocations: 148.4 kB / 470.8 MB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006577/0.652, allocations: 3.34 MB / 474.1 MB, free: 27.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.964e-05/0.6521, allocations: 13.69 kB / 474.1 MB, free: 27.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002351/0.6524, allocations: 73.58 kB / 474.2 MB, free: 27.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001134/0.6535, allocations: 0.6146 MB / 474.8 MB, free: 27.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005502/0.6591, allocations: 1.838 MB / 476.7 MB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01709/0.6762, allocations: 13.42 MB / 490.1 MB, free: 17.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.066e-05/0.6764, allocations: 174.2 kB / 490.3 MB, free: 17.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.6764, allocations: 75.28 kB / 490.3 MB, free: 17.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.6765, allocations: 112.9 kB / 490.4 MB, free: 17.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.796e-06/0.6765, allocations: 0.75 kB / 490.4 MB, free: 17.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004444/0.6769, allocations: 144.1 kB / 490.6 MB, free: 17.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.677, allocations: 127.3 kB / 490.7 MB, free: 17.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003974/0.681, allocations: 1.612 MB / 492.3 MB, free: 17.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6811, allocations: 25.7 kB / 492.4 MB, free: 17.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001579/0.6827, allocations: 1.35 MB / 493.7 MB, free: 16.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.6829, allocations: 54.02 kB / 493.8 MB, free: 16.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.683, allocations: 37.91 kB / 493.8 MB, free: 16.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003554/0.6834, allocations: 446.7 kB / 494.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.6846, allocations: 360.1 kB / 494.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.6869, allocations: 1.889 MB / 496.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/0.689, allocations: 0.7642 MB / 497.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.6892, allocations: 16.89 kB / 497.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.00668/0.6959, allocations: 2.071 MB / 499.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.696, allocations: 33.5 kB / 499.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.6961, allocations: 57.36 kB / 499.4 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.6963, allocations: 80.91 kB / 499.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.699, allocations: 481.9 kB / 500 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001722/0.6992, allocations: 108.2 kB / 0.4883 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.7018, allocations: 321.8 kB / 0.4886 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005002/0.7024, allocations: 136.5 kB / 0.4888 GB, free: 12.92 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.002341/0.7047, allocations: 0.865 MB / 0.4896 GB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.7051, allocations: 221.5 kB / 0.4898 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000388/0.7055, allocations: 226.7 kB / 0.4901 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.955e-05/0.7056, allocations: 182.4 kB / 0.4902 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.243e-05/0.7056, allocations: 182.3 kB / 0.4904 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/0.7057, allocations: 182.7 kB / 0.4906 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004074/0.7098, allocations: 1.473 MB / 0.492 GB, free: 27.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.986e-05/0.7099, allocations: 104.3 kB / 0.4921 GB, free: 27.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.7099, allocations: 109.7 kB / 0.4922 GB, free: 27.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.318e-05/0.71, allocations: 180.9 kB / 0.4924 GB, free: 26.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/0.7101, allocations: 187 kB / 0.4926 GB, free: 26.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.685e-05/0.7102, allocations: 178.4 kB / 0.4927 GB, free: 26.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-05/0.7103, allocations: 180.7 kB / 0.4929 GB, free: 26.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.7108, allocations: 428 kB / 0.4933 GB, free: 25.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005407/0.7113, allocations: 304.1 kB / 0.4936 GB, free: 25.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/0.7116, allocations: 181.9 kB / 0.4938 GB, free: 25.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005199/0.7121, allocations: 105.1 kB / 0.4939 GB, free: 25.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.326e-05/0.7123, allocations: 180.9 kB / 0.4941 GB, free: 25.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.7123, allocations: 103.2 kB / 0.4942 GB, free: 25.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002829/0.7152, allocations: 0.9893 MB / 0.4951 GB, free: 25.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.793e-06/0.7152, allocations: 5.094 kB / 0.4951 GB, free: 25.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003057/0.7183, allocations: 427.8 kB / 0.4955 GB, free: 24.94 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.000946/0.7193, allocations: 0.9363 MB / 0.4964 GB, free: 24.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002483/0.7218, allocations: 0.8858 MB / 0.4973 GB, free: 23.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/0.7219, allocations: 0 / 0.4973 GB, free: 23.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.654e-06/0.7219, allocations: 1.406 kB / 0.4973 GB, free: 23.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.7232, allocations: 0.6402 MB / 0.4979 GB, free: 23.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03932/0.7626, allocations: 47.92 MB / 0.5447 GB, free: 11.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/0.7658, allocations: 1.604 MB / 0.5463 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002431/0.7683, allocations: 490.4 kB / 0.5468 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.7697, allocations: 0.6623 MB / 0.5474 GB, free: 9.688 MB / 426.7 MB Notification: Performance of SimCode: time 1.804e-06/0.7698, allocations: 4 kB / 0.5474 GB, free: 9.684 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07395/0.8437, allocations: 21.97 MB / 0.5689 GB, free: 8.223 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004122/0.8442, allocations: 173.1 kB / 0.569 GB, free: 7.984 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/4.097, allocations: 4 kB / 0.569 GB, free: 7.98 MB / 442.7 MB