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.001609/0.001609, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001934/0.001934, allocations: 189.1 kB / 16.25 MB, free: 6.625 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.511/1.511, allocations: 205.1 MB / 222.1 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3281/0.3281, allocations: 37.98 MB / 307.4 MB, free: 10.14 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.001337/0.001337, allocations: 70.25 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1199, allocations: 56.47 MB / 431.2 MB, free: 6.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2535/0.3735, allocations: 28.69 MB / 459.9 MB, free: 34.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.3869, allocations: 5.576 MB / 465.5 MB, free: 34.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008954/0.3959, allocations: 115.2 kB / 465.6 MB, free: 34.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.3989, allocations: 1.249 MB / 466.8 MB, free: 34.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.4028, allocations: 1.131 MB / 468 MB, free: 33.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.4031, allocations: 75.48 kB / 468 MB, free: 33.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.4069, allocations: 2.774 MB / 470.8 MB, free: 32.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.4092, allocations: 1.936 MB / 472.7 MB, free: 32.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.4106, allocations: 1.06 MB / 473.8 MB, free: 31.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.4118, allocations: 1.588 MB / 475.4 MB, free: 31.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.4121, allocations: 210.8 kB / 475.6 MB, free: 31.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008908/0.413, allocations: 491.3 kB / 476.1 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008797/0.4139, allocations: 1.419 MB / 477.5 MB, free: 30.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009584/0.4149, allocations: 1.735 MB / 479.2 MB, free: 29.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.4185, allocations: 5.222 MB / 484.5 MB, free: 27.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4185, allocations: 2.969 kB / 484.5 MB, free: 27.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4186, allocations: 0 / 484.5 MB, free: 27.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.674e-05/0.4187, allocations: 7.938 kB / 484.5 MB, free: 27.58 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.004498/0.4232, allocations: 3.603 MB / 488.1 MB, free: 25.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4232, allocations: 13.17 kB / 488.1 MB, free: 25.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00927/0.4325, allocations: 2.937 MB / 491 MB, free: 25.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/0.4356, allocations: 1.535 MB / 492.6 MB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.4357, allocations: 172 kB / 492.7 MB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004246/0.4362, allocations: 226.4 kB / 492.9 MB, free: 24.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01574/0.4519, allocations: 9.476 MB / 0.4906 GB, free: 20.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.4521, allocations: 16.56 kB / 0.4907 GB, free: 20.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00091/0.453, allocations: 106.6 kB / 0.4908 GB, free: 20.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004631/0.4576, allocations: 2.38 MB / 0.4931 GB, free: 19.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02355/0.4812, allocations: 8.673 MB / 0.5016 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.5261, allocations: 29.3 MB / 0.5302 GB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006069/0.5322, allocations: 3.046 MB / 0.5331 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.5339, allocations: 0.987 MB / 0.5341 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009438/0.5434, allocations: 4.837 MB / 0.5388 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.5435, allocations: 39.22 kB / 0.5389 GB, free: 11.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 5.31e-06/0.5435, allocations: 0 / 0.5389 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006263/0.5498, allocations: 2.732 MB / 0.5415 GB, free: 8.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.5499, allocations: 60.06 kB / 0.5416 GB, free: 8.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/0.555, allocations: 2.569 MB / 0.5441 GB, free: 5.633 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.5552, allocations: 44.36 kB / 0.5441 GB, free: 5.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001957/0.5572, allocations: 2.653 MB / 0.5467 GB, free: 2.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007978/0.558, allocations: 0.4898 MB / 0.5472 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/0.5602, allocations: 0.8966 MB / 0.5481 GB, free: 1.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.5605, allocations: 369.8 kB / 0.5484 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.5627, allocations: 1.352 MB / 0.5498 GB, free: 15.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/0.5671, allocations: 4.11 MB / 0.5538 GB, free: 10.31 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006509/0.5736, allocations: 5.964 MB / 0.5596 GB, free: 2.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001041/0.5738, allocations: 28 kB / 0.5596 GB, free: 2.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009356/0.5831, allocations: 5.286 MB / 0.5648 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.5832, allocations: 48 kB / 0.5648 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/0.5834, allocations: 96 kB / 0.5649 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000155/0.5836, allocations: 128 kB / 0.565 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/0.5865, allocations: 0.9786 MB / 0.566 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002004/0.5867, allocations: 195.2 kB / 0.5662 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/0.5905, allocations: 0.5978 MB / 0.5668 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005973/0.5911, allocations: 276 kB / 0.567 GB, free: 11.35 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.003738/0.5948, allocations: 1.894 MB / 0.5689 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004465/0.5953, allocations: 217.1 kB / 0.5691 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006113/0.5959, allocations: 271.3 kB / 0.5694 GB, free: 8.957 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.661e-05/0.596, allocations: 19.98 kB / 0.5694 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.596, allocations: 4 kB / 0.5694 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.596, allocations: 3.984 kB / 0.5694 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.6082, allocations: 5.615 MB / 0.5749 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.6083, allocations: 4 kB / 0.5749 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.6089, allocations: 139.8 kB / 0.575 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.161e-05/0.6089, allocations: 8 kB / 0.575 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.957e-05/0.609, allocations: 23.45 kB / 0.575 GB, free: 3.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/0.6091, allocations: 15.94 kB / 0.575 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/0.6091, allocations: 10.05 kB / 0.5751 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.6118, allocations: 1.788 MB / 0.5768 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.6126, allocations: 286.1 kB / 0.5771 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006771/0.6133, allocations: 19.36 kB / 0.5771 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/0.6143, allocations: 35.95 kB / 0.5771 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.6145, allocations: 68.38 kB / 0.5772 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.6147, allocations: 37.95 kB / 0.5772 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002989/0.6177, allocations: 1.564 MB / 0.5788 GB, free: 15.12 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6177, allocations: 0 / 0.5788 GB, free: 15.12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004604/0.6223, allocations: 1.009 MB / 0.5797 GB, free: 14.11 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.0005055/0.6228, allocations: 149.5 kB / 0.5799 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007241/0.6301, allocations: 3.951 MB / 0.5837 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.6301, allocations: 4 kB / 0.5837 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001145/0.6313, allocations: 0.7398 MB / 0.5845 GB, free: 9.285 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.6335, allocations: 259.6 kB / 0.5847 GB, free: 9.039 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.6486, allocations: 9.165 MB / 0.5937 GB, free: 15.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004972/0.6536, allocations: 2.962 MB / 0.5966 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003801/0.6574, allocations: 1.488 MB / 0.598 GB, free: 11.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/0.6581, allocations: 159.4 kB / 0.5982 GB, free: 11.16 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6581, allocations: 0 / 0.5982 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Templates: time 0.04466/0.7027, allocations: 18.45 MB / 0.6162 GB, free: 8.812 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)