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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002591/0.002596, allocations: 371.2 kB / 15.96 MB, free: 6.199 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 3.978/3.978, allocations: 388.9 MB / 405.6 MB, free: 9.59 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.01858/0.01858, allocations: 228 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5767/0.5767, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006744/0.0006747, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1341, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.04354/0.1777, allocations: 24.94 MB / 0.7045 GB, free: 16.64 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.1946, allocations: 4.84 MB / 0.7092 GB, free: 11.78 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006075/0.2007, allocations: 103.8 kB / 0.7093 GB, free: 11.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005253/0.206, allocations: 1.248 MB / 0.7105 GB, free: 10.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01732/0.2234, allocations: 4.062 MB / 0.7145 GB, free: 6.348 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.2253, allocations: 79.92 kB / 0.7145 GB, free: 6.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006339/0.2317, allocations: 3.075 MB / 0.7175 GB, free: 3.188 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3399/0.5717, allocations: 2.137 MB / 0.7196 GB, free: 13.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.5741, allocations: 0.8781 MB / 0.7205 GB, free: 13.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003718/0.5779, allocations: 1.38 MB / 0.7218 GB, free: 13.7 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.579, allocations: 120.2 kB / 0.722 GB, free: 13.7 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.5811, allocations: 372 kB / 0.7223 GB, free: 13.7 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002536/0.5837, allocations: 1.274 MB / 0.7236 GB, free: 13.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.5852, allocations: 0.6843 MB / 0.7242 GB, free: 13.67 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006625/0.5919, allocations: 4.164 MB / 0.7283 GB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.592, allocations: 0 / 0.7283 GB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.592, allocations: 0 / 0.7283 GB, free: 13.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002164/0.5922, allocations: 0 / 0.7283 GB, free: 13.38 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: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.007777/0.6, allocations: 2.959 MB / 0.7312 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6001, allocations: 10.66 kB / 0.7312 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02189/0.622, allocations: 3.577 MB / 0.7347 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004803/0.6268, allocations: 1.49 MB / 0.7361 GB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.6272, allocations: 173.3 kB / 0.7363 GB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.6289, allocations: 219.8 kB / 0.7365 GB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02501/0.6539, allocations: 9.5 MB / 0.7458 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.6541, allocations: 18.38 kB / 0.7458 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/0.6558, allocations: 109 kB / 0.7459 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006999/0.6628, allocations: 2.372 MB / 0.7482 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04445/0.7073, allocations: 8.684 MB / 0.7567 GB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09531/0.8027, allocations: 29.21 MB / 0.7852 GB, free: 9.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008569/0.8113, allocations: 3.038 MB / 0.7882 GB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.814, allocations: 0.9825 MB / 0.7892 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.015/0.829, allocations: 4.828 MB / 0.7939 GB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.8291, allocations: 47.22 kB / 0.7939 GB, free: 15.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=126): time 6.182e-06/0.8291, allocations: 0 / 0.7939 GB, free: 15.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=126): time 0.01109/0.8402, allocations: 2.72 MB / 0.7966 GB, free: 12.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.8403, allocations: 60.06 kB / 0.7966 GB, free: 12.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005861/0.8462, allocations: 2.526 MB / 0.7991 GB, free: 10.33 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002461/0.8465, allocations: 37.7 kB / 0.7991 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002874/0.8494, allocations: 2.634 MB / 0.8017 GB, free: 7.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000929/0.8504, allocations: 499 kB / 0.8022 GB, free: 7.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005347/0.851, allocations: 95.75 kB / 0.8023 GB, free: 7.086 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0006087/0.8516, allocations: 0.5436 MB / 0.8028 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/0.8557, allocations: 1.336 MB / 0.8041 GB, free: 5.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/0.8626, allocations: 4.077 MB / 0.8081 GB, free: 15.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006157/0.8689, allocations: 2.346 MB / 0.8104 GB, free: 13.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/0.869, allocations: 28 kB / 0.8104 GB, free: 13.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01528/0.8843, allocations: 5.228 MB / 0.8155 GB, free: 8.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.8845, allocations: 45 kB / 0.8156 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/0.8847, allocations: 100 kB / 0.8157 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/0.8849, allocations: 144 kB / 0.8158 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006035/0.8909, allocations: 0.9669 MB / 0.8167 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002393/0.8912, allocations: 191.3 kB / 0.8169 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004813/0.896, allocations: 0.5986 MB / 0.8175 GB, free: 6.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009708/0.8971, allocations: 275 kB / 0.8178 GB, free: 6.184 MB / 410.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 (537): * Single equations (assignments): 531 * 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.005126/0.9022, allocations: 1.892 MB / 0.8196 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.9027, allocations: 209.2 kB / 0.8198 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.9035, allocations: 271.1 kB / 0.8201 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.9036, allocations: 3.984 kB / 0.8201 GB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.9036, allocations: 4 kB / 0.8201 GB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006454/0.9042, allocations: 292.1 kB / 0.8204 GB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004219/0.9047, allocations: 14.97 kB / 0.8204 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.9057, allocations: 31.95 kB / 0.8204 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.9059, allocations: 52.55 kB / 0.8205 GB, free: 3.398 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003574/0.9094, allocations: 1.485 MB / 0.8219 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003761/0.9133, allocations: 1.712 MB / 0.8236 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001487/0.9148, allocations: 0.6541 MB / 0.8242 GB, free: 15.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003709/0.9185, allocations: 1.528 MB / 0.8257 GB, free: 13.99 MB / 426.7 MB Notification: Performance of Backend: time 5.51e-07/0.9186, allocations: 0 / 0.8257 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007808/0.9264, allocations: 2.588 MB / 0.8282 GB, free: 11.43 MB / 426.7 MB Notification: Performance of SimCode: time 0.02211/0.9485, allocations: 9.021 MB / 0.837 GB, free: 2.355 MB / 426.7 MB Notification: Performance of Templates: time 0.08524/1.034, allocations: 23.64 MB / 0.8601 GB, free: 10.88 MB / 458.7 MB