Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009781/0.009781, allocations: 174.4 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.029/2.029, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00201/0.00201, allocations: 128.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3119/0.3119, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004822, allocations: 15.22 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.128, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5753/0.7034, allocations: 89.46 MB / 0.5377 GB, free: 28.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.7037, allocations: 74.69 kB / 0.5378 GB, free: 28.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2555/0.9593, allocations: 67.77 MB / 0.6039 GB, free: 6.766 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.9593, allocations: 0 / 0.6039 GB, free: 6.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.9595, allocations: 65.22 kB / 0.604 GB, free: 6.762 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.01181/0.9713, allocations: 3.125 MB / 0.6071 GB, free: 4.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.9714, allocations: 8.031 kB / 0.6071 GB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00425/0.9756, allocations: 0.7258 MB / 0.6078 GB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02529/1.001, allocations: 3.29 MB / 0.611 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007817/1.009, allocations: 2.057 MB / 0.613 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004521/1.009, allocations: 276.4 kB / 0.6133 GB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002724/1.012, allocations: 357.6 kB / 0.6136 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03145/1.044, allocations: 9.04 MB / 0.6224 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/1.044, allocations: 19.81 kB / 0.6224 GB, free: 6.984 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002271/1.046, allocations: 159.9 kB / 0.6226 GB, free: 6.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002539/1.049, allocations: 1.053 MB / 0.6236 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/1.076, allocations: 8.63 MB / 0.6321 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06829/1.145, allocations: 29.12 MB / 0.6605 GB, free: 15.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008663/1.154, allocations: 3.052 MB / 0.6635 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01581/1.169, allocations: 4.885 MB / 0.6682 GB, free: 6.793 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.17, allocations: 39.22 kB / 0.6683 GB, free: 6.746 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 5.861e-06/1.17, allocations: 0 / 0.6683 GB, free: 6.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.0117/1.181, allocations: 3.244 MB / 0.6714 GB, free: 3.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/1.181, allocations: 60.06 kB / 0.6715 GB, free: 3.312 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006086/1.187, allocations: 2.259 MB / 0.6737 GB, free: 1.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/1.188, allocations: 37.7 kB / 0.6737 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00287/1.191, allocations: 2.637 MB / 0.6763 GB, free: 14.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009228/1.192, allocations: 497.7 kB / 0.6768 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004743/1.192, allocations: 84 kB / 0.6769 GB, free: 13.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005809/1.193, allocations: 0.5436 MB / 0.6774 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003532/1.196, allocations: 1.328 MB / 0.6787 GB, free: 11.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006662/1.203, allocations: 4.064 MB / 0.6827 GB, free: 6.395 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00625/1.209, allocations: 2.339 MB / 0.685 GB, free: 4.047 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/1.209, allocations: 28 kB / 0.685 GB, free: 4.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=583) (initialization): time 0.01604/1.225, allocations: 5.213 MB / 0.6901 GB, free: 14.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.226, allocations: 48.03 kB / 0.6901 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001905/1.226, allocations: 103.8 kB / 0.6902 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002197/1.226, allocations: 143.9 kB / 0.6904 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006234/1.232, allocations: 0.9669 MB / 0.6913 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002656/1.233, allocations: 187.3 kB / 0.6915 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/1.238, allocations: 0.5991 MB / 0.6921 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001285/1.239, allocations: 276 kB / 0.6923 GB, free: 12.48 MB / 474.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.005747/1.245, allocations: 1.887 MB / 0.6942 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005577/1.246, allocations: 213.2 kB / 0.6944 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/1.247, allocations: 271.1 kB / 0.6946 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.925e-05/1.247, allocations: 16 kB / 0.6947 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.247, allocations: 0 / 0.6947 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.247, allocations: 7.922 kB / 0.6947 GB, free: 10.08 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.264, allocations: 5.625 MB / 0.7002 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.264, allocations: 8 kB / 0.7002 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/1.266, allocations: 135.8 kB / 0.7003 GB, free: 4.188 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/1.266, allocations: 8 kB / 0.7003 GB, free: 4.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.266, allocations: 27.97 kB / 0.7003 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.538e-05/1.266, allocations: 8.5 kB / 0.7003 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.266, allocations: 8 kB / 0.7003 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004337/1.27, allocations: 2.106 MB / 0.7024 GB, free: 1.824 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.271, allocations: 298 kB / 0.7027 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006633/1.272, allocations: 27.92 kB / 0.7027 GB, free: 1.484 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001258/1.273, allocations: 35.97 kB / 0.7027 GB, free: 1.449 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/1.274, allocations: 60.42 kB / 0.7028 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/1.274, allocations: 40 kB / 0.7028 GB, free: 1.352 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004617/1.278, allocations: 1.536 MB / 0.7043 GB, free: 15.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.279, allocations: 0 / 0.7043 GB, free: 15.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006244/1.285, allocations: 1.003 MB / 0.7053 GB, free: 14.79 MB / 490.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.005911/1.291, allocations: 3.861 MB / 0.7091 GB, free: 10.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008143/1.299, allocations: 3.097 MB / 0.7121 GB, free: 7.711 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.299, allocations: 4.125 kB / 0.7121 GB, free: 7.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/1.301, allocations: 0.7374 MB / 0.7128 GB, free: 6.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.302, allocations: 236.5 kB / 0.7131 GB, free: 6.742 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4095/1.712, allocations: 87.93 MB / 0.7989 GB, free: 70.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008425/1.72, allocations: 3.035 MB / 0.8019 GB, free: 69.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006763/1.727, allocations: 1.482 MB / 0.8033 GB, free: 69.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003598/1.731, allocations: 1.481 MB / 0.8048 GB, free: 69.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/1.731, allocations: 0 / 0.8048 GB, free: 69.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/1.879, allocations: 48.04 MB / 0.8517 GB, free: 48.67 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/1.879, allocations: 168.7 kB / 0.8519 GB, free: 48.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.878/5.757, allocations: 0 / 0.8519 GB, free: 48.43 MB / 490.7 MB