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.001116/0.001116, allocations: 111.7 kB / 17.09 MB, free: 5.988 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.001161/0.001161, allocations: 200.2 kB / 18.02 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.329/1.329, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2126/0.2126, allocations: 43.53 MB / 314.8 MB, free: 460 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.001451/0.001451, allocations: 73.45 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.11, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01233/0.1223, allocations: 11.29 MB / 0.4996 GB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005977/0.1283, allocations: 2.781 MB / 0.5023 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.1299, allocations: 51.94 kB / 0.5023 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002732/0.1327, allocations: 1.315 MB / 0.5036 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.1355, allocations: 1.214 MB / 0.5048 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004207/0.1359, allocations: 79.84 kB / 0.5049 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003305/0.1393, allocations: 2.759 MB / 0.5076 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.1414, allocations: 1.844 MB / 0.5094 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.1428, allocations: 1.055 MB / 0.5104 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.1445, allocations: 1.444 MB / 0.5118 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.1449, allocations: 208 kB / 0.512 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009752/0.1459, allocations: 499.3 kB / 0.5125 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.147, allocations: 1.41 MB / 0.5139 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.1485, allocations: 1.715 MB / 0.5155 GB, free: 28 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005166/0.1537, allocations: 5.491 MB / 0.5209 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1537, allocations: 0 / 0.5209 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1537, allocations: 3.938 kB / 0.5209 GB, free: 10.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001051/0.1538, allocations: 0 / 0.5209 GB, free: 10.51 MB / 414.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.005272/0.1591, allocations: 3.608 MB / 0.5244 GB, free: 6.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/0.1592, allocations: 15.88 kB / 0.5244 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009257/0.1684, allocations: 2.936 MB / 0.5273 GB, free: 3.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/0.1717, allocations: 1.534 MB / 0.5288 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.1718, allocations: 172.6 kB / 0.529 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004681/0.1723, allocations: 224 kB / 0.5292 GB, free: 1.906 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2603/0.4325, allocations: 9.466 MB / 0.5384 GB, free: 34.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/0.4326, allocations: 19 kB / 0.5384 GB, free: 34.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002842/0.4329, allocations: 111.2 kB / 0.5385 GB, free: 34.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003916/0.4369, allocations: 2.38 MB / 0.5409 GB, free: 34.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.4542, allocations: 8.662 MB / 0.5493 GB, free: 31.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.4848, allocations: 29.08 MB / 0.5777 GB, free: 7.613 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003805/0.4886, allocations: 3.058 MB / 0.5807 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009393/0.4896, allocations: 0.9805 MB / 0.5817 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006652/0.4962, allocations: 4.82 MB / 0.5864 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4963, allocations: 47.22 kB / 0.5864 GB, free: 14.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 5.571e-06/0.4963, allocations: 3.984 kB / 0.5864 GB, free: 14.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.005689/0.502, allocations: 2.736 MB / 0.5891 GB, free: 11.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.502, allocations: 64.06 kB / 0.5892 GB, free: 11.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/0.5056, allocations: 2.569 MB / 0.5917 GB, free: 8.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.5056, allocations: 37.7 kB / 0.5917 GB, free: 8.762 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.5075, allocations: 2.641 MB / 0.5943 GB, free: 6.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.5079, allocations: 0.4898 MB / 0.5948 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.509, allocations: 0.8967 MB / 0.5956 GB, free: 4.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5092, allocations: 367.5 kB / 0.596 GB, free: 4.309 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.5112, allocations: 1.355 MB / 0.5973 GB, free: 2.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003733/0.5149, allocations: 4.118 MB / 0.6013 GB, free: 13.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006906/0.5219, allocations: 5.964 MB / 0.6072 GB, free: 6.102 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.522, allocations: 35.94 kB / 0.6072 GB, free: 6.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008285/0.5303, allocations: 5.282 MB / 0.6124 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.5304, allocations: 44 kB / 0.6124 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/0.5305, allocations: 100 kB / 0.6125 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001327/0.5307, allocations: 128 kB / 0.6126 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.5333, allocations: 0.9753 MB / 0.6136 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001517/0.5335, allocations: 191.3 kB / 0.6137 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.5361, allocations: 0.6031 MB / 0.6143 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.5365, allocations: 280 kB / 0.6146 GB, free: 14.46 MB / 462.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.002396/0.5389, allocations: 1.895 MB / 0.6165 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.5392, allocations: 211.1 kB / 0.6167 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004723/0.5397, allocations: 271.4 kB / 0.6169 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.5397, allocations: 3.984 kB / 0.6169 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5397, allocations: 8 kB / 0.6169 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.5401, allocations: 278 kB / 0.6172 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/0.5404, allocations: 19.94 kB / 0.6172 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.5409, allocations: 35.95 kB / 0.6172 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.5411, allocations: 48.58 kB / 0.6173 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001924/0.543, allocations: 1.48 MB / 0.6187 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001932/0.5449, allocations: 1.732 MB / 0.6204 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007627/0.5457, allocations: 0.6535 MB / 0.6211 GB, free: 7.781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00235/0.5481, allocations: 1.564 MB / 0.6226 GB, free: 6.203 MB / 462.1 MB Notification: Performance of Backend: time 3.91e-07/0.5481, allocations: 0 / 0.6226 GB, free: 6.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004438/0.5525, allocations: 2.627 MB / 0.6252 GB, free: 3.605 MB / 462.1 MB Notification: Performance of SimCode: time 0.01271/0.5653, allocations: 7.421 MB / 0.6324 GB, free: 12.14 MB / 478.1 MB Notification: Performance of Templates: time 0.04895/0.6143, allocations: 24.57 MB / 0.6564 GB, free: 3.578 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)