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.009765/0.009765, allocations: 165.7 kB / 15.11 MB, free: 5.934 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.604/1.604, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.002011/0.002011, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.461/0.461, allocations: 38.06 MB / 303.7 MB, free: 42.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004829, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.5797, allocations: 79.05 MB / 490.7 MB, free: 8.852 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.5801, allocations: 74.59 kB / 490.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1407/0.7209, allocations: 26.7 MB / 0.5054 GB, free: 1.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.7209, allocations: 0 / 0.5054 GB, free: 1.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.563e-05/0.721, allocations: 39.94 kB / 0.5054 GB, free: 1.656 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.003866/0.7249, allocations: 1.646 MB / 0.507 GB, free: 80 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.725, allocations: 8.031 kB / 0.507 GB, free: 72 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007809/0.7258, allocations: 343.5 kB / 0.5074 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.7271, allocations: 260.1 kB / 0.5076 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.7297, allocations: 0.8276 MB / 0.5084 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.7299, allocations: 144 kB / 0.5086 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005802/0.7305, allocations: 183.5 kB / 0.5087 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008164/0.7387, allocations: 3.349 MB / 0.512 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-05/0.7388, allocations: 19.81 kB / 0.512 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.7391, allocations: 93.7 kB / 0.5121 GB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006756/0.7398, allocations: 322.9 kB / 0.5124 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/0.7454, allocations: 1.867 MB / 0.5142 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02046/0.7659, allocations: 15.12 MB / 0.529 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.7661, allocations: 177.1 kB / 0.5292 GB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/0.7661, allocations: 75.28 kB / 0.5293 GB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.7662, allocations: 113.8 kB / 0.5294 GB, free: 9.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.104e-06/0.7662, allocations: 0 / 0.5294 GB, free: 9.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003648/0.7666, allocations: 148.2 kB / 0.5295 GB, free: 9.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.7667, allocations: 126.7 kB / 0.5296 GB, free: 9.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003386/0.7701, allocations: 1.439 MB / 0.531 GB, free: 7.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.7701, allocations: 29.7 kB / 0.5311 GB, free: 7.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.7715, allocations: 1.351 MB / 0.5324 GB, free: 6.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.978e-05/0.7717, allocations: 43.95 kB / 0.5324 GB, free: 6.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.7718, allocations: 44 kB / 0.5325 GB, free: 6.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003253/0.7721, allocations: 438.7 kB / 0.5329 GB, free: 5.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008926/0.773, allocations: 367.7 kB / 0.5332 GB, free: 5.602 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.7753, allocations: 1.895 MB / 0.5351 GB, free: 2.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.7772, allocations: 0.7646 MB / 0.5358 GB, free: 2.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-05/0.7772, allocations: 16 kB / 0.5358 GB, free: 2.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004914/0.7821, allocations: 2.072 MB / 0.5379 GB, free: 40 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.897e-05/0.7822, allocations: 28.22 kB / 0.5379 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.7824, allocations: 60.05 kB / 0.5379 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.7825, allocations: 80 kB / 0.538 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002332/0.7848, allocations: 483 kB / 0.5385 GB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001227/0.785, allocations: 111.6 kB / 0.5386 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.787, allocations: 320.5 kB / 0.5389 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.7872, allocations: 136 kB / 0.539 GB, free: 14.84 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.001751/0.7889, allocations: 0.8507 MB / 0.5399 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.7893, allocations: 227.4 kB / 0.5401 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.7896, allocations: 216.3 kB / 0.5403 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.83e-05/0.7897, allocations: 185 kB / 0.5405 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.644e-05/0.7898, allocations: 188.2 kB / 0.5406 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-05/0.7899, allocations: 180.3 kB / 0.5408 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.7925, allocations: 1.469 MB / 0.5422 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/0.7925, allocations: 105 kB / 0.5423 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.7926, allocations: 108.9 kB / 0.5424 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.077e-05/0.7927, allocations: 180.4 kB / 0.5426 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.703e-05/0.7928, allocations: 184.3 kB / 0.5428 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.008e-05/0.7929, allocations: 188.2 kB / 0.543 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-05/0.793, allocations: 176.3 kB / 0.5431 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.7933, allocations: 433.1 kB / 0.5436 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/0.7938, allocations: 296.5 kB / 0.5438 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000244/0.7941, allocations: 184.2 kB / 0.544 GB, free: 9.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.7946, allocations: 105 kB / 0.5441 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.7947, allocations: 184.2 kB / 0.5443 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.7947, allocations: 105 kB / 0.5444 GB, free: 9.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002165/0.7969, allocations: 0.99 MB / 0.5454 GB, free: 8.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7969, allocations: 0 / 0.5454 GB, free: 8.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002321/0.7993, allocations: 438.1 kB / 0.5458 GB, free: 7.688 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.0007641/0.8001, allocations: 0.9322 MB / 0.5467 GB, free: 6.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.8023, allocations: 0.8841 MB / 0.5475 GB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8023, allocations: 4.125 kB / 0.5476 GB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.358e-06/0.8023, allocations: 3.938 kB / 0.5476 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.8035, allocations: 0.6413 MB / 0.5482 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3164/1.12, allocations: 47.9 MB / 0.595 GB, free: 106.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002175/1.122, allocations: 1.602 MB / 0.5965 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002305/1.125, allocations: 486.9 kB / 0.597 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/1.126, allocations: 0.6595 MB / 0.5976 GB, free: 105.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.402e-06/1.126, allocations: 0 / 0.5976 GB, free: 105.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09035/1.216, allocations: 21.94 MB / 0.6191 GB, free: 104.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/1.217, allocations: 177.1 kB / 0.6192 GB, free: 104.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.272/4.489, allocations: 0 / 0.6192 GB, free: 104.6 MB / 426.7 MB