Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.3_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_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.001494/0.001494, allocations: 108.1 kB / 17.03 MB, free: 5.66 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.001524/0.001525, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2276/0.2276, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 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: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 65.73 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01082/0.1185, allocations: 11.28 MB / 453.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006009/0.1245, allocations: 2.785 MB / 456 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001198/0.1257, allocations: 55.88 kB / 456.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.1284, allocations: 1.308 MB / 457.4 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.131, allocations: 1.206 MB / 458.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.1313, allocations: 79.89 kB / 458.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002902/0.1342, allocations: 2.752 MB / 461.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.1364, allocations: 1.864 MB / 463.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.1378, allocations: 1.051 MB / 464.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.1395, allocations: 1.448 MB / 465.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003478/0.1399, allocations: 212 kB / 466 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.1409, allocations: 487.4 kB / 466.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.1423, allocations: 1.41 MB / 467.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002181/0.1445, allocations: 1.719 MB / 469.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006162/0.1507, allocations: 5.487 MB / 475.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1507, allocations: 0 / 475.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1507, allocations: 0 / 475.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001135/0.1508, allocations: 0 / 475.1 MB, free: 4.879 MB / 350.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.006282/0.1571, allocations: 3.601 MB / 478.7 MB, free: 1.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.1572, allocations: 11.89 kB / 478.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009197/0.1664, allocations: 2.936 MB / 481.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003705/0.1701, allocations: 1.537 MB / 483.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.1703, allocations: 172.6 kB / 483.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004965/0.1708, allocations: 228 kB / 483.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.1838, allocations: 9.472 MB / 493 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.315e-05/0.1839, allocations: 19.81 kB / 493.1 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003089/0.1842, allocations: 107.8 kB / 493.2 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003277/0.1875, allocations: 2.373 MB / 495.5 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01474/0.2023, allocations: 8.672 MB / 0.4924 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04734/0.2496, allocations: 29.08 MB / 0.5208 GB, free: 9.359 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005511/0.2552, allocations: 3.057 MB / 0.5238 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.2568, allocations: 0.9805 MB / 0.5247 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.2672, allocations: 4.826 MB / 0.5294 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2647/0.5319, allocations: 42.06 kB / 0.5295 GB, free: 87.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 8.456e-06/0.5319, allocations: 0 / 0.5295 GB, free: 87.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.008922/0.5409, allocations: 2.732 MB / 0.5321 GB, free: 87.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.541, allocations: 61.41 kB / 0.5322 GB, free: 87.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006037/0.547, allocations: 2.566 MB / 0.5347 GB, free: 87.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.5473, allocations: 40.81 kB / 0.5347 GB, free: 87.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0026/0.5499, allocations: 2.652 MB / 0.5373 GB, free: 85.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008147/0.5507, allocations: 494.4 kB / 0.5378 GB, free: 85.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/0.5522, allocations: 0.8999 MB / 0.5387 GB, free: 85.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.5525, allocations: 365.8 kB / 0.539 GB, free: 84.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.5548, allocations: 1.351 MB / 0.5404 GB, free: 84.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003508/0.5583, allocations: 4.125 MB / 0.5444 GB, free: 80.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006808/0.5652, allocations: 5.963 MB / 0.5502 GB, free: 75.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/0.5654, allocations: 31.81 kB / 0.5502 GB, free: 75.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007863/0.5732, allocations: 5.286 MB / 0.5554 GB, free: 73.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.59e-05/0.5733, allocations: 50.44 kB / 0.5554 GB, free: 73.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001037/0.5734, allocations: 96.81 kB / 0.5555 GB, free: 73.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001207/0.5736, allocations: 129.6 kB / 0.5557 GB, free: 73.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002614/0.5762, allocations: 0.9751 MB / 0.5566 GB, free: 73.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001311/0.5763, allocations: 191.6 kB / 0.5568 GB, free: 73.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003736/0.5801, allocations: 0.5996 MB / 0.5574 GB, free: 72.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005391/0.5807, allocations: 274.1 kB / 0.5576 GB, free: 72.73 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003038/0.5837, allocations: 1.898 MB / 0.5595 GB, free: 71.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/0.5841, allocations: 217 kB / 0.5597 GB, free: 71.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.5845, allocations: 270.7 kB / 0.56 GB, free: 71.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/0.5845, allocations: 17.64 kB / 0.56 GB, free: 71.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.067e-05/0.5845, allocations: 5.125 kB / 0.56 GB, free: 71.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5846, allocations: 3.797 kB / 0.56 GB, free: 71.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006837/0.5914, allocations: 5.614 MB / 0.5655 GB, free: 66.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.5914, allocations: 4 kB / 0.5655 GB, free: 66.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.592, allocations: 143.8 kB / 0.5656 GB, free: 66.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.592, allocations: 8 kB / 0.5656 GB, free: 66.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/0.5921, allocations: 21.97 kB / 0.5656 GB, free: 66.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.5921, allocations: 8.812 kB / 0.5656 GB, free: 66.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5921, allocations: 9.953 kB / 0.5657 GB, free: 66.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.5937, allocations: 1.786 MB / 0.5674 GB, free: 64.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004889/0.5942, allocations: 289.6 kB / 0.5677 GB, free: 64.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.5944, allocations: 18.16 kB / 0.5677 GB, free: 64.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005383/0.5949, allocations: 47.53 kB / 0.5677 GB, free: 64.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.595, allocations: 58.36 kB / 0.5678 GB, free: 64.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/0.5951, allocations: 45.67 kB / 0.5678 GB, free: 64.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.5968, allocations: 1.56 MB / 0.5694 GB, free: 62.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5968, allocations: 0 / 0.5694 GB, free: 62.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003591/0.6004, allocations: 1.015 MB / 0.5704 GB, free: 61.44 MB / 414.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003452/0.6007, allocations: 142.2 kB / 0.5705 GB, free: 61.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00405/0.6048, allocations: 3.149 MB / 0.5736 GB, free: 58.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.6048, allocations: 4 kB / 0.5736 GB, free: 58.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.6055, allocations: 0.7415 MB / 0.5743 GB, free: 57.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6068, allocations: 255.1 kB / 0.5745 GB, free: 57.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.6188, allocations: 7.154 MB / 0.5815 GB, free: 49.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.6217, allocations: 2.967 MB / 0.5844 GB, free: 46.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002804/0.6246, allocations: 1.492 MB / 0.5859 GB, free: 45.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.6249, allocations: 151.4 kB / 0.586 GB, free: 45.35 MB / 414.1 MB Notification: Performance of SimCode: time 2.054e-06/0.6249, allocations: 8 kB / 0.586 GB, free: 45.34 MB / 414.1 MB Notification: Performance of Templates: time 0.03181/0.6568, allocations: 14.99 MB / 0.6007 GB, free: 30.54 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)