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.001287/0.001287, allocations: 101.8 kB / 16.27 MB, free: 5.973 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.001212/0.001212, allocations: 184.6 kB / 17.19 MB, free: 5.609 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.559/1.559, allocations: 205.1 MB / 223.1 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.2211/0.2211, allocations: 43.53 MB / 313.9 MB, free: 0.5312 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.001428/0.001428, allocations: 71.03 kB / 382.7 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0113/0.1297, allocations: 11.28 MB / 451.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007139/0.1369, allocations: 2.785 MB / 454.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00252/0.1394, allocations: 55.94 kB / 454.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.1424, allocations: 1.308 MB / 455.9 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.1457, allocations: 1.214 MB / 457.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1462, allocations: 79.86 kB / 457.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003826/0.1501, allocations: 2.748 MB / 460 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/0.153, allocations: 1.852 MB / 461.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.1548, allocations: 1.055 MB / 462.9 MB, free: 436 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.1572, allocations: 1.456 MB / 464.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007509/0.1579, allocations: 208 kB / 464.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.1595, allocations: 491.4 kB / 465 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001911/0.1614, allocations: 1.402 MB / 466.4 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002747/0.1642, allocations: 1.723 MB / 468.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006577/0.1708, allocations: 5.201 MB / 473.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1708, allocations: 0 / 473.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1708, allocations: 0 / 473.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000238/0.1711, allocations: 4 kB / 473.4 MB, free: 5.918 MB / 350.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.008217/0.1793, allocations: 3.601 MB / 477 MB, free: 2.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1793, allocations: 15.89 kB / 477 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.1895, allocations: 2.932 MB / 479.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00338/0.1929, allocations: 1.537 MB / 481.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.1931, allocations: 172.6 kB / 481.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009404/0.194, allocations: 228 kB / 481.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.2121, allocations: 9.468 MB / 491.3 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.05e-05/0.2123, allocations: 19.81 kB / 491.3 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008256/0.2131, allocations: 107.8 kB / 491.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00403/0.2172, allocations: 2.369 MB / 493.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.235, allocations: 8.668 MB / 0.4907 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/0.2822, allocations: 29.3 MB / 0.5193 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005464/0.2877, allocations: 3.053 MB / 0.5223 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.2893, allocations: 0.9766 MB / 0.5232 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008877/0.2982, allocations: 4.837 MB / 0.528 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.2982, allocations: 39.22 kB / 0.528 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=126): time 4.819e-06/0.2982, allocations: 0 / 0.528 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of matching and sorting (n=126): time 0.2525/0.5507, allocations: 2.73 MB / 0.5307 GB, free: 88.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.5508, allocations: 61.25 kB / 0.5307 GB, free: 88.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.5548, allocations: 2.568 MB / 0.5332 GB, free: 87.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.967e-05/0.5549, allocations: 37.78 kB / 0.5333 GB, free: 87.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.5568, allocations: 2.66 MB / 0.5359 GB, free: 86.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004894/0.5573, allocations: 497.1 kB / 0.5363 GB, free: 85.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001296/0.5586, allocations: 0.897 MB / 0.5372 GB, free: 85.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.5588, allocations: 358.9 kB / 0.5376 GB, free: 85.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002079/0.5609, allocations: 1.354 MB / 0.5389 GB, free: 84.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003493/0.5644, allocations: 4.121 MB / 0.5429 GB, free: 80.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.5708, allocations: 5.966 MB / 0.5487 GB, free: 75.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.771e-05/0.5709, allocations: 27.5 kB / 0.5488 GB, free: 75.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.006936/0.5778, allocations: 5.286 MB / 0.5539 GB, free: 73.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.5779, allocations: 53.16 kB / 0.554 GB, free: 73.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.152e-05/0.578, allocations: 97.88 kB / 0.5541 GB, free: 73.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.255e-05/0.5781, allocations: 128.2 kB / 0.5542 GB, free: 73.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/0.5804, allocations: 0.9786 MB / 0.5551 GB, free: 73.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001247/0.5805, allocations: 193.8 kB / 0.5553 GB, free: 73.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/0.5832, allocations: 0.5902 MB / 0.5559 GB, free: 73.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003212/0.5836, allocations: 282.4 kB / 0.5562 GB, free: 73.09 MB / 414.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.002218/0.5858, allocations: 1.895 MB / 0.558 GB, free: 72.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.5861, allocations: 219.8 kB / 0.5582 GB, free: 72.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.5864, allocations: 277 kB / 0.5585 GB, free: 71.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.5865, allocations: 15.67 kB / 0.5585 GB, free: 71.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/0.5865, allocations: 2.25 kB / 0.5585 GB, free: 71.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.5865, allocations: 11.64 kB / 0.5585 GB, free: 71.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/0.593, allocations: 5.613 MB / 0.564 GB, free: 67.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.593, allocations: 4 kB / 0.564 GB, free: 67.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.5935, allocations: 134.5 kB / 0.5641 GB, free: 67.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.5935, allocations: 8 kB / 0.5641 GB, free: 67.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.5936, allocations: 21.22 kB / 0.5642 GB, free: 66.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.5936, allocations: 16.25 kB / 0.5642 GB, free: 66.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5936, allocations: 4 kB / 0.5642 GB, free: 66.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.5951, allocations: 1.788 MB / 0.5659 GB, free: 65.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004356/0.5956, allocations: 285.3 kB / 0.5662 GB, free: 64.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.5958, allocations: 18.97 kB / 0.5662 GB, free: 64.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.5964, allocations: 38.97 kB / 0.5663 GB, free: 64.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/0.5965, allocations: 66.62 kB / 0.5663 GB, free: 64.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.5966, allocations: 41.41 kB / 0.5664 GB, free: 64.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001624/0.5982, allocations: 1.563 MB / 0.5679 GB, free: 63.33 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5982, allocations: 0 / 0.5679 GB, free: 63.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003116/0.6013, allocations: 1.006 MB / 0.5689 GB, free: 62.32 MB / 414.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.0002588/0.6016, allocations: 144.1 kB / 0.569 GB, free: 62.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004991/0.6066, allocations: 3.96 MB / 0.5729 GB, free: 58.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6066, allocations: 0 / 0.5729 GB, free: 58.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.6073, allocations: 0.7464 MB / 0.5736 GB, free: 57.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.6085, allocations: 251.8 kB / 0.5738 GB, free: 57.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.6193, allocations: 7.248 MB / 0.5809 GB, free: 49.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004678/0.624, allocations: 2.964 MB / 0.5838 GB, free: 46.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003168/0.6272, allocations: 1.485 MB / 0.5853 GB, free: 45.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.6277, allocations: 159.4 kB / 0.5854 GB, free: 45.34 MB / 414.1 MB Notification: Performance of SimCode: time 1.232e-06/0.6277, allocations: 0 / 0.5854 GB, free: 45.34 MB / 414.1 MB Notification: Performance of Templates: time 0.03847/0.6662, allocations: 18.48 MB / 0.6035 GB, free: 26.98 MB / 414.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)