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.001352/0.001352, allocations: 113.4 kB / 17.08 MB, free: 6.008 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.001306/0.001306, allocations: 196.1 kB / 18.02 MB, free: 5.086 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.477/1.477, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2235/0.2235, 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.002145/0.002145, allocations: 72.31 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1322, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01346/0.1457, allocations: 11.32 MB / 0.4996 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00688/0.1526, allocations: 2.793 MB / 0.5023 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.1545, allocations: 51.94 kB / 0.5024 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002974/0.1575, allocations: 1.331 MB / 0.5037 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.1607, allocations: 1.253 MB / 0.5049 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.1612, allocations: 75.86 kB / 0.505 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.166, allocations: 2.768 MB / 0.5077 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003199/0.1692, allocations: 1.618 MB / 0.5092 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.1712, allocations: 1.055 MB / 0.5103 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.1733, allocations: 1.448 MB / 0.5117 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005122/0.1738, allocations: 212 kB / 0.5119 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.1749, allocations: 491.4 kB / 0.5124 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.1765, allocations: 1.449 MB / 0.5138 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002053/0.1786, allocations: 1.719 MB / 0.5154 GB, free: 108 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006805/0.1854, allocations: 5.515 MB / 0.5208 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1854, allocations: 0 / 0.5208 GB, free: 10.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1854, allocations: 0 / 0.5208 GB, free: 10.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001079/0.1855, allocations: 0 / 0.5208 GB, free: 10.57 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.005999/0.1915, allocations: 3.707 MB / 0.5245 GB, free: 6.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.1916, allocations: 15.89 kB / 0.5245 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.2024, allocations: 2.962 MB / 0.5274 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004172/0.2066, allocations: 1.538 MB / 0.5289 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.2068, allocations: 172.6 kB / 0.529 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004963/0.2073, allocations: 228 kB / 0.5292 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.278/0.4852, allocations: 9.466 MB / 0.5385 GB, free: 34.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.882e-05/0.4853, allocations: 19.28 kB / 0.5385 GB, free: 34.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003777/0.4857, allocations: 111 kB / 0.5386 GB, free: 34.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00505/0.4907, allocations: 2.373 MB / 0.5409 GB, free: 34.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/0.5087, allocations: 8.666 MB / 0.5494 GB, free: 31.66 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03199/0.5407, allocations: 29.15 MB / 0.5779 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003817/0.5445, allocations: 2.951 MB / 0.5807 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009428/0.5454, allocations: 0.8984 MB / 0.5816 GB, free: 3.438 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008067/0.5535, allocations: 4.842 MB / 0.5863 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.5535, allocations: 35.22 kB / 0.5864 GB, free: 14.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.968e-06/0.5535, allocations: 0 / 0.5864 GB, free: 14.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006491/0.56, allocations: 2.761 MB / 0.5891 GB, free: 11.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.5601, allocations: 56.06 kB / 0.5891 GB, free: 11.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/0.5642, allocations: 2.573 MB / 0.5916 GB, free: 9.023 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.242e-05/0.5643, allocations: 37.7 kB / 0.5917 GB, free: 8.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002536/0.5669, allocations: 2.766 MB / 0.5944 GB, free: 6.316 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006135/0.5675, allocations: 0.5079 MB / 0.5949 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.5687, allocations: 0.9091 MB / 0.5958 GB, free: 4.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.5689, allocations: 359.5 kB / 0.5961 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/0.5709, allocations: 1.359 MB / 0.5974 GB, free: 3.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004716/0.5756, allocations: 4.115 MB / 0.6015 GB, free: 13.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007512/0.5831, allocations: 5.96 MB / 0.6073 GB, free: 6.324 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.501e-05/0.5832, allocations: 31.94 kB / 0.6073 GB, free: 6.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009794/0.593, allocations: 5.296 MB / 0.6125 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/0.5931, allocations: 48 kB / 0.6125 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/0.5932, allocations: 96 kB / 0.6126 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.5933, allocations: 135.8 kB / 0.6127 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.5963, allocations: 0.9787 MB / 0.6137 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001707/0.5965, allocations: 191.3 kB / 0.6139 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.5993, allocations: 0.6129 MB / 0.6145 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003758/0.5997, allocations: 280 kB / 0.6147 GB, free: 14.66 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.003085/0.6028, allocations: 1.899 MB / 0.6166 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/0.6032, allocations: 226.5 kB / 0.6168 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.6037, allocations: 267.4 kB / 0.6171 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.6037, allocations: 16 kB / 0.6171 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.6037, allocations: 0 / 0.6171 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6037, allocations: 3.984 kB / 0.6171 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009205/0.613, allocations: 5.622 MB / 0.6226 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.613, allocations: 4 kB / 0.6226 GB, free: 6.492 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.6136, allocations: 136.4 kB / 0.6227 GB, free: 6.359 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.6136, allocations: 7.984 kB / 0.6227 GB, free: 6.352 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.6136, allocations: 27.98 kB / 0.6227 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-05/0.6137, allocations: 11.94 kB / 0.6228 GB, free: 6.312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.6137, allocations: 8 kB / 0.6228 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/0.6161, allocations: 1.809 MB / 0.6245 GB, free: 4.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005389/0.6166, allocations: 299.2 kB / 0.6248 GB, free: 4.109 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.6168, allocations: 23.98 kB / 0.6248 GB, free: 4.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.6174, allocations: 31.97 kB / 0.6249 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6175, allocations: 68.36 kB / 0.6249 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.6176, allocations: 36 kB / 0.625 GB, free: 3.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002377/0.62, allocations: 1.56 MB / 0.6265 GB, free: 2.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.62, allocations: 0 / 0.6265 GB, free: 2.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003727/0.6237, allocations: 1.02 MB / 0.6275 GB, free: 1.355 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.0003575/0.6241, allocations: 154.9 kB / 0.6276 GB, free: 1.195 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005063/0.6292, allocations: 3.015 MB / 0.6306 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6292, allocations: 0 / 0.6306 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009749/0.6301, allocations: 0.6917 MB / 0.6313 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.6315, allocations: 261.5 kB / 0.6315 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.6448, allocations: 7.286 MB / 0.6386 GB, free: 5.887 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00396/0.6487, allocations: 2.968 MB / 0.6415 GB, free: 2.891 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00348/0.6522, allocations: 1.484 MB / 0.643 GB, free: 1.398 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.6526, allocations: 155.4 kB / 0.6431 GB, free: 1.246 MB / 478.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6526, allocations: 0 / 0.6431 GB, free: 1.246 MB / 478.1 MB Notification: Performance of Templates: time 0.04101/0.6936, allocations: 16.66 MB / 0.6594 GB, free: 0.5977 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 -s cvode -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)