Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.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.Torus,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Torus",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.01498/0.01498, allocations: 163.1 kB / 15.11 MB, free: 5.973 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.749/1.749, 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.00208/0.00208, allocations: 114.4 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.4643/0.4643, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007366/0.0007366, allocations: 12 kB / 363 MB, free: 5.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1253, allocations: 48.71 MB / 411.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5573, allocations: 82.89 MB / 494.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/0.5577, allocations: 70.28 kB / 494.6 MB, free: 4.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2794/0.8371, allocations: 67.77 MB / 0.5492 GB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8372, allocations: 0 / 0.5492 GB, free: 5.871 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001582/0.8374, allocations: 64 kB / 0.5493 GB, free: 5.809 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01115/0.8485, allocations: 3.121 MB / 0.5523 GB, free: 2.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.8486, allocations: 8.031 kB / 0.5523 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003151/0.8518, allocations: 0.7294 MB / 0.5531 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02516/0.877, allocations: 3.282 MB / 0.5563 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008042/0.8851, allocations: 2.059 MB / 0.5583 GB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004348/0.8856, allocations: 279.1 kB / 0.5585 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/0.8881, allocations: 352.9 kB / 0.5589 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03046/0.9186, allocations: 9.05 MB / 0.5677 GB, free: 2.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002127/0.9188, allocations: 23.81 kB / 0.5677 GB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002268/0.9211, allocations: 163.8 kB / 0.5679 GB, free: 2.254 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002548/0.9237, allocations: 1.042 MB / 0.5689 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02722/0.951, allocations: 8.633 MB / 0.5773 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3673/1.318, allocations: 29.11 MB / 0.6058 GB, free: 79.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00765/1.326, allocations: 3.058 MB / 0.6088 GB, free: 77.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01404/1.34, allocations: 4.871 MB / 0.6135 GB, free: 76.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/1.34, allocations: 38.09 kB / 0.6135 GB, free: 76.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 5.42e-06/1.34, allocations: 0 / 0.6135 GB, free: 76.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.01022/1.35, allocations: 3.244 MB / 0.6167 GB, free: 75.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.351, allocations: 65.5 kB / 0.6168 GB, free: 75.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004898/1.355, allocations: 2.259 MB / 0.619 GB, free: 75.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002253/1.356, allocations: 38.77 kB / 0.619 GB, free: 75.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00205/1.358, allocations: 2.637 MB / 0.6216 GB, free: 73.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006872/1.359, allocations: 0.4888 MB / 0.6221 GB, free: 73.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/1.359, allocations: 82.41 kB / 0.6222 GB, free: 73.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004089/1.359, allocations: 0.5423 MB / 0.6227 GB, free: 73.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/1.362, allocations: 1.336 MB / 0.624 GB, free: 73.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004822/1.367, allocations: 4.055 MB / 0.6279 GB, free: 69.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/1.373, allocations: 2.341 MB / 0.6302 GB, free: 69.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.373, allocations: 28.78 kB / 0.6303 GB, free: 69.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01397/1.387, allocations: 5.215 MB / 0.6354 GB, free: 69.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.387, allocations: 47.69 kB / 0.6354 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.387, allocations: 95.88 kB / 0.6355 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/1.388, allocations: 140.9 kB / 0.6356 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005774/1.393, allocations: 0.9712 MB / 0.6366 GB, free: 69.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002532/1.394, allocations: 195.5 kB / 0.6368 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.398, allocations: 0.6008 MB / 0.6373 GB, free: 68.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/1.399, allocations: 279.8 kB / 0.6376 GB, free: 68.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 443 * Number of states: 0 () * Number of discrete variables: 18 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (535): * Single equations (assignments): 529 * Array equations: 6 * 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.005012/1.404, allocations: 1.888 MB / 0.6395 GB, free: 68.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/1.405, allocations: 209.4 kB / 0.6397 GB, free: 68.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/1.406, allocations: 268.9 kB / 0.6399 GB, free: 68.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.498e-05/1.406, allocations: 17.75 kB / 0.6399 GB, free: 68.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.406, allocations: 3.953 kB / 0.6399 GB, free: 68.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/1.406, allocations: 5.031 kB / 0.6399 GB, free: 68.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/1.421, allocations: 5.616 MB / 0.6454 GB, free: 66.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/1.421, allocations: 4.125 kB / 0.6454 GB, free: 66.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/1.423, allocations: 133.8 kB / 0.6456 GB, free: 66.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.221e-05/1.423, allocations: 7.844 kB / 0.6456 GB, free: 66.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.423, allocations: 27.03 kB / 0.6456 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.63e-05/1.423, allocations: 12.19 kB / 0.6456 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/1.423, allocations: 9.031 kB / 0.6456 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003317/1.426, allocations: 2.111 MB / 0.6477 GB, free: 64.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/1.427, allocations: 301.1 kB / 0.648 GB, free: 64.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003601/1.427, allocations: 18.34 kB / 0.648 GB, free: 64.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.428, allocations: 39.88 kB / 0.648 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.429, allocations: 60.75 kB / 0.6481 GB, free: 64.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.429, allocations: 47.58 kB / 0.6481 GB, free: 64.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003146/1.432, allocations: 1.524 MB / 0.6496 GB, free: 63.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.432, allocations: 0 / 0.6496 GB, free: 63.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005073/1.437, allocations: 1.008 MB / 0.6506 GB, free: 63.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * 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.00391/1.441, allocations: 3.864 MB / 0.6544 GB, free: 60.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006957/1.448, allocations: 3.099 MB / 0.6574 GB, free: 59.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/1.448, allocations: 0 / 0.6574 GB, free: 59.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/1.449, allocations: 0.7381 MB / 0.6581 GB, free: 59.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/1.451, allocations: 232.5 kB / 0.6583 GB, free: 59.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06342/1.514, allocations: 87.95 MB / 0.7442 GB, free: 26.67 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005325/1.52, allocations: 3.032 MB / 0.7472 GB, free: 25.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005728/1.526, allocations: 1.478 MB / 0.7486 GB, free: 25.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003007/1.529, allocations: 1.487 MB / 0.7501 GB, free: 24.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.273e-06/1.529, allocations: 3.938 kB / 0.7501 GB, free: 24.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4435/1.972, allocations: 48.02 MB / 0.797 GB, free: 132.8 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/1.973, allocations: 174 kB / 0.7971 GB, free: 132.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.083/6.055, allocations: 3.938 kB / 0.7971 GB, free: 132.6 MB / 474.7 MB