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.001557/0.001557, allocations: 113 kB / 17.08 MB, free: 6.016 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.001692/0.001692, allocations: 199 kB / 18.01 MB, free: 5.094 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.417/1.417, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.2188/0.2188, allocations: 43.53 MB / 314.8 MB, free: 476 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.001809/0.001809, allocations: 64.22 kB / 442.5 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1133, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0124/0.1258, allocations: 11.28 MB / 0.4995 GB, free: 500 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.1321, allocations: 2.793 MB / 0.5023 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.1338, allocations: 55.94 kB / 0.5023 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.1367, allocations: 1.308 MB / 0.5036 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.1398, allocations: 1.214 MB / 0.5048 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.1403, allocations: 75.84 kB / 0.5049 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.144, allocations: 2.763 MB / 0.5076 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002826/0.1469, allocations: 1.848 MB / 0.5094 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.1489, allocations: 1.047 MB / 0.5104 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.1514, allocations: 1.452 MB / 0.5118 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008527/0.1523, allocations: 208 kB / 0.512 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.154, allocations: 495.4 kB / 0.5125 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.1558, allocations: 1.41 MB / 0.5138 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002855/0.1587, allocations: 1.719 MB / 0.5155 GB, free: 32 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006702/0.1654, allocations: 5.491 MB / 0.5209 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1654, allocations: 0 / 0.5209 GB, free: 10.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1654, allocations: 0 / 0.5209 GB, free: 10.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002446/0.1657, allocations: 0 / 0.5209 GB, free: 10.52 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.008926/0.1746, allocations: 3.608 MB / 0.5244 GB, free: 6.852 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.1747, allocations: 11.89 kB / 0.5244 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009604/0.1843, allocations: 2.944 MB / 0.5273 GB, free: 3.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.188, allocations: 1.537 MB / 0.5288 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.1882, allocations: 172.6 kB / 0.529 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009511/0.1892, allocations: 224 kB / 0.5292 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2406/0.4298, allocations: 9.462 MB / 0.5384 GB, free: 34.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/0.4299, allocations: 22.81 kB / 0.5384 GB, free: 34.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/0.4302, allocations: 113 kB / 0.5385 GB, free: 34.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003952/0.4342, allocations: 2.372 MB / 0.5409 GB, free: 34.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.4517, allocations: 8.664 MB / 0.5493 GB, free: 31.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03556/0.4873, allocations: 29.09 MB / 0.5777 GB, free: 7.641 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/0.4915, allocations: 3.06 MB / 0.5807 GB, free: 4.348 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.4926, allocations: 0.9765 MB / 0.5817 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007553/0.5002, allocations: 4.827 MB / 0.5864 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.5003, allocations: 43.22 kB / 0.5864 GB, free: 14.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 4.288e-06/0.5003, allocations: 0 / 0.5864 GB, free: 14.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006346/0.5066, allocations: 2.732 MB / 0.5891 GB, free: 11.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.5067, allocations: 60.06 kB / 0.5892 GB, free: 11.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00365/0.5104, allocations: 2.573 MB / 0.5917 GB, free: 8.832 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.5105, allocations: 41.69 kB / 0.5917 GB, free: 8.785 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.5123, allocations: 2.645 MB / 0.5943 GB, free: 6.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/0.5128, allocations: 0.4898 MB / 0.5948 GB, free: 5.605 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.5139, allocations: 0.8967 MB / 0.5956 GB, free: 4.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.514, allocations: 363.5 kB / 0.596 GB, free: 4.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.5159, allocations: 1.355 MB / 0.5973 GB, free: 2.973 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/0.5196, allocations: 4.122 MB / 0.6013 GB, free: 13.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006921/0.5265, allocations: 5.956 MB / 0.6072 GB, free: 6.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.163e-05/0.5267, allocations: 28 kB / 0.6072 GB, free: 6.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01053/0.5372, allocations: 5.29 MB / 0.6123 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.5373, allocations: 47.94 kB / 0.6124 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/0.5375, allocations: 100 kB / 0.6125 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/0.5376, allocations: 131.8 kB / 0.6126 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.5408, allocations: 0.9787 MB / 0.6136 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001404/0.5409, allocations: 188.1 kB / 0.6137 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.5438, allocations: 0.6034 MB / 0.6143 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004136/0.5443, allocations: 272 kB / 0.6146 GB, free: 14.5 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.002724/0.547, allocations: 1.903 MB / 0.6165 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.5473, allocations: 213.2 kB / 0.6167 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000491/0.5478, allocations: 271.4 kB / 0.6169 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.5479, allocations: 16 kB / 0.6169 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.5479, allocations: 0 / 0.6169 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.5479, allocations: 7.984 kB / 0.6169 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008614/0.5565, allocations: 5.606 MB / 0.6224 GB, free: 6.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.5566, allocations: 7.984 kB / 0.6224 GB, free: 6.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/0.5572, allocations: 136.4 kB / 0.6226 GB, free: 6.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.194e-05/0.5572, allocations: 12 kB / 0.6226 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.5573, allocations: 27.98 kB / 0.6226 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/0.5573, allocations: 15.92 kB / 0.6226 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.5573, allocations: 4 kB / 0.6226 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.5594, allocations: 1.792 MB / 0.6244 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.5599, allocations: 286 kB / 0.6246 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.5602, allocations: 24 kB / 0.6247 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.5608, allocations: 35.95 kB / 0.6247 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.561, allocations: 72.36 kB / 0.6248 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.561, allocations: 39.98 kB / 0.6248 GB, free: 3.812 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00218/0.5632, allocations: 1.556 MB / 0.6263 GB, free: 2.242 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5632, allocations: 0 / 0.6263 GB, free: 2.242 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003429/0.5667, allocations: 1.006 MB / 0.6273 GB, free: 1.234 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.000347/0.567, allocations: 153.5 kB / 0.6274 GB, free: 1.078 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004472/0.5715, allocations: 3.15 MB / 0.6305 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.5716, allocations: 4 kB / 0.6305 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.5724, allocations: 0.7425 MB / 0.6313 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.5738, allocations: 254 kB / 0.6315 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01257/0.5864, allocations: 7.595 MB / 0.6389 GB, free: 5.285 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003359/0.5898, allocations: 2.973 MB / 0.6418 GB, free: 2.285 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/0.5904, allocations: 191.4 kB / 0.642 GB, free: 2.098 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5904, allocations: 0 / 0.642 GB, free: 2.098 MB / 478.1 MB Notification: Performance of Templates: time 0.06604/0.6565, allocations: 42.96 MB / 0.684 GB, free: 7.125 MB / 0.5137 GB 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)