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.0009346/0.0009345, allocations: 102.3 kB / 16.02 MB, free: 72 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.001126/0.001126, allocations: 180.5 kB / 16.92 MB, free: 6.922 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.636/1.636, allocations: 205.4 MB / 223.1 MB, free: 5.742 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.3803/0.3803, allocations: 43.58 MB / 315 MB, free: 8.715 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.0005068/0.000507, allocations: 12 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1263, allocations: 58.86 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2433/0.3697, allocations: 27.79 MB / 471.2 MB, free: 32.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.3834, allocations: 5.562 MB / 476.8 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004599/0.3881, allocations: 115.9 kB / 476.9 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009235/0.389, allocations: 409.8 kB / 477.3 MB, free: 30.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.3914, allocations: 1.158 MB / 478.5 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.3916, allocations: 76.84 kB / 478.5 MB, free: 30.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003064/0.3947, allocations: 4.041 MB / 482.6 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.3975, allocations: 2.325 MB / 484.9 MB, free: 28.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.3989, allocations: 0.8336 MB / 485.7 MB, free: 28.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.4009, allocations: 1.427 MB / 487.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.4014, allocations: 114.7 kB / 487.3 MB, free: 27.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.4024, allocations: 409 kB / 487.7 MB, free: 27.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.4036, allocations: 1.334 MB / 489 MB, free: 27.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.4047, allocations: 1.642 MB / 490.7 MB, free: 25.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006408/0.4111, allocations: 5.023 MB / 495.7 MB, free: 24.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.4112, allocations: 1.859 kB / 495.7 MB, free: 24.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4112, allocations: 0 / 495.7 MB, free: 24.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002125/0.4114, allocations: 0 / 495.7 MB, free: 24.42 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.006292/0.4177, allocations: 2.934 MB / 498.6 MB, free: 22.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4178, allocations: 9.062 kB / 498.6 MB, free: 22.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.4284, allocations: 3.032 MB / 0.4899 GB, free: 22.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.4322, allocations: 1.524 MB / 0.4914 GB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.4324, allocations: 172.3 kB / 0.4915 GB, free: 21.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007422/0.4331, allocations: 226.7 kB / 0.4918 GB, free: 21.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/0.4513, allocations: 9.479 MB / 0.501 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.517e-05/0.4514, allocations: 19.31 kB / 0.501 GB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004187/0.4519, allocations: 103.8 kB / 0.5011 GB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003933/0.4558, allocations: 2.372 MB / 0.5035 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01928/0.4751, allocations: 8.665 MB / 0.5119 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04319/0.5183, allocations: 29.34 MB / 0.5406 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005197/0.5236, allocations: 3.043 MB / 0.5435 GB, free: 7.883 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.525, allocations: 0.9855 MB / 0.5445 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008443/0.5334, allocations: 4.842 MB / 0.5492 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5335, allocations: 39.22 kB / 0.5493 GB, free: 1.758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.258e-06/0.5335, allocations: 0 / 0.5493 GB, free: 1.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006292/0.5398, allocations: 2.744 MB / 0.5519 GB, free: 15.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.5399, allocations: 60.06 kB / 0.552 GB, free: 14.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004248/0.5442, allocations: 2.569 MB / 0.5545 GB, free: 12.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.135e-05/0.5442, allocations: 37.7 kB / 0.5545 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.5462, allocations: 2.649 MB / 0.5571 GB, free: 9.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005041/0.5468, allocations: 497.7 kB / 0.5576 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/0.5473, allocations: 391.7 kB / 0.558 GB, free: 8.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5475, allocations: 357.9 kB / 0.5583 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.5493, allocations: 1.352 MB / 0.5596 GB, free: 7.012 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00402/0.5533, allocations: 4.126 MB / 0.5637 GB, free: 1.496 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006403/0.5598, allocations: 5.96 MB / 0.5695 GB, free: 10.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.092e-05/0.5598, allocations: 32 kB / 0.5695 GB, free: 10.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.008389/0.5682, allocations: 5.283 MB / 0.5747 GB, free: 4.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.461e-05/0.5683, allocations: 44 kB / 0.5747 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.5684, allocations: 100 kB / 0.5748 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001173/0.5686, allocations: 128 kB / 0.5749 GB, free: 4.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.5712, allocations: 0.9786 MB / 0.5759 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002109/0.5715, allocations: 191.2 kB / 0.5761 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.5744, allocations: 0.6034 MB / 0.5767 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/0.5748, allocations: 285.5 kB / 0.5769 GB, free: 2.516 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.004327/0.5791, allocations: 1.887 MB / 0.5788 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/0.5797, allocations: 213.1 kB / 0.579 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/0.5803, allocations: 283.3 kB / 0.5793 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.499e-05/0.5804, allocations: 15.98 kB / 0.5793 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-05/0.5804, allocations: 4 kB / 0.5793 GB, free: 104 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5804, allocations: 7.984 kB / 0.5793 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009691/0.5901, allocations: 5.614 MB / 0.5848 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.5902, allocations: 4 kB / 0.5848 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/0.5908, allocations: 132.4 kB / 0.5849 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.5908, allocations: 12 kB / 0.5849 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.5909, allocations: 24 kB / 0.5849 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/0.5909, allocations: 15.92 kB / 0.5849 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/0.5909, allocations: 4 kB / 0.585 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.5932, allocations: 1.788 MB / 0.5867 GB, free: 8.305 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006595/0.5939, allocations: 298 kB / 0.587 GB, free: 7.992 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/0.5941, allocations: 20 kB / 0.587 GB, free: 7.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005968/0.5947, allocations: 39.95 kB / 0.587 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.5948, allocations: 64.38 kB / 0.5871 GB, free: 7.871 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.443e-05/0.5949, allocations: 39.98 kB / 0.5871 GB, free: 7.832 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002383/0.5973, allocations: 1.56 MB / 0.5887 GB, free: 6.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5973, allocations: 0 / 0.5887 GB, free: 6.258 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004207/0.6015, allocations: 1.003 MB / 0.5896 GB, free: 5.25 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.0003856/0.6019, allocations: 158.9 kB / 0.5898 GB, free: 5.086 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005311/0.6072, allocations: 3.124 MB / 0.5928 GB, free: 1.988 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/0.6073, allocations: 4 kB / 0.5928 GB, free: 1.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.6084, allocations: 0.7425 MB / 0.5936 GB, free: 1.242 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/0.6114, allocations: 245.7 kB / 0.5938 GB, free: 1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.6276, allocations: 9.193 MB / 0.6028 GB, free: 7.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/0.6311, allocations: 2.971 MB / 0.6057 GB, free: 4.734 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003541/0.6346, allocations: 1.481 MB / 0.6071 GB, free: 3.246 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.635, allocations: 159.4 kB / 0.6073 GB, free: 3.09 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.635, allocations: 0 / 0.6073 GB, free: 3.09 MB / 478.1 MB Notification: Performance of Templates: time 0.03894/0.6739, allocations: 17.76 MB / 0.6246 GB, free: 1.359 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)