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.008938/0.008938, allocations: 102 kB / 15.73 MB, free: 6.039 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.001666/0.001666, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.649/1.649, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2333/0.2333, allocations: 39.96 MB / 309.9 MB, free: 4.004 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.001599/0.001599, allocations: 76.72 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1497, allocations: 56.88 MB / 492.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01608/0.1658, allocations: 11.3 MB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.1732, allocations: 2.781 MB / 0.4948 GB, free: 4.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.1752, allocations: 55.88 kB / 0.4949 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.178, allocations: 1.312 MB / 0.4962 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.1813, allocations: 1.21 MB / 0.4974 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.1817, allocations: 79.83 kB / 0.4974 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004125/0.1858, allocations: 2.751 MB / 0.5001 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.1881, allocations: 1.856 MB / 0.5019 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.1898, allocations: 1.047 MB / 0.503 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.1922, allocations: 1.456 MB / 0.5044 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004806/0.1927, allocations: 208 kB / 0.5046 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.1938, allocations: 499.3 kB / 0.505 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.1953, allocations: 1.406 MB / 0.5064 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001932/0.1973, allocations: 1.715 MB / 0.5081 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007868/0.2051, allocations: 5.483 MB / 0.5134 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.2052, allocations: 0 / 0.5134 GB, free: 1.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2052, allocations: 4 kB / 0.5135 GB, free: 1.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001819/0.2054, allocations: 4 kB / 0.5135 GB, free: 1.465 MB / 398.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.2984/0.5038, allocations: 3.597 MB / 0.517 GB, free: 30.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5039, allocations: 16.61 kB / 0.517 GB, free: 30.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.5147, allocations: 2.938 MB / 0.5199 GB, free: 30.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005002/0.5197, allocations: 1.533 MB / 0.5214 GB, free: 29.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003197/0.5201, allocations: 173.6 kB / 0.5215 GB, free: 29.21 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009781/0.5211, allocations: 227.1 kB / 0.5217 GB, free: 29.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02021/0.5413, allocations: 9.468 MB / 0.531 GB, free: 25.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.211e-05/0.5414, allocations: 15.78 kB / 0.531 GB, free: 25.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004235/0.5419, allocations: 115.7 kB / 0.5311 GB, free: 25.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004221/0.5461, allocations: 2.38 MB / 0.5334 GB, free: 24.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.5646, allocations: 8.671 MB / 0.5419 GB, free: 17.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04353/0.6082, allocations: 29.08 MB / 0.5703 GB, free: 3.977 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/0.6141, allocations: 3.045 MB / 0.5733 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.616, allocations: 0.981 MB / 0.5742 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.628, allocations: 4.835 MB / 0.579 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.14e-05/0.6282, allocations: 43.2 kB / 0.579 GB, free: 10.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 7.814e-06/0.6282, allocations: 0 / 0.579 GB, free: 10.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.006843/0.635, allocations: 2.728 MB / 0.5817 GB, free: 7.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.6351, allocations: 64.06 kB / 0.5817 GB, free: 7.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00556/0.6407, allocations: 2.569 MB / 0.5842 GB, free: 5.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002336/0.641, allocations: 41.69 kB / 0.5843 GB, free: 5.117 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002697/0.6437, allocations: 2.645 MB / 0.5868 GB, free: 2.434 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008593/0.6446, allocations: 493.8 kB / 0.5873 GB, free: 1.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001463/0.646, allocations: 0.9045 MB / 0.5882 GB, free: 1.027 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002749/0.6463, allocations: 355.3 kB / 0.5885 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.6486, allocations: 1.355 MB / 0.5899 GB, free: 15.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.6528, allocations: 4.118 MB / 0.5939 GB, free: 9.805 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007534/0.6604, allocations: 5.964 MB / 0.5997 GB, free: 2.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.158e-05/0.6605, allocations: 28 kB / 0.5997 GB, free: 2.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009032/0.6695, allocations: 5.291 MB / 0.6049 GB, free: 13.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.6696, allocations: 48 kB / 0.605 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001104/0.6697, allocations: 100 kB / 0.605 GB, free: 12.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/0.6699, allocations: 128 kB / 0.6052 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/0.6726, allocations: 0.9786 MB / 0.6061 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001454/0.6728, allocations: 191.2 kB / 0.6063 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.6759, allocations: 0.6028 MB / 0.6069 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003682/0.6763, allocations: 280.2 kB / 0.6072 GB, free: 10.82 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.003066/0.6793, allocations: 1.903 MB / 0.609 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.6798, allocations: 220 kB / 0.6092 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.6802, allocations: 267.4 kB / 0.6095 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.6803, allocations: 19.98 kB / 0.6095 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.6803, allocations: 0 / 0.6095 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.6803, allocations: 3.984 kB / 0.6095 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009817/0.6901, allocations: 5.614 MB / 0.615 GB, free: 2.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.6902, allocations: 7.938 kB / 0.615 GB, free: 2.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.6908, allocations: 139.8 kB / 0.6151 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.268e-05/0.6908, allocations: 8 kB / 0.6151 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.6909, allocations: 20.56 kB / 0.6152 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.6909, allocations: 12 kB / 0.6152 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6909, allocations: 7.938 kB / 0.6152 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.6934, allocations: 1.788 MB / 0.6169 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.694, allocations: 294 kB / 0.6172 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.6942, allocations: 16 kB / 0.6172 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.6948, allocations: 35.95 kB / 0.6173 GB, free: 256 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.6949, allocations: 68.36 kB / 0.6173 GB, free: 188 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.688e-05/0.695, allocations: 40 kB / 0.6174 GB, free: 148 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002367/0.6974, allocations: 1.56 MB / 0.6189 GB, free: 14.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6974, allocations: 0 / 0.6189 GB, free: 14.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004554/0.7019, allocations: 1.002 MB / 0.6199 GB, free: 13.57 MB / 478.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.0004717/0.7024, allocations: 148.4 kB / 0.62 GB, free: 13.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005576/0.708, allocations: 3.15 MB / 0.6231 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.708, allocations: 0 / 0.6231 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008425/0.7089, allocations: 0.7398 MB / 0.6238 GB, free: 9.551 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.7102, allocations: 273.7 kB / 0.6241 GB, free: 9.289 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.7254, allocations: 7.168 MB / 0.6311 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004913/0.7304, allocations: 2.962 MB / 0.634 GB, free: 15.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003505/0.7339, allocations: 1.484 MB / 0.6354 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006382/0.7346, allocations: 159.4 kB / 0.6356 GB, free: 13.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.7346, allocations: 0 / 0.6356 GB, free: 13.4 MB / 494.1 MB Notification: Performance of Templates: time 0.04547/0.7801, allocations: 16.02 MB / 0.6512 GB, free: 13.41 MB / 0.4981 GB 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)