Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00114/0.00114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001339/0.001339, allocations: 193.8 kB / 16.25 MB, free: 6.621 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.702/1.702, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3618/0.3618, allocations: 39.92 MB / 309.4 MB, free: 9.043 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.2. 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.001446/0.001446, allocations: 63.91 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1513, allocations: 56.88 MB / 434 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2649/0.4162, allocations: 28.7 MB / 462.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/0.4278, allocations: 5.568 MB / 468.2 MB, free: 34.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00554/0.4333, allocations: 112.4 kB / 468.4 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.4358, allocations: 1.253 MB / 469.6 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002455/0.4383, allocations: 1.13 MB / 470.7 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.4386, allocations: 81.47 kB / 470.8 MB, free: 34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002547/0.4412, allocations: 2.771 MB / 473.6 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001906/0.4431, allocations: 1.933 MB / 475.5 MB, free: 32.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.4446, allocations: 1.064 MB / 476.6 MB, free: 31.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.4461, allocations: 1.595 MB / 478.2 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003089/0.4465, allocations: 205.3 kB / 478.4 MB, free: 31.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008453/0.4473, allocations: 497.7 kB / 478.9 MB, free: 31.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009182/0.4482, allocations: 1.417 MB / 480.3 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.4496, allocations: 1.736 MB / 482 MB, free: 29.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.4539, allocations: 5.23 MB / 487.3 MB, free: 27.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4539, allocations: 0 / 487.3 MB, free: 27.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4539, allocations: 0 / 487.3 MB, free: 27.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001547/0.4541, allocations: 0 / 487.3 MB, free: 27.69 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.005337/0.4594, allocations: 3.616 MB / 490.9 MB, free: 25.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4595, allocations: 10.11 kB / 490.9 MB, free: 25.44 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009611/0.4691, allocations: 2.936 MB / 493.8 MB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.4719, allocations: 1.523 MB / 495.3 MB, free: 24.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.4721, allocations: 173.4 kB / 495.5 MB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005106/0.4726, allocations: 222.1 kB / 495.7 MB, free: 24.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.4872, allocations: 9.482 MB / 0.4934 GB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/0.4873, allocations: 23.59 kB / 0.4934 GB, free: 20.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003454/0.4876, allocations: 108.4 kB / 0.4935 GB, free: 20 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004479/0.4921, allocations: 2.372 MB / 0.4958 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01654/0.5087, allocations: 8.664 MB / 0.5043 GB, free: 16.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04005/0.5488, allocations: 29.3 MB / 0.5329 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005081/0.5539, allocations: 3.048 MB / 0.5359 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.5552, allocations: 0.9894 MB / 0.5368 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008865/0.5641, allocations: 4.832 MB / 0.5415 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.5642, allocations: 43.22 kB / 0.5416 GB, free: 8.887 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 7.184e-06/0.5642, allocations: 4 kB / 0.5416 GB, free: 8.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006301/0.5705, allocations: 2.732 MB / 0.5443 GB, free: 6.145 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5706, allocations: 64 kB / 0.5443 GB, free: 6.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004133/0.5747, allocations: 2.569 MB / 0.5468 GB, free: 3.473 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001342/0.5749, allocations: 41.69 kB / 0.5469 GB, free: 3.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002654/0.5776, allocations: 2.641 MB / 0.5494 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007062/0.5783, allocations: 0.4937 MB / 0.5499 GB, free: 252 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/0.5796, allocations: 0.8929 MB / 0.5508 GB, free: 15.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.5799, allocations: 369.9 kB / 0.5512 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.5819, allocations: 1.352 MB / 0.5525 GB, free: 13.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004719/0.5866, allocations: 4.118 MB / 0.5565 GB, free: 8.102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007198/0.5939, allocations: 5.964 MB / 0.5623 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.621e-05/0.594, allocations: 28 kB / 0.5623 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009784/0.6038, allocations: 5.286 MB / 0.5675 GB, free: 11.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.6039, allocations: 48 kB / 0.5676 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/0.604, allocations: 99.98 kB / 0.5676 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.6041, allocations: 128 kB / 0.5678 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.6069, allocations: 0.9747 MB / 0.5687 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001423/0.607, allocations: 192.9 kB / 0.5689 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.6102, allocations: 0.6113 MB / 0.5695 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004436/0.6106, allocations: 279.9 kB / 0.5698 GB, free: 9.113 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.002994/0.6136, allocations: 1.891 MB / 0.5716 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/0.614, allocations: 213.2 kB / 0.5718 GB, free: 6.996 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004999/0.6145, allocations: 271.4 kB / 0.5721 GB, free: 6.727 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.001e-05/0.6146, allocations: 16 kB / 0.5721 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.6146, allocations: 4 kB / 0.5721 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.6146, allocations: 3.984 kB / 0.5721 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009161/0.6238, allocations: 5.615 MB / 0.5776 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.6238, allocations: 4 kB / 0.5776 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.6244, allocations: 139.8 kB / 0.5777 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.6244, allocations: 8 kB / 0.5777 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.6244, allocations: 27.98 kB / 0.5778 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.6245, allocations: 11.94 kB / 0.5778 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.6245, allocations: 4 kB / 0.5778 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.6268, allocations: 1.784 MB / 0.5795 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006644/0.6275, allocations: 282 kB / 0.5798 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.6277, allocations: 27.94 kB / 0.5798 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.6283, allocations: 43.86 kB / 0.5798 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.6284, allocations: 56.44 kB / 0.5799 GB, free: 14.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/0.6286, allocations: 43.98 kB / 0.5799 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00255/0.6312, allocations: 1.564 MB / 0.5815 GB, free: 12.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6312, allocations: 3.938 kB / 0.5815 GB, free: 12.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004459/0.6357, allocations: 1.007 MB / 0.5825 GB, free: 11.86 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.000488/0.6362, allocations: 147 kB / 0.5826 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006906/0.6431, allocations: 3.956 MB / 0.5865 GB, free: 7.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.6431, allocations: 5 kB / 0.5865 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.6441, allocations: 0.7376 MB / 0.5872 GB, free: 7.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.6457, allocations: 259 kB / 0.5874 GB, free: 6.785 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.6595, allocations: 9.159 MB / 0.5964 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/0.6628, allocations: 2.966 MB / 0.5993 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003377/0.6662, allocations: 1.489 MB / 0.6007 GB, free: 9.059 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.6666, allocations: 155.4 kB / 0.6009 GB, free: 8.906 MB / 478.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6666, allocations: 0 / 0.6009 GB, free: 8.906 MB / 478.1 MB Notification: Performance of Templates: time 0.0439/0.7105, allocations: 18.47 MB / 0.6189 GB, free: 6.477 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)