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.001287/0.001286, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001536/0.001536, allocations: 193 kB / 16.13 MB, free: 6.652 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.698/1.698, allocations: 205.1 MB / 222 MB, free: 4.738 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.4127/0.4127, allocations: 39.93 MB / 309.3 MB, free: 9.688 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.00141/0.00141, allocations: 67.91 kB / 376.9 MB, free: 13.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.159, allocations: 56.89 MB / 433.8 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.2614/0.4204, allocations: 28.7 MB / 462.5 MB, free: 35.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01339/0.4339, allocations: 5.606 MB / 468.1 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006215/0.4401, allocations: 112.8 kB / 468.2 MB, free: 34.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.443, allocations: 1.275 MB / 469.5 MB, free: 34.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002883/0.4459, allocations: 1.153 MB / 470.6 MB, free: 33.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.4462, allocations: 71.73 kB / 470.7 MB, free: 33.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003318/0.4495, allocations: 4.038 MB / 474.8 MB, free: 32.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.4517, allocations: 1.831 MB / 476.6 MB, free: 31.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.4531, allocations: 0.9246 MB / 477.5 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.4548, allocations: 1.528 MB / 479 MB, free: 31.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003949/0.4552, allocations: 152.8 kB / 479.2 MB, free: 31.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000911/0.4561, allocations: 440.9 kB / 479.6 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.4572, allocations: 1.368 MB / 481 MB, free: 30.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.4588, allocations: 1.68 MB / 482.7 MB, free: 29.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005072/0.4639, allocations: 5.142 MB / 487.8 MB, free: 27.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.464, allocations: 3.938 kB / 487.8 MB, free: 27.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.464, allocations: 4.938 kB / 487.8 MB, free: 27.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001878/0.4642, allocations: 0 / 487.8 MB, free: 27.68 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.008478/0.4727, allocations: 3.599 MB / 491.4 MB, free: 25.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.4728, allocations: 13.41 kB / 491.4 MB, free: 25.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4835, allocations: 2.943 MB / 494.4 MB, free: 25.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004278/0.4878, allocations: 1.525 MB / 495.9 MB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.488, allocations: 175.3 kB / 496.1 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007385/0.4888, allocations: 220.4 kB / 496.3 MB, free: 24.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02133/0.5101, allocations: 9.477 MB / 0.4939 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.509e-05/0.5102, allocations: 15.03 kB / 0.4939 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003957/0.5106, allocations: 108.7 kB / 0.494 GB, free: 20.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004185/0.5148, allocations: 2.376 MB / 0.4963 GB, free: 19.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01724/0.5321, allocations: 8.678 MB / 0.5048 GB, free: 16.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04651/0.5787, allocations: 29.29 MB / 0.5334 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/0.5843, allocations: 3.057 MB / 0.5364 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.5859, allocations: 0.9893 MB / 0.5374 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009952/0.5959, allocations: 4.844 MB / 0.5421 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.596, allocations: 39.22 kB / 0.5421 GB, free: 8.578 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 5.851e-06/0.596, allocations: 0 / 0.5421 GB, free: 8.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.006818/0.6029, allocations: 2.728 MB / 0.5448 GB, free: 5.844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.453e-05/0.603, allocations: 68 kB / 0.5449 GB, free: 5.766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/0.6088, allocations: 2.565 MB / 0.5474 GB, free: 3.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002443/0.6091, allocations: 45.69 kB / 0.5474 GB, free: 3.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002367/0.6115, allocations: 2.645 MB / 0.55 GB, free: 448 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/0.6123, allocations: 0.4899 MB / 0.5505 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/0.6144, allocations: 0.9005 MB / 0.5514 GB, free: 15.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.6147, allocations: 357.9 kB / 0.5517 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/0.6171, allocations: 1.352 MB / 0.553 GB, free: 13.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004664/0.6218, allocations: 4.122 MB / 0.557 GB, free: 7.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007713/0.6296, allocations: 5.964 MB / 0.5629 GB, free: 472 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-05/0.6297, allocations: 28 kB / 0.5629 GB, free: 444 kB / 430.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01033/0.64, allocations: 5.279 MB / 0.568 GB, free: 11.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.6401, allocations: 44 kB / 0.5681 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.551e-05/0.6402, allocations: 104 kB / 0.5682 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.6405, allocations: 128 kB / 0.5683 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.6433, allocations: 0.9747 MB / 0.5693 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001534/0.6435, allocations: 192 kB / 0.5694 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/0.6468, allocations: 0.607 MB / 0.57 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004754/0.6473, allocations: 280 kB / 0.5703 GB, free: 8.824 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.004082/0.6514, allocations: 1.891 MB / 0.5722 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004761/0.6518, allocations: 209.2 kB / 0.5724 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.6524, allocations: 275.4 kB / 0.5726 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/0.6524, allocations: 15.98 kB / 0.5726 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.6524, allocations: 7.938 kB / 0.5726 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.6525, allocations: 7.922 kB / 0.5726 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009506/0.662, allocations: 5.618 MB / 0.5781 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.662, allocations: 4 kB / 0.5781 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.6626, allocations: 139.7 kB / 0.5783 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.6626, allocations: 4.562 kB / 0.5783 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.036e-05/0.6627, allocations: 27.98 kB / 0.5783 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.211e-05/0.6627, allocations: 11.94 kB / 0.5783 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6627, allocations: 4 kB / 0.5783 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.665, allocations: 1.796 MB / 0.5801 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.6656, allocations: 286 kB / 0.5803 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.6658, allocations: 20 kB / 0.5804 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005635/0.6664, allocations: 35.95 kB / 0.5804 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.6665, allocations: 64.38 kB / 0.5805 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/0.6666, allocations: 43.97 kB / 0.5805 GB, free: 14.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00253/0.6691, allocations: 1.564 MB / 0.582 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6691, allocations: 0 / 0.582 GB, free: 12.57 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003708/0.6729, allocations: 1.003 MB / 0.583 GB, free: 11.56 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.0003321/0.6732, allocations: 150.9 kB / 0.5831 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004706/0.6779, allocations: 3.131 MB / 0.5862 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.678, allocations: 2 kB / 0.5862 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.6788, allocations: 0.7385 MB / 0.5869 GB, free: 7.559 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6801, allocations: 245.3 kB / 0.5872 GB, free: 7.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.6931, allocations: 9.16 MB / 0.5961 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/0.6962, allocations: 2.97 MB / 0.599 GB, free: 11.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003394/0.6996, allocations: 1.481 MB / 0.6005 GB, free: 9.598 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.7, allocations: 163.4 kB / 0.6006 GB, free: 9.438 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7, allocations: 0 / 0.6006 GB, free: 9.438 MB / 478.1 MB Notification: Performance of Templates: time 0.04059/0.7406, allocations: 17.9 MB / 0.6181 GB, free: 7.586 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)