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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00381/0.00381, allocations: 350.8 kB / 15.95 MB, free: 6.219 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 3.361/3.361, allocations: 341.5 MB / 358.2 MB, free: 28.64 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00504/0.00504, allocations: 225.1 kB / 397.9 MB, free: 6.023 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.4904/0.4904, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004796/0.0004799, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08644/0.08696, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.03427/0.1213, allocations: 24.94 MB / 0.6311 GB, free: 2.531 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01513/0.1365, allocations: 4.819 MB / 0.6358 GB, free: 13.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005392/0.1419, allocations: 107.8 kB / 0.6359 GB, free: 13.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005854/0.1478, allocations: 1.26 MB / 0.6371 GB, free: 12.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01724/0.1651, allocations: 4.061 MB / 0.6411 GB, free: 8.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.1668, allocations: 87.91 kB / 0.6412 GB, free: 8.164 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006939/0.1738, allocations: 3.075 MB / 0.6442 GB, free: 5.082 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005999/0.1798, allocations: 2.129 MB / 0.6463 GB, free: 2.898 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.1822, allocations: 0.8832 MB / 0.6471 GB, free: 2.012 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003518/0.1857, allocations: 1.382 MB / 0.6485 GB, free: 0.625 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008046/0.1866, allocations: 116 kB / 0.6486 GB, free: 0.5117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2921/0.4787, allocations: 366.3 kB / 0.6489 GB, free: 14.33 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002518/0.4813, allocations: 1.276 MB / 0.6502 GB, free: 14.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001522/0.4829, allocations: 0.6821 MB / 0.6508 GB, free: 14.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007362/0.4903, allocations: 4.16 MB / 0.6549 GB, free: 14.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.4903, allocations: 0 / 0.6549 GB, free: 14.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.438e-06/0.4903, allocations: 1.188 kB / 0.6549 GB, free: 14.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002473/0.4906, allocations: 3 kB / 0.6549 GB, free: 14.01 MB / 314.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.008665/0.4993, allocations: 2.967 MB / 0.6578 GB, free: 12.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4993, allocations: 9.125 kB / 0.6578 GB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02848/0.5278, allocations: 3.562 MB / 0.6613 GB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00678/0.5347, allocations: 1.507 MB / 0.6628 GB, free: 11.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.5351, allocations: 172.6 kB / 0.6629 GB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001809/0.5369, allocations: 221.3 kB / 0.6631 GB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03095/0.5679, allocations: 9.499 MB / 0.6724 GB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.5681, allocations: 22.19 kB / 0.6724 GB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008378/0.5689, allocations: 104.6 kB / 0.6725 GB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008306/0.5772, allocations: 2.379 MB / 0.6749 GB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02486/0.6021, allocations: 8.679 MB / 0.6833 GB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0621/0.6643, allocations: 29.2 MB / 0.7118 GB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008332/0.6727, allocations: 3.042 MB / 0.7148 GB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/0.6753, allocations: 0.977 MB / 0.7158 GB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/0.6913, allocations: 4.85 MB / 0.7205 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.436e-05/0.6914, allocations: 43.17 kB / 0.7206 GB, free: 0.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=126): time 6.643e-06/0.6914, allocations: 0 / 0.7206 GB, free: 0.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=126): time 0.01085/0.7022, allocations: 2.719 MB / 0.7232 GB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7023, allocations: 60.06 kB / 0.7233 GB, free: 13.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005995/0.7083, allocations: 2.522 MB / 0.7257 GB, free: 11.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002782/0.7087, allocations: 48.67 kB / 0.7258 GB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002975/0.7117, allocations: 2.63 MB / 0.7283 GB, free: 8.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009323/0.7126, allocations: 500 kB / 0.7288 GB, free: 8.168 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/0.7131, allocations: 88 kB / 0.7289 GB, free: 8.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005849/0.7137, allocations: 0.5437 MB / 0.7294 GB, free: 7.527 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/0.7179, allocations: 1.332 MB / 0.7307 GB, free: 6.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007098/0.725, allocations: 4.079 MB / 0.7347 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006084/0.7312, allocations: 2.348 MB / 0.737 GB, free: 14.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.769e-05/0.7313, allocations: 28 kB / 0.737 GB, free: 14.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=585) (initialization): time 0.01515/0.7465, allocations: 5.225 MB / 0.7421 GB, free: 9.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.7466, allocations: 44 kB / 0.7422 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001513/0.7468, allocations: 100 kB / 0.7423 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.747, allocations: 144 kB / 0.7424 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005775/0.7528, allocations: 0.9677 MB / 0.7434 GB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002003/0.753, allocations: 194.1 kB / 0.7435 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004387/0.7574, allocations: 0.6006 MB / 0.7441 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007968/0.7582, allocations: 276.1 kB / 0.7444 GB, free: 7.66 MB / 378.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.005098/0.7634, allocations: 1.888 MB / 0.7462 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005237/0.7639, allocations: 209.2 kB / 0.7464 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.7647, allocations: 267.2 kB / 0.7467 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.7647, allocations: 7.938 kB / 0.7467 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.7647, allocations: 7.938 kB / 0.7467 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00068/0.7654, allocations: 290 kB / 0.747 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/0.7658, allocations: 12 kB / 0.747 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.7669, allocations: 39.95 kB / 0.747 GB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.767, allocations: 50.67 kB / 0.7471 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003546/0.7706, allocations: 1.479 MB / 0.7485 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003451/0.7741, allocations: 1.716 MB / 0.7502 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0014/0.7755, allocations: 0.6541 MB / 0.7508 GB, free: 1.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003758/0.7793, allocations: 1.528 MB / 0.7523 GB, free: 15.56 MB / 394.7 MB Notification: Performance of Backend: time 3.206e-06/0.7793, allocations: 0 / 0.7523 GB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007903/0.7872, allocations: 2.593 MB / 0.7549 GB, free: 13.04 MB / 394.7 MB Notification: Performance of SimCode: time 0.02209/0.8094, allocations: 9.022 MB / 0.7637 GB, free: 3.977 MB / 394.7 MB Notification: Performance of Templates: time 0.08845/0.8979, allocations: 23.63 MB / 0.7867 GB, free: 12.5 MB / 426.7 MB