Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Visualizers.Torus") 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007569/0.007569, allocations: 104.5 kB / 15.74 MB, free: 5.602 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.001276/0.001276, allocations: 189.2 kB / 16.67 MB, free: 5.527 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1932/0.1932, allocations: 38.01 MB / 307.9 MB, free: 5.969 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.1. 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.001505/0.001505, allocations: 67.91 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1372, allocations: 56.47 MB / 489.4 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01252/0.1498, allocations: 11.28 MB / 0.489 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007702/0.1576, allocations: 2.781 MB / 0.4917 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.1597, allocations: 55.88 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002954/0.1627, allocations: 1.312 MB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003433/0.1661, allocations: 1.206 MB / 0.4942 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.1667, allocations: 83.84 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004667/0.1714, allocations: 2.761 MB / 0.497 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.1737, allocations: 1.84 MB / 0.4988 GB, free: 452 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.1753, allocations: 1.058 MB / 0.4998 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.1774, allocations: 1.46 MB / 0.5013 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003739/0.1777, allocations: 208 kB / 0.5015 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.1789, allocations: 483.4 kB / 0.5019 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.1803, allocations: 1.414 MB / 0.5033 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.1821, allocations: 1.723 MB / 0.505 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006255/0.1884, allocations: 5.479 MB / 0.5103 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.1884, allocations: 0 / 0.5103 GB, free: 4.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1884, allocations: 0 / 0.5103 GB, free: 4.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001764/0.1886, allocations: 0 / 0.5103 GB, free: 4.586 MB / 398.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.006313/0.195, allocations: 3.612 MB / 0.5139 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.195, allocations: 11.89 kB / 0.5139 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2966/0.4916, allocations: 2.941 MB / 0.5167 GB, free: 33.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004068/0.4957, allocations: 1.529 MB / 0.5182 GB, free: 33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4959, allocations: 175.8 kB / 0.5184 GB, free: 32.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006988/0.4966, allocations: 220.5 kB / 0.5186 GB, free: 32.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.5124, allocations: 9.469 MB / 0.5279 GB, free: 29.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.945e-05/0.5125, allocations: 19.59 kB / 0.5279 GB, free: 29.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/0.5128, allocations: 112.4 kB / 0.528 GB, free: 29.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004173/0.517, allocations: 2.377 MB / 0.5303 GB, free: 28.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01977/0.5368, allocations: 8.665 MB / 0.5388 GB, free: 24.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03858/0.5755, allocations: 29.08 MB / 0.5672 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/0.5801, allocations: 3.053 MB / 0.5701 GB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.5814, allocations: 0.9804 MB / 0.5711 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008581/0.59, allocations: 4.832 MB / 0.5758 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.59, allocations: 43.22 kB / 0.5759 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 3.687e-06/0.5901, allocations: 4 kB / 0.5759 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.005979/0.596, allocations: 2.732 MB / 0.5785 GB, free: 14.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.5961, allocations: 64.06 kB / 0.5786 GB, free: 14.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/0.5996, allocations: 2.569 MB / 0.5811 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.124e-05/0.5997, allocations: 37.61 kB / 0.5811 GB, free: 11.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002142/0.6019, allocations: 2.649 MB / 0.5837 GB, free: 8.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/0.6025, allocations: 497.6 kB / 0.5842 GB, free: 8.254 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.6037, allocations: 0.9084 MB / 0.5851 GB, free: 7.332 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.604, allocations: 355.6 kB / 0.5854 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.6059, allocations: 1.352 MB / 0.5867 GB, free: 5.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004278/0.6101, allocations: 4.122 MB / 0.5908 GB, free: 112 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/0.6173, allocations: 5.964 MB / 0.5966 GB, free: 8.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.69e-05/0.6173, allocations: 28.94 kB / 0.5966 GB, free: 8.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008683/0.626, allocations: 5.278 MB / 0.6018 GB, free: 3.457 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.6261, allocations: 48 kB / 0.6018 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.6262, allocations: 96 kB / 0.6019 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000109/0.6264, allocations: 132.8 kB / 0.602 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.6289, allocations: 0.9786 MB / 0.603 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001388/0.6291, allocations: 191.3 kB / 0.6032 GB, free: 2.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.6318, allocations: 0.6029 MB / 0.6038 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/0.6321, allocations: 280 kB / 0.604 GB, free: 1.137 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.002896/0.635, allocations: 1.903 MB / 0.6059 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.6353, allocations: 214.1 kB / 0.6061 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.6358, allocations: 271.4 kB / 0.6064 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/0.6358, allocations: 20 kB / 0.6064 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6358, allocations: 0 / 0.6064 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.6358, allocations: 3.984 kB / 0.6064 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008753/0.6446, allocations: 5.607 MB / 0.6119 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.6446, allocations: 12.03 kB / 0.6119 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.6452, allocations: 139.8 kB / 0.612 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.6452, allocations: 8 kB / 0.612 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.6453, allocations: 27.94 kB / 0.612 GB, free: 8.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.6453, allocations: 6.625 kB / 0.612 GB, free: 8.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.6453, allocations: 12.53 kB / 0.6121 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/0.6474, allocations: 1.792 MB / 0.6138 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004415/0.6478, allocations: 286 kB / 0.6141 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.648, allocations: 24 kB / 0.6141 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005746/0.6486, allocations: 35.95 kB / 0.6141 GB, free: 6.562 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6487, allocations: 64.36 kB / 0.6142 GB, free: 6.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/0.6488, allocations: 40 kB / 0.6142 GB, free: 6.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001927/0.6507, allocations: 1.556 MB / 0.6158 GB, free: 4.891 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6507, allocations: 4 kB / 0.6158 GB, free: 4.887 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003228/0.654, allocations: 1.007 MB / 0.6167 GB, free: 3.875 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.0003026/0.6543, allocations: 147 kB / 0.6169 GB, free: 3.723 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.6585, allocations: 3.148 MB / 0.62 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6585, allocations: 448 / 0.62 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008814/0.6594, allocations: 0.7452 MB / 0.6207 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6606, allocations: 257.6 kB / 0.6209 GB, free: 15.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.6723, allocations: 7.17 MB / 0.6279 GB, free: 8.352 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/0.6754, allocations: 2.966 MB / 0.6308 GB, free: 5.355 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003124/0.6786, allocations: 1.492 MB / 0.6323 GB, free: 3.859 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.6789, allocations: 159.4 kB / 0.6324 GB, free: 3.703 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.679, allocations: 0 / 0.6324 GB, free: 3.703 MB / 478.1 MB Notification: Performance of Templates: time 0.03768/0.7166, allocations: 16.01 MB / 0.6481 GB, free: 3.719 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)