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.001195/0.001195, allocations: 107.1 kB / 17.08 MB, free: 6.074 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.00122/0.00122, allocations: 195.3 kB / 18.01 MB, free: 5.168 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.343/1.343, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2023/0.2023, allocations: 43.53 MB / 314.8 MB, free: 468 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.001396/0.001396, allocations: 65.41 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1195, allocations: 57.78 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01235/0.1319, allocations: 11.3 MB / 0.4996 GB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.1372, allocations: 2.777 MB / 0.5023 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009986/0.1382, allocations: 55.94 kB / 0.5023 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002299/0.1405, allocations: 1.315 MB / 0.5036 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.1426, allocations: 1.245 MB / 0.5048 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.1429, allocations: 83.83 kB / 0.5049 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.1454, allocations: 2.753 MB / 0.5076 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.1473, allocations: 1.848 MB / 0.5094 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001077/0.1483, allocations: 1.055 MB / 0.5104 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.1498, allocations: 1.448 MB / 0.5118 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.1501, allocations: 212 kB / 0.512 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008595/0.151, allocations: 495.3 kB / 0.5125 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.152, allocations: 1.41 MB / 0.5139 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.1533, allocations: 1.719 MB / 0.5156 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.1579, allocations: 5.518 MB / 0.521 GB, free: 10.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.158, allocations: 0 / 0.521 GB, free: 10.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.158, allocations: 0 / 0.521 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.52e-05/0.1581, allocations: 0 / 0.521 GB, free: 10.45 MB / 414.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.004611/0.1627, allocations: 3.707 MB / 0.5246 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.1627, allocations: 15.89 kB / 0.5246 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009265/0.172, allocations: 2.97 MB / 0.5275 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003131/0.1752, allocations: 1.534 MB / 0.529 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.1753, allocations: 168.7 kB / 0.5292 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.1762, allocations: 228 kB / 0.5294 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2456/0.4218, allocations: 9.465 MB / 0.5386 GB, free: 34.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.418e-05/0.4218, allocations: 21.03 kB / 0.5386 GB, free: 34.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.4221, allocations: 107.2 kB / 0.5387 GB, free: 34.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003753/0.4259, allocations: 2.375 MB / 0.5411 GB, free: 34.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.4397, allocations: 8.666 MB / 0.5495 GB, free: 31.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.4678, allocations: 29.16 MB / 0.578 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/0.4716, allocations: 3.053 MB / 0.581 GB, free: 4.152 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.4727, allocations: 0.9805 MB / 0.5819 GB, free: 3.168 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007268/0.48, allocations: 4.838 MB / 0.5867 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.48, allocations: 43.16 kB / 0.5867 GB, free: 14.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.408e-06/0.4801, allocations: 0 / 0.5867 GB, free: 14.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.005612/0.4857, allocations: 2.749 MB / 0.5894 GB, free: 11.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.4857, allocations: 64.06 kB / 0.5894 GB, free: 11.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004668/0.4904, allocations: 2.577 MB / 0.592 GB, free: 8.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-05/0.4905, allocations: 37.7 kB / 0.592 GB, free: 8.703 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/0.4927, allocations: 2.761 MB / 0.5947 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006342/0.4934, allocations: 0.504 MB / 0.5952 GB, free: 5.535 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.4948, allocations: 0.9052 MB / 0.5961 GB, free: 4.617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.495, allocations: 367.5 kB / 0.5964 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.4973, allocations: 1.355 MB / 0.5977 GB, free: 2.891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/0.5016, allocations: 4.118 MB / 0.6018 GB, free: 13.38 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006953/0.5086, allocations: 5.956 MB / 0.6076 GB, free: 6.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/0.5087, allocations: 28 kB / 0.6076 GB, free: 6.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009416/0.5181, allocations: 5.303 MB / 0.6128 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.5183, allocations: 50.44 kB / 0.6128 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/0.5185, allocations: 100 kB / 0.6129 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002194/0.5187, allocations: 128 kB / 0.613 GB, free: 456 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/0.5219, allocations: 0.9747 MB / 0.614 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001723/0.5221, allocations: 191.3 kB / 0.6142 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003051/0.5251, allocations: 0.6208 MB / 0.6148 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/0.5256, allocations: 280 kB / 0.6151 GB, free: 14.38 MB / 462.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.003004/0.5286, allocations: 1.895 MB / 0.6169 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.529, allocations: 226.5 kB / 0.6171 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.5296, allocations: 271.4 kB / 0.6174 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.5296, allocations: 3.984 kB / 0.6174 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5296, allocations: 0 / 0.6174 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.5301, allocations: 301.1 kB / 0.6177 GB, free: 11.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/0.5305, allocations: 19.94 kB / 0.6177 GB, free: 11.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006872/0.5312, allocations: 35.95 kB / 0.6177 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.5314, allocations: 48.58 kB / 0.6178 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002086/0.5335, allocations: 1.48 MB / 0.6192 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002075/0.5356, allocations: 1.733 MB / 0.6209 GB, free: 8.324 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008201/0.5364, allocations: 0.6575 MB / 0.6216 GB, free: 7.672 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002764/0.5392, allocations: 1.564 MB / 0.6231 GB, free: 6.094 MB / 462.1 MB Notification: Performance of Backend: time 4.31e-07/0.5392, allocations: 4 kB / 0.6231 GB, free: 6.09 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005003/0.5442, allocations: 2.619 MB / 0.6256 GB, free: 3.492 MB / 462.1 MB Notification: Performance of SimCode: time 0.01331/0.5575, allocations: 7.554 MB / 0.633 GB, free: 11.88 MB / 478.1 MB Notification: Performance of Templates: time 0.0513/0.6089, allocations: 24.83 MB / 0.6573 GB, free: 3.059 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)