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.008608/0.008608, allocations: 101.1 kB / 15.87 MB, free: 6.309 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.001519/0.00152, allocations: 190.5 kB / 16.79 MB, free: 6.238 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.614/1.614, allocations: 205.1 MB / 222.6 MB, free: 4.688 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.347/0.347, allocations: 43.49 MB / 313.5 MB, free: 8.508 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.001385/0.001385, allocations: 63.91 kB / 382 MB, free: 8.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1449, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2892/0.4342, allocations: 28.71 MB / 468.5 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.4479, allocations: 5.604 MB / 474.1 MB, free: 31.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007154/0.4551, allocations: 117 kB / 474.2 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002916/0.458, allocations: 1.277 MB / 475.5 MB, free: 30.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002905/0.461, allocations: 1.147 MB / 476.7 MB, free: 30.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.4614, allocations: 73.94 kB / 476.7 MB, free: 30.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003329/0.4647, allocations: 4.037 MB / 480.8 MB, free: 29.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.4671, allocations: 1.842 MB / 482.6 MB, free: 28.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.4688, allocations: 0.9238 MB / 483.5 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.4709, allocations: 1.519 MB / 485.1 MB, free: 27.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005615/0.4715, allocations: 158.3 kB / 485.2 MB, free: 27.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.4727, allocations: 441.4 kB / 485.6 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.4738, allocations: 1.37 MB / 487 MB, free: 26.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.4753, allocations: 1.677 MB / 488.7 MB, free: 25.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00653/0.4818, allocations: 5.146 MB / 493.8 MB, free: 23.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/0.4819, allocations: 1.156 kB / 493.8 MB, free: 23.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4819, allocations: 0 / 493.8 MB, free: 23.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002437/0.4821, allocations: 0 / 493.8 MB, free: 23.87 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.01133/0.4935, allocations: 3.611 MB / 497.4 MB, free: 21.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.491e-05/0.4936, allocations: 9.953 kB / 497.5 MB, free: 21.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.5049, allocations: 2.939 MB / 0.4887 GB, free: 21.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/0.5097, allocations: 1.527 MB / 0.4902 GB, free: 20.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.51, allocations: 174 kB / 0.4903 GB, free: 20.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001123/0.5111, allocations: 221.8 kB / 0.4905 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.5285, allocations: 9.478 MB / 0.4998 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.72e-05/0.5285, allocations: 14.56 kB / 0.4998 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.5289, allocations: 108.2 kB / 0.4999 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004392/0.5333, allocations: 2.372 MB / 0.5022 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01752/0.5509, allocations: 8.672 MB / 0.5107 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04298/0.5939, allocations: 29.29 MB / 0.5393 GB, free: 10.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005083/0.599, allocations: 3.063 MB / 0.5423 GB, free: 7.027 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001372/0.6004, allocations: 0.9894 MB / 0.5433 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008766/0.6092, allocations: 4.834 MB / 0.548 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.6093, allocations: 39.22 kB / 0.548 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 7.925e-06/0.6093, allocations: 0 / 0.548 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006093/0.6154, allocations: 2.736 MB / 0.5507 GB, free: 14.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.6155, allocations: 64.05 kB / 0.5507 GB, free: 14.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.6199, allocations: 2.565 MB / 0.5533 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002125/0.6202, allocations: 41.7 kB / 0.5533 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002238/0.6224, allocations: 2.637 MB / 0.5559 GB, free: 8.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/0.6231, allocations: 0.4977 MB / 0.5564 GB, free: 8.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/0.6244, allocations: 0.9044 MB / 0.5572 GB, free: 7.352 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.6245, allocations: 357.9 kB / 0.5576 GB, free: 6.996 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.6266, allocations: 1.355 MB / 0.5589 GB, free: 5.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004018/0.6306, allocations: 4.122 MB / 0.5629 GB, free: 124 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007096/0.6378, allocations: 5.96 MB / 0.5687 GB, free: 8.781 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.173e-05/0.6379, allocations: 31.94 kB / 0.5688 GB, free: 8.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009933/0.6478, allocations: 5.278 MB / 0.5739 GB, free: 3.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.6479, allocations: 48.98 kB / 0.574 GB, free: 3.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/0.6481, allocations: 100 kB / 0.5741 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.6482, allocations: 132 kB / 0.5742 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/0.651, allocations: 0.9747 MB / 0.5752 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001312/0.6511, allocations: 191.2 kB / 0.5753 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/0.6541, allocations: 0.6069 MB / 0.5759 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/0.6545, allocations: 276 kB / 0.5762 GB, free: 1.145 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0031/0.6576, allocations: 1.895 MB / 0.578 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003705/0.658, allocations: 213.2 kB / 0.5782 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004569/0.6584, allocations: 271.4 kB / 0.5785 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/0.6585, allocations: 12 kB / 0.5785 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.6585, allocations: 0 / 0.5785 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.6585, allocations: 7.984 kB / 0.5785 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009261/0.6678, allocations: 5.63 MB / 0.584 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.6678, allocations: 4 kB / 0.584 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006117/0.6685, allocations: 131.8 kB / 0.5841 GB, free: 8.848 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.6685, allocations: 8 kB / 0.5842 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.6685, allocations: 23.98 kB / 0.5842 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.6686, allocations: 8 kB / 0.5842 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.6686, allocations: 7.938 kB / 0.5842 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.6708, allocations: 1.792 MB / 0.5859 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005209/0.6713, allocations: 282 kB / 0.5862 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.6716, allocations: 23.97 kB / 0.5862 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.6722, allocations: 35.97 kB / 0.5863 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/0.6723, allocations: 64.36 kB / 0.5863 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/0.6724, allocations: 40 kB / 0.5864 GB, free: 6.477 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002456/0.6749, allocations: 1.568 MB / 0.5879 GB, free: 4.895 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6749, allocations: 0 / 0.5879 GB, free: 4.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004834/0.6797, allocations: 1.007 MB / 0.5889 GB, free: 3.883 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 (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.00038/0.6801, allocations: 146.9 kB / 0.589 GB, free: 3.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005061/0.6852, allocations: 3.144 MB / 0.5921 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.6852, allocations: 0 / 0.5921 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.6861, allocations: 0.7335 MB / 0.5928 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.6877, allocations: 250.4 kB / 0.5931 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.7021, allocations: 9.163 MB / 0.602 GB, free: 6.391 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/0.7056, allocations: 2.966 MB / 0.6049 GB, free: 3.398 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003842/0.7094, allocations: 1.484 MB / 0.6063 GB, free: 1.906 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.71, allocations: 151.4 kB / 0.6065 GB, free: 1.758 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/0.71, allocations: 4 kB / 0.6065 GB, free: 1.754 MB / 478.1 MB Notification: Performance of Templates: time 0.03937/0.7494, allocations: 17.9 MB / 0.624 GB, free: 15.9 MB / 0.4981 GB 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)