Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.009165/0.009165, allocations: 99.94 kB / 15.73 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.001775/0.001775, allocations: 198.9 kB / 16.68 MB, free: 5.93 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.687/1.687, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3207/0.3207, allocations: 38 MB / 307.9 MB, free: 9.953 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.1. 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.002405/0.002405, allocations: 67.91 kB / 433 MB, free: 5.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.37, allocations: 56.46 MB / 489.4 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.0112/0.3812, allocations: 11.28 MB / 0.489 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008856/0.3901, allocations: 2.79 MB / 0.4917 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.394, allocations: 53.03 kB / 0.4918 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003533/0.3976, allocations: 1.305 MB / 0.493 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.4024, allocations: 1.252 MB / 0.4943 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.403, allocations: 84.03 kB / 0.4943 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00626/0.4093, allocations: 2.754 MB / 0.497 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002915/0.4123, allocations: 1.853 MB / 0.4988 GB, free: 6.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.4143, allocations: 1.05 MB / 0.4999 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.4163, allocations: 1.448 MB / 0.5013 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000542/0.4169, allocations: 212.4 kB / 0.5015 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.418, allocations: 498 kB / 0.502 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.4192, allocations: 1.415 MB / 0.5033 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.4206, allocations: 1.719 MB / 0.505 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006445/0.4271, allocations: 5.483 MB / 0.5104 GB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4271, allocations: 0 / 0.5104 GB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4271, allocations: 1.625 kB / 0.5104 GB, free: 15.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002296/0.4274, allocations: 0 / 0.5104 GB, free: 15.52 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.006829/0.4342, allocations: 3.613 MB / 0.5139 GB, free: 12.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4342, allocations: 12.83 kB / 0.5139 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00895/0.4432, allocations: 2.938 MB / 0.5168 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/0.447, allocations: 1.531 MB / 0.5183 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.4471, allocations: 172.6 kB / 0.5184 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005906/0.4477, allocations: 231.9 kB / 0.5187 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01738/0.4651, allocations: 9.472 MB / 0.5279 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.006e-05/0.4652, allocations: 19.75 kB / 0.5279 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003709/0.4656, allocations: 107.8 kB / 0.528 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003454/0.469, allocations: 2.377 MB / 0.5304 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02024/0.4893, allocations: 8.66 MB / 0.5388 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0618/0.5512, allocations: 29.08 MB / 0.5672 GB, free: 6.758 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005267/0.5565, allocations: 3.052 MB / 0.5702 GB, free: 3.477 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.5582, allocations: 0.9772 MB / 0.5711 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009631/0.5678, allocations: 4.829 MB / 0.5759 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.5679, allocations: 51.16 kB / 0.5759 GB, free: 13.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=126): time 5.28e-06/0.5679, allocations: 0 / 0.5759 GB, free: 13.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=126): time 0.005898/0.5738, allocations: 2.728 MB / 0.5786 GB, free: 10.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.5739, allocations: 64.06 kB / 0.5786 GB, free: 10.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00467/0.5786, allocations: 2.565 MB / 0.5811 GB, free: 7.945 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/0.5787, allocations: 37.7 kB / 0.5812 GB, free: 7.902 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002047/0.5807, allocations: 2.645 MB / 0.5838 GB, free: 5.219 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006563/0.5814, allocations: 497.7 kB / 0.5842 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.583, allocations: 0.9084 MB / 0.5851 GB, free: 3.805 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.5832, allocations: 357.9 kB / 0.5855 GB, free: 3.449 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.5854, allocations: 1.352 MB / 0.5868 GB, free: 2.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004389/0.5898, allocations: 4.122 MB / 0.5908 GB, free: 12.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008121/0.5979, allocations: 5.968 MB / 0.5966 GB, free: 5.238 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.296e-05/0.598, allocations: 28 kB / 0.5967 GB, free: 5.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01054/0.6086, allocations: 5.282 MB / 0.6018 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.6087, allocations: 47.94 kB / 0.6019 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001862/0.609, allocations: 100.8 kB / 0.602 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.6091, allocations: 131.9 kB / 0.6021 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.6123, allocations: 0.9825 MB / 0.6031 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001824/0.6125, allocations: 187.3 kB / 0.6032 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00384/0.6163, allocations: 0.603 MB / 0.6038 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007162/0.617, allocations: 280 kB / 0.6041 GB, free: 13.59 MB / 494.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.004255/0.6213, allocations: 1.891 MB / 0.6059 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.6218, allocations: 213.2 kB / 0.6061 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.6224, allocations: 275.4 kB / 0.6064 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.723e-05/0.6224, allocations: 16 kB / 0.6064 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.6224, allocations: 0 / 0.6064 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6225, allocations: 3.984 kB / 0.6064 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.6343, allocations: 5.615 MB / 0.6119 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.6344, allocations: 4 kB / 0.6119 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/0.635, allocations: 143.7 kB / 0.612 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.635, allocations: 8 kB / 0.612 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.386e-05/0.6351, allocations: 24 kB / 0.6121 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.6352, allocations: 8 kB / 0.6121 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.6352, allocations: 7.938 kB / 0.6121 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.6379, allocations: 1.784 MB / 0.6138 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000715/0.6387, allocations: 290 kB / 0.6141 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/0.6392, allocations: 24 kB / 0.6141 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.64, allocations: 39.94 kB / 0.6142 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6402, allocations: 64.38 kB / 0.6142 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/0.6403, allocations: 36 kB / 0.6143 GB, free: 2.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003287/0.6436, allocations: 1.56 MB / 0.6158 GB, free: 1.363 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6436, allocations: 4 kB / 0.6158 GB, free: 1.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004818/0.6484, allocations: 1.003 MB / 0.6168 GB, free: 360 kB / 494.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.0003985/0.6488, allocations: 146.9 kB / 0.6169 GB, free: 204 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005702/0.6545, allocations: 3.164 MB / 0.62 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.6546, allocations: 8.125 kB / 0.62 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009471/0.6555, allocations: 0.7335 MB / 0.6207 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.6574, allocations: 269.8 kB / 0.621 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/0.676, allocations: 7.161 MB / 0.628 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005686/0.6818, allocations: 2.958 MB / 0.6309 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00402/0.6858, allocations: 1.488 MB / 0.6323 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005768/0.6864, allocations: 159.4 kB / 0.6325 GB, free: 164 kB / 0.4981 GB Notification: Performance of SimCode: time 1.312e-06/0.6865, allocations: 0 / 0.6325 GB, free: 164 kB / 0.4981 GB Notification: Performance of Templates: time 0.3516/1.038, allocations: 16.53 MB / 0.6486 GB, free: 125.6 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)