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.001102/0.001102, allocations: 96.7 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 176.6 kB / 16.58 MB, free: 6.062 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.625/1.625, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3839/0.3839, allocations: 43.57 MB / 314.6 MB, free: 8.961 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: Performance of FrontEnd - loaded program: time 0.0005698/0.0005701, allocations: 22.97 kB / 384 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1302, allocations: 58.86 MB / 442.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2784/0.4086, allocations: 25.89 MB / 468.7 MB, free: 35.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.4233, allocations: 5.333 MB / 474 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/0.4293, allocations: 112.8 kB / 474.1 MB, free: 33.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.4333, allocations: 1.248 MB / 475.4 MB, free: 32.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.4443, allocations: 3.532 MB / 478.9 MB, free: 31.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.446, allocations: 85.09 kB / 479 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004157/0.4501, allocations: 3.052 MB / 482.1 MB, free: 30.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004107/0.4543, allocations: 2.12 MB / 484.2 MB, free: 29.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/0.457, allocations: 0.8872 MB / 485.1 MB, free: 28.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003272/0.4603, allocations: 1.391 MB / 486.5 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.4614, allocations: 115.7 kB / 486.6 MB, free: 28.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.463, allocations: 372.7 kB / 486.9 MB, free: 28.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001822/0.4648, allocations: 1.279 MB / 488.2 MB, free: 28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.4662, allocations: 0.6879 MB / 488.9 MB, free: 27.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006219/0.4724, allocations: 4.156 MB / 493.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4725, allocations: 0 / 493.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4725, allocations: 1.156 kB / 493.1 MB, free: 26.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002875/0.4728, allocations: 1.406 kB / 493.1 MB, free: 26.62 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.009413/0.4822, allocations: 2.986 MB / 496 MB, free: 24.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.4822, allocations: 9.656 kB / 496 MB, free: 24.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.4929, allocations: 3.03 MB / 499.1 MB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.4968, allocations: 1.501 MB / 0.4888 GB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.4971, allocations: 173.9 kB / 0.489 GB, free: 23.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.4984, allocations: 220.7 kB / 0.4892 GB, free: 23.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/0.5183, allocations: 9.455 MB / 0.4985 GB, free: 18.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-05/0.5184, allocations: 22.2 kB / 0.4985 GB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006541/0.5191, allocations: 108.8 kB / 0.4986 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004426/0.5235, allocations: 2.383 MB / 0.5009 GB, free: 17.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.5413, allocations: 8.621 MB / 0.5093 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04762/0.5889, allocations: 29.31 MB / 0.5379 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005967/0.595, allocations: 3.055 MB / 0.5409 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.5967, allocations: 0.9739 MB / 0.5419 GB, free: 9.398 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/0.6067, allocations: 4.846 MB / 0.5466 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6068, allocations: 39.22 kB / 0.5467 GB, free: 4.258 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.909e-06/0.6068, allocations: 0 / 0.5467 GB, free: 4.258 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006342/0.6132, allocations: 2.724 MB / 0.5493 GB, free: 1.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.6133, allocations: 64.06 kB / 0.5494 GB, free: 1.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005914/0.6192, allocations: 2.55 MB / 0.5519 GB, free: 14.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001512/0.6194, allocations: 41.69 kB / 0.5519 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002473/0.6219, allocations: 2.649 MB / 0.5545 GB, free: 12.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006952/0.6226, allocations: 497.6 kB / 0.555 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.6229, allocations: 87.98 kB / 0.555 GB, free: 11.56 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000521/0.6234, allocations: 0.5476 MB / 0.5556 GB, free: 11 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/0.6259, allocations: 1.336 MB / 0.5569 GB, free: 9.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004085/0.63, allocations: 4.106 MB / 0.5609 GB, free: 4.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/0.6337, allocations: 2.351 MB / 0.5632 GB, free: 1.812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.932e-05/0.6338, allocations: 31.95 kB / 0.5632 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009614/0.6435, allocations: 5.248 MB / 0.5683 GB, free: 12.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.681e-05/0.6436, allocations: 48.19 kB / 0.5684 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/0.6438, allocations: 104 kB / 0.5685 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.6439, allocations: 140 kB / 0.5686 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/0.6468, allocations: 0.9786 MB / 0.5696 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001877/0.647, allocations: 195.2 kB / 0.5698 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00368/0.6507, allocations: 0.5953 MB / 0.5704 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005953/0.6513, allocations: 280 kB / 0.5706 GB, free: 10.19 MB / 446.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.004917/0.6563, allocations: 1.892 MB / 0.5725 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005976/0.6569, allocations: 221 kB / 0.5727 GB, free: 8.062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007782/0.6576, allocations: 267.4 kB / 0.5729 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.246e-05/0.6577, allocations: 16 kB / 0.5729 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/0.6577, allocations: 3.984 kB / 0.5729 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.6578, allocations: 0 / 0.5729 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.6713, allocations: 5.61 MB / 0.5784 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/0.6713, allocations: 4 kB / 0.5784 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.672, allocations: 143.7 kB / 0.5786 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.672, allocations: 8 kB / 0.5786 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.927e-05/0.6721, allocations: 20 kB / 0.5786 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.6721, allocations: 11.94 kB / 0.5786 GB, free: 1.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.6721, allocations: 8.438 kB / 0.5786 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.6744, allocations: 1.78 MB / 0.5804 GB, free: 0 / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006849/0.6751, allocations: 298 kB / 0.5806 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000549/0.6756, allocations: 31.92 kB / 0.5807 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009817/0.6766, allocations: 31.97 kB / 0.5807 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6768, allocations: 72.31 kB / 0.5808 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.741e-05/0.6769, allocations: 36 kB / 0.5808 GB, free: 15.52 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003707/0.6806, allocations: 1.545 MB / 0.5823 GB, free: 13.96 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6806, allocations: 0 / 0.5823 GB, free: 13.96 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004634/0.6853, allocations: 1.011 MB / 0.5833 GB, free: 12.95 MB / 462.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.0003925/0.6857, allocations: 147 kB / 0.5834 GB, free: 12.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005464/0.6911, allocations: 3.108 MB / 0.5865 GB, free: 9.711 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.6912, allocations: 4 kB / 0.5865 GB, free: 9.707 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009779/0.6921, allocations: 0.7351 MB / 0.5872 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.6941, allocations: 257 kB / 0.5874 GB, free: 8.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.7099, allocations: 8.815 MB / 0.596 GB, free: 15.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004982/0.7149, allocations: 2.962 MB / 0.5989 GB, free: 12.85 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004257/0.7192, allocations: 1.485 MB / 0.6004 GB, free: 11.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005829/0.7198, allocations: 159.4 kB / 0.6005 GB, free: 11.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.7198, allocations: 0 / 0.6005 GB, free: 11.2 MB / 478.1 MB Notification: Performance of Templates: time 0.04215/0.762, allocations: 17.48 MB / 0.6176 GB, free: 9.746 MB / 494.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 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)