Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007656/0.0007657, allocations: 106.3 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3112/0.3112, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003904, allocations: 8 kB / 432 MB, free: 5.828 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 58.85 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.224/0.3474, allocations: 25.89 MB / 0.5046 GB, free: 32.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.3592, allocations: 5.325 MB / 0.5098 GB, free: 28.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005045/0.3643, allocations: 110.9 kB / 0.5099 GB, free: 28.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004135/0.3684, allocations: 1.266 MB / 0.5111 GB, free: 28.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.3795, allocations: 3.527 MB / 0.5146 GB, free: 26.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.381, allocations: 85.38 kB / 0.5147 GB, free: 26.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003706/0.3848, allocations: 3.132 MB / 0.5177 GB, free: 25.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003385/0.3882, allocations: 2.25 MB / 0.5199 GB, free: 24.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001736/0.39, allocations: 0.8926 MB / 0.5208 GB, free: 24.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.3918, allocations: 1.383 MB / 0.5221 GB, free: 23.83 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.3923, allocations: 117.8 kB / 0.5223 GB, free: 23.83 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.3934, allocations: 414.6 kB / 0.5226 GB, free: 23.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001036/0.3944, allocations: 1.272 MB / 0.5239 GB, free: 23.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.3958, allocations: 1.548 MB / 0.5254 GB, free: 22.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003802/0.3996, allocations: 4.151 MB / 0.5295 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.196e-05/0.3997, allocations: 3.938 kB / 0.5295 GB, free: 21.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3997, allocations: 0 / 0.5295 GB, free: 21.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002347/0.4, allocations: 0 / 0.5295 GB, free: 21.36 MB / 378.7 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.005308/0.4053, allocations: 2.931 MB / 0.5323 GB, free: 19.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4053, allocations: 6.953 kB / 0.5323 GB, free: 19.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009308/0.4147, allocations: 3.03 MB / 0.5353 GB, free: 19.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.4179, allocations: 1.523 MB / 0.5368 GB, free: 18.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.4181, allocations: 175.9 kB / 0.5369 GB, free: 18.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007543/0.4188, allocations: 218.2 kB / 0.5372 GB, free: 18.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01518/0.434, allocations: 9.464 MB / 0.5464 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.43e-05/0.4341, allocations: 18.47 kB / 0.5464 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004923/0.4346, allocations: 108.2 kB / 0.5465 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003705/0.4384, allocations: 2.38 MB / 0.5488 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.4539, allocations: 8.628 MB / 0.5573 GB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04273/0.4966, allocations: 29.33 MB / 0.5859 GB, free: 7.785 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004995/0.5017, allocations: 3.038 MB / 0.5889 GB, free: 4.527 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.5032, allocations: 0.9804 MB / 0.5898 GB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008771/0.512, allocations: 4.851 MB / 0.5946 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.5121, allocations: 43.16 kB / 0.5946 GB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=126): time 5.36e-06/0.5121, allocations: 0 / 0.5946 GB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=126): time 0.005917/0.518, allocations: 2.717 MB / 0.5973 GB, free: 11.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.5181, allocations: 60.06 kB / 0.5973 GB, free: 11.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.5222, allocations: 2.554 MB / 0.5998 GB, free: 9.016 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001786/0.5224, allocations: 41.64 kB / 0.5999 GB, free: 8.969 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.5245, allocations: 2.649 MB / 0.6024 GB, free: 6.281 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006635/0.5252, allocations: 0.4938 MB / 0.6029 GB, free: 5.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.5254, allocations: 88 kB / 0.603 GB, free: 5.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/0.5258, allocations: 0.5515 MB / 0.6035 GB, free: 5.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.5279, allocations: 1.34 MB / 0.6049 GB, free: 3.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003995/0.5319, allocations: 4.099 MB / 0.6089 GB, free: 14.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006684/0.5386, allocations: 5.94 MB / 0.6147 GB, free: 6.977 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.552e-05/0.5387, allocations: 28 kB / 0.6147 GB, free: 6.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009501/0.5482, allocations: 5.251 MB / 0.6198 GB, free: 1.691 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.497e-05/0.5484, allocations: 48 kB / 0.6199 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.5485, allocations: 96.91 kB / 0.6199 GB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.5486, allocations: 128 kB / 0.6201 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/0.5516, allocations: 0.9825 MB / 0.621 GB, free: 452 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001773/0.5518, allocations: 187.3 kB / 0.6212 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/0.5549, allocations: 0.5992 MB / 0.6218 GB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005096/0.5554, allocations: 276 kB / 0.6221 GB, free: 15.38 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003325/0.5588, allocations: 1.895 MB / 0.6239 GB, free: 13.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.5592, allocations: 217.2 kB / 0.6241 GB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005732/0.5597, allocations: 271.4 kB / 0.6244 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.766e-05/0.5598, allocations: 16 kB / 0.6244 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5598, allocations: 0 / 0.6244 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.5598, allocations: 3.984 kB / 0.6244 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009457/0.5693, allocations: 5.607 MB / 0.6299 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.5694, allocations: 4 kB / 0.6299 GB, free: 7.234 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.5699, allocations: 147.7 kB / 0.63 GB, free: 7.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.57, allocations: 8 kB / 0.63 GB, free: 7.082 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.971e-05/0.57, allocations: 27.98 kB / 0.63 GB, free: 7.055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/0.5701, allocations: 8 kB / 0.6301 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.283e-06/0.5701, allocations: 7.938 kB / 0.6301 GB, free: 7.039 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.5723, allocations: 1.784 MB / 0.6318 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/0.5729, allocations: 298 kB / 0.6321 GB, free: 4.867 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.5731, allocations: 20 kB / 0.6321 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005371/0.5736, allocations: 39.94 kB / 0.6321 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.5737, allocations: 60.38 kB / 0.6322 GB, free: 4.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/0.5738, allocations: 39.98 kB / 0.6322 GB, free: 4.711 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002503/0.5763, allocations: 1.549 MB / 0.6338 GB, free: 3.148 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5764, allocations: 0 / 0.6338 GB, free: 3.148 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003948/0.5803, allocations: 1.015 MB / 0.6347 GB, free: 2.129 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003892/0.5807, allocations: 140.6 kB / 0.6349 GB, free: 1.984 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005112/0.5858, allocations: 3.117 MB / 0.6379 GB, free: 14.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.5859, allocations: 0 / 0.6379 GB, free: 14.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009532/0.5869, allocations: 0.7413 MB / 0.6386 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.5895, allocations: 246.9 kB / 0.6389 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01633/0.6058, allocations: 9.249 MB / 0.6479 GB, free: 4.582 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00463/0.6105, allocations: 2.97 MB / 0.6508 GB, free: 1.586 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007414/0.6113, allocations: 191.4 kB / 0.651 GB, free: 1.398 MB / 474.7 MB Notification: Performance of SimCode: time 3.406e-06/0.6113, allocations: 0 / 0.651 GB, free: 1.398 MB / 474.7 MB Notification: Performance of Templates: time 0.2653/0.8766, allocations: 41.22 MB / 0.6912 GB, free: 153.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus --alarm=480 > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)