Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008587/0.0008586, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008924/0.0008924, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4057/0.4057, allocations: 40 MB / 310.4 MB, free: 9.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005446, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1398, allocations: 57.96 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2677/0.4075, allocations: 25.89 MB / 462.7 MB, free: 33.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.4195, allocations: 5.333 MB / 468 MB, free: 32.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005447/0.425, allocations: 113.8 kB / 468.1 MB, free: 32.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.4285, allocations: 1.259 MB / 469.4 MB, free: 32.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.4387, allocations: 3.523 MB / 472.9 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.4397, allocations: 79.84 kB / 473 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003942/0.4436, allocations: 3.047 MB / 476 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003312/0.447, allocations: 2.137 MB / 478.2 MB, free: 31.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.4484, allocations: 0.8868 MB / 479.1 MB, free: 30.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.4497, allocations: 1.384 MB / 480.4 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.45, allocations: 117.5 kB / 480.6 MB, free: 30.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007508/0.4508, allocations: 370.8 kB / 480.9 MB, free: 30.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.4518, allocations: 1.282 MB / 482.2 MB, free: 30.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007276/0.4526, allocations: 0.6885 MB / 482.9 MB, free: 30.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004004/0.4566, allocations: 4.157 MB / 487 MB, free: 29.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4566, allocations: 0 / 487 MB, free: 29.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4566, allocations: 0 / 487 MB, free: 29.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001763/0.4568, allocations: 0 / 487 MB, free: 29.49 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.005277/0.4621, allocations: 2.987 MB / 490 MB, free: 27.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.4621, allocations: 9.344 kB / 490 MB, free: 27.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009812/0.472, allocations: 3.024 MB / 493.1 MB, free: 27.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.476, allocations: 1.497 MB / 494.6 MB, free: 26.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.4762, allocations: 173.4 kB / 494.7 MB, free: 26.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007571/0.477, allocations: 223.8 kB / 494.9 MB, free: 26.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01817/0.4952, allocations: 9.463 MB / 0.4926 GB, free: 22.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.066e-05/0.4953, allocations: 19.81 kB / 0.4926 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003645/0.4957, allocations: 105.7 kB / 0.4927 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003723/0.4994, allocations: 2.381 MB / 0.495 GB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01737/0.5168, allocations: 8.627 MB / 0.5035 GB, free: 17.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03849/0.5553, allocations: 29.3 MB / 0.5321 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/0.5605, allocations: 3.049 MB / 0.5351 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/0.5622, allocations: 0.9778 MB / 0.536 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00867/0.5708, allocations: 4.835 MB / 0.5407 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.475e-05/0.5709, allocations: 43.22 kB / 0.5408 GB, free: 11.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.929e-06/0.571, allocations: 7.938 kB / 0.5408 GB, free: 11.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005844/0.5768, allocations: 2.717 MB / 0.5434 GB, free: 8.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5769, allocations: 60.06 kB / 0.5435 GB, free: 8.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003791/0.5807, allocations: 2.557 MB / 0.546 GB, free: 6.094 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.5808, allocations: 40.36 kB / 0.546 GB, free: 6.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.5825, allocations: 2.644 MB / 0.5486 GB, free: 3.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004796/0.583, allocations: 0.4887 MB / 0.5491 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.5831, allocations: 86.5 kB / 0.5492 GB, free: 2.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003175/0.5835, allocations: 0.5476 MB / 0.5497 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.5853, allocations: 1.34 MB / 0.551 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003657/0.589, allocations: 4.102 MB / 0.555 GB, free: 11.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003193/0.5922, allocations: 2.347 MB / 0.5573 GB, free: 9.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.673e-05/0.5923, allocations: 35.89 kB / 0.5573 GB, free: 9.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008658/0.601, allocations: 5.252 MB / 0.5625 GB, free: 3.793 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.6011, allocations: 48 kB / 0.5625 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/0.6012, allocations: 96 kB / 0.5626 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.6013, allocations: 144 kB / 0.5627 GB, free: 3.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003045/0.6044, allocations: 0.9708 MB / 0.5637 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001606/0.6046, allocations: 199.2 kB / 0.5639 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/0.6075, allocations: 0.6018 MB / 0.5645 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003652/0.6079, allocations: 276 kB / 0.5647 GB, free: 1.469 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (540): * Single equations (assignments): 534 * 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.003307/0.6112, allocations: 1.899 MB / 0.5666 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.6116, allocations: 217 kB / 0.5668 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.6122, allocations: 271.4 kB / 0.5671 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-05/0.6122, allocations: 19.98 kB / 0.5671 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.6122, allocations: 0 / 0.5671 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6122, allocations: 3.984 kB / 0.5671 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0089/0.6211, allocations: 5.6 MB / 0.5725 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.6212, allocations: 4 kB / 0.5726 GB, free: 9.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.6218, allocations: 147.7 kB / 0.5727 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/0.6218, allocations: 8 kB / 0.5727 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.6219, allocations: 23.14 kB / 0.5727 GB, free: 9.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.186e-05/0.6219, allocations: 7.938 kB / 0.5727 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.622, allocations: 12 kB / 0.5727 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.6241, allocations: 1.776 MB / 0.5745 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.6247, allocations: 294 kB / 0.5748 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.6249, allocations: 38.06 kB / 0.5748 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/0.6254, allocations: 31.97 kB / 0.5748 GB, free: 6.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.6256, allocations: 64.44 kB / 0.5749 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.705e-05/0.6257, allocations: 38.66 kB / 0.5749 GB, free: 6.832 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002818/0.6285, allocations: 1.549 MB / 0.5764 GB, free: 5.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.6285, allocations: 0 / 0.5764 GB, free: 5.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004074/0.6326, allocations: 1.01 MB / 0.5774 GB, free: 4.258 MB / 446.1 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.000384/0.633, allocations: 149.8 kB / 0.5776 GB, free: 4.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004794/0.6378, allocations: 3.108 MB / 0.5806 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6378, allocations: 0 / 0.5806 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008771/0.6387, allocations: 0.7359 MB / 0.5813 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.64, allocations: 244.7 kB / 0.5816 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01396/0.654, allocations: 8.826 MB / 0.5902 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/0.6573, allocations: 2.97 MB / 0.5931 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003609/0.661, allocations: 1.485 MB / 0.5945 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.6614, allocations: 159.4 kB / 0.5947 GB, free: 2.512 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.6614, allocations: 0 / 0.5947 GB, free: 2.512 MB / 462.1 MB Notification: Performance of Templates: time 0.03891/0.7004, allocations: 17.47 MB / 0.6117 GB, free: 1.129 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) Environment - environmentSimulation: