Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01538/0.01539, allocations: 162 kB / 15.12 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.864/1.864, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001792/0.001792, allocations: 109.9 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5477/0.5477, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.0004741, allocations: 11.98 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Shapes): time 0.4413/0.5476, allocations: 34.81 MB / 446.5 MB, free: 29.92 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02694/0.5746, allocations: 6.365 MB / 452.9 MB, free: 28.28 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01083/0.5855, allocations: 152.3 kB / 453 MB, free: 28.26 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007343/0.5929, allocations: 1.696 MB / 454.7 MB, free: 27.73 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01853/0.6115, allocations: 5.459 MB / 460.2 MB, free: 25.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002/0.6136, allocations: 105.5 kB / 460.3 MB, free: 25.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.616, allocations: 1.298 MB / 461.6 MB, free: 25.02 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003093/0.6191, allocations: 1.716 MB / 463.3 MB, free: 24.35 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006627/0.6199, allocations: 372.4 kB / 463.7 MB, free: 24.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009795/0.6209, allocations: 0.5352 MB / 464.2 MB, free: 24.01 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.6211, allocations: 49.81 kB / 464.2 MB, free: 24.01 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.6214, allocations: 46.66 kB / 464.3 MB, free: 24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006569/0.6221, allocations: 0.6175 MB / 464.9 MB, free: 23.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.6225, allocations: 341 kB / 465.2 MB, free: 23.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.6249, allocations: 1.76 MB / 467 MB, free: 23.19 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.625, allocations: 0 / 467 MB, free: 23.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.625, allocations: 0.8438 kB / 467 MB, free: 23.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.652e-05/0.6251, allocations: 0 / 467 MB, free: 23.19 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.003712/0.6288, allocations: 1.616 MB / 468.6 MB, free: 22.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.6289, allocations: 9.406 kB / 468.6 MB, free: 22.12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008373/0.6298, allocations: 330.6 kB / 468.9 MB, free: 21.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.6307, allocations: 215.8 kB / 469.2 MB, free: 21.83 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.6325, allocations: 0.7043 MB / 469.9 MB, free: 21.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.897e-05/0.6326, allocations: 116.7 kB / 470 MB, free: 21.28 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.6329, allocations: 152 kB / 470.1 MB, free: 21.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006778/0.6397, allocations: 3.352 MB / 473.5 MB, free: 19.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.994e-05/0.6398, allocations: 17.84 kB / 473.5 MB, free: 19.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.64, allocations: 74.38 kB / 473.6 MB, free: 19.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001183/0.6412, allocations: 0.6189 MB / 474.2 MB, free: 19.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005409/0.6467, allocations: 1.824 MB / 476 MB, free: 18.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.6635, allocations: 13.42 MB / 489.4 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.6636, allocations: 174.1 kB / 489.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.95e-05/0.6637, allocations: 85.38 kB / 489.7 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.6637, allocations: 75.28 kB / 489.8 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6637, allocations: 107 kB / 489.9 MB, free: 6.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 2.795e-06/0.6638, allocations: 4 kB / 489.9 MB, free: 6.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 0.0005239/0.6643, allocations: 142.3 kB / 490 MB, free: 6.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.6644, allocations: 130.6 kB / 490.1 MB, free: 6.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.6677, allocations: 1.613 MB / 491.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.6677, allocations: 33.64 kB / 491.8 MB, free: 5.582 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009508/0.6687, allocations: 1.345 MB / 493.1 MB, free: 4.379 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.688e-05/0.6688, allocations: 44.2 kB / 493.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.604e-05/0.6689, allocations: 40.34 kB / 493.2 MB, free: 4.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.6691, allocations: 442.8 kB / 493.6 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000864/0.67, allocations: 362.8 kB / 494 MB, free: 3.746 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.6716, allocations: 1.898 MB / 495.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.6734, allocations: 0.7638 MB / 496.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.523e-05/0.6735, allocations: 16.78 kB / 496.7 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.008305/0.6818, allocations: 2.077 MB / 498.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.454e-05/0.6819, allocations: 29.69 kB / 498.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/0.6821, allocations: 57.31 kB / 498.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.6823, allocations: 89.48 kB / 498.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003633/0.6859, allocations: 479.2 kB / 499.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001238/0.6861, allocations: 107.5 kB / 499.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.6884, allocations: 321.2 kB / 499.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000343/0.6887, allocations: 135.8 kB / 499.9 MB, free: 15.52 MB / 346.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.00194/0.6907, allocations: 0.8631 MB / 0.4891 GB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003451/0.6911, allocations: 222.2 kB / 0.4893 GB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.6914, allocations: 224.1 kB / 0.4895 GB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.706e-05/0.6915, allocations: 181.6 kB / 0.4897 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-05/0.6915, allocations: 190.4 kB / 0.4898 GB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.181e-05/0.6916, allocations: 180.2 kB / 0.49 GB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.6943, allocations: 1.47 MB / 0.4914 GB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-05/0.6944, allocations: 110.1 kB / 0.4916 GB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.6945, allocations: 101.9 kB / 0.4917 GB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-05/0.6945, allocations: 181.3 kB / 0.4918 GB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.971e-05/0.6946, allocations: 186.5 kB / 0.492 GB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.888e-05/0.6947, allocations: 184.2 kB / 0.4922 GB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.548e-05/0.6948, allocations: 181.6 kB / 0.4924 GB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.6953, allocations: 425 kB / 0.4928 GB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.6958, allocations: 296.7 kB / 0.493 GB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/0.696, allocations: 183.1 kB / 0.4932 GB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004987/0.6966, allocations: 112.9 kB / 0.4933 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.992e-05/0.6966, allocations: 180.6 kB / 0.4935 GB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.6967, allocations: 103.6 kB / 0.4936 GB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00205/0.6988, allocations: 0.9871 MB / 0.4946 GB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6988, allocations: 3.938 kB / 0.4946 GB, free: 10.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002401/0.7012, allocations: 423.8 kB / 0.495 GB, free: 10.16 MB / 346.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.0007603/0.702, allocations: 0.9408 MB / 0.4959 GB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.7042, allocations: 0.8831 MB / 0.4967 GB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7042, allocations: 0 / 0.4967 GB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.401e-06/0.7043, allocations: 192 / 0.4967 GB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.7057, allocations: 0.6519 MB / 0.4974 GB, free: 8.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02153/0.7273, allocations: 9.374 MB / 0.5065 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/0.7295, allocations: 1.614 MB / 0.5081 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002208/0.7317, allocations: 483.2 kB / 0.5086 GB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.733, allocations: 0.6594 MB / 0.5092 GB, free: 11.63 MB / 362.7 MB Notification: Performance of SimCode: time 3.256e-06/0.7331, allocations: 0 / 0.5092 GB, free: 11.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09109/0.8242, allocations: 21.96 MB / 0.5307 GB, free: 5.746 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003465/0.8246, allocations: 185.4 kB / 0.5308 GB, free: 5.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.415/4.24, allocations: 3.938 kB / 0.5308 GB, free: 5.496 MB / 378.7 MB