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.001209/0.001209, allocations: 111.5 kB / 17.04 MB, free: 5.363 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.001175/0.001175, allocations: 198.7 kB / 17.98 MB, free: 4.895 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.365/1.365, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2075/0.2075, allocations: 43.52 MB / 314.7 MB, free: 464 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.00152/0.00152, allocations: 65.59 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09711, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01044/0.1076, allocations: 11.28 MB / 453.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0054/0.1131, allocations: 2.777 MB / 456 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008704/0.1139, allocations: 55.88 kB / 456.1 MB, free: 7.969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002406/0.1164, allocations: 1.319 MB / 457.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.1188, allocations: 1.21 MB / 458.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1191, allocations: 71.84 kB / 458.7 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00286/0.122, allocations: 2.748 MB / 461.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.1239, allocations: 1.852 MB / 463.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.1252, allocations: 1.059 MB / 464.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.1267, allocations: 1.448 MB / 465.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.127, allocations: 208 kB / 466 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008891/0.1279, allocations: 487.4 kB / 466.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.129, allocations: 1.418 MB / 467.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001365/0.1303, allocations: 1.719 MB / 469.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.1351, allocations: 5.479 MB / 475.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1351, allocations: 0 / 475.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1351, allocations: 0 / 475.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-05/0.1352, allocations: 0 / 475.1 MB, free: 4.871 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.005125/0.1404, allocations: 3.601 MB / 478.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1404, allocations: 11.89 kB / 478.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009382/0.1498, allocations: 2.94 MB / 481.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004016/0.1539, allocations: 1.541 MB / 483.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.1541, allocations: 172.7 kB / 483.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005435/0.1546, allocations: 224 kB / 483.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.1681, allocations: 9.468 MB / 493 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-05/0.1682, allocations: 19.81 kB / 493.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.1685, allocations: 107.8 kB / 493.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003343/0.1718, allocations: 2.377 MB / 495.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01578/0.1876, allocations: 8.665 MB / 0.4924 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03854/0.2262, allocations: 29.08 MB / 0.5208 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004519/0.2308, allocations: 3.053 MB / 0.5238 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.2321, allocations: 0.9805 MB / 0.5247 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.189/0.4211, allocations: 4.832 MB / 0.5294 GB, free: 87.35 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.4212, allocations: 46.89 kB / 0.5295 GB, free: 87.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 5.931e-06/0.4212, allocations: 3.469 kB / 0.5295 GB, free: 87.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.007036/0.4282, allocations: 2.731 MB / 0.5322 GB, free: 87.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.4283, allocations: 66.89 kB / 0.5322 GB, free: 87.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00482/0.4331, allocations: 2.56 MB / 0.5347 GB, free: 86.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.4332, allocations: 37.78 kB / 0.5348 GB, free: 86.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.4349, allocations: 2.655 MB / 0.5373 GB, free: 85.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005342/0.4355, allocations: 496.9 kB / 0.5378 GB, free: 85.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/0.4372, allocations: 0.9002 MB / 0.5387 GB, free: 84.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.4374, allocations: 363.1 kB / 0.539 GB, free: 84.57 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.4396, allocations: 1.351 MB / 0.5404 GB, free: 84.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/0.4429, allocations: 4.124 MB / 0.5444 GB, free: 80.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005985/0.4489, allocations: 5.957 MB / 0.5502 GB, free: 74.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/0.4491, allocations: 28.03 kB / 0.5502 GB, free: 74.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.007774/0.4569, allocations: 5.291 MB / 0.5554 GB, free: 72.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/0.457, allocations: 46.53 kB / 0.5555 GB, free: 72.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/0.4571, allocations: 96.66 kB / 0.5555 GB, free: 72.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001323/0.4573, allocations: 128.4 kB / 0.5557 GB, free: 72.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/0.4598, allocations: 0.9781 MB / 0.5566 GB, free: 72.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.4599, allocations: 194.4 kB / 0.5568 GB, free: 72.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/0.4629, allocations: 0.6013 MB / 0.5574 GB, free: 72.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/0.4632, allocations: 276.4 kB / 0.5577 GB, free: 72.32 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.002108/0.4654, allocations: 1.899 MB / 0.5595 GB, free: 71.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.4656, allocations: 217.1 kB / 0.5597 GB, free: 71.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.466, allocations: 269.7 kB / 0.56 GB, free: 70.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.4661, allocations: 16 kB / 0.56 GB, free: 70.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.4661, allocations: 0 / 0.56 GB, free: 70.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4661, allocations: 11.69 kB / 0.56 GB, free: 70.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/0.4738, allocations: 5.614 MB / 0.5655 GB, free: 66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.4738, allocations: 4.562 kB / 0.5655 GB, free: 66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005059/0.4743, allocations: 137.1 kB / 0.5656 GB, free: 65.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.4743, allocations: 12 kB / 0.5656 GB, free: 65.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.4744, allocations: 20 kB / 0.5657 GB, free: 65.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4744, allocations: 11.78 kB / 0.5657 GB, free: 65.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4744, allocations: 8 kB / 0.5657 GB, free: 65.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.4759, allocations: 1.785 MB / 0.5674 GB, free: 64.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/0.4764, allocations: 288 kB / 0.5677 GB, free: 63.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.4767, allocations: 21.02 kB / 0.5677 GB, free: 63.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.4773, allocations: 40.38 kB / 0.5677 GB, free: 63.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4774, allocations: 59.72 kB / 0.5678 GB, free: 63.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/0.4775, allocations: 49.31 kB / 0.5679 GB, free: 63.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001615/0.4791, allocations: 1.554 MB / 0.5694 GB, free: 62.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4791, allocations: 0 / 0.5694 GB, free: 62.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002949/0.4821, allocations: 1.013 MB / 0.5704 GB, free: 61.18 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.0002674/0.4823, allocations: 145.9 kB / 0.5705 GB, free: 61.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00354/0.4859, allocations: 3.152 MB / 0.5736 GB, free: 57.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4859, allocations: 0 / 0.5736 GB, free: 57.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006497/0.4866, allocations: 0.7482 MB / 0.5743 GB, free: 57.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.4878, allocations: 260.4 kB / 0.5746 GB, free: 56.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009703/0.4976, allocations: 7.147 MB / 0.5815 GB, free: 49.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003103/0.5007, allocations: 2.966 MB / 0.5844 GB, free: 46.73 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002751/0.5035, allocations: 1.49 MB / 0.5859 GB, free: 45.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004213/0.5039, allocations: 155.4 kB / 0.586 GB, free: 45.08 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5039, allocations: 0 / 0.586 GB, free: 45.08 MB / 414.1 MB Notification: Performance of Templates: time 0.0313/0.5352, allocations: 15.01 MB / 0.6007 GB, free: 30.27 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 gbode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)