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.001537/0.001537, allocations: 185.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.198/2.198, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00109/0.001089, allocations: 92.17 kB / 270.9 MB, free: 8.359 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.4968/0.4968, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006142/0.0006144, allocations: 12 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1215, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5755, allocations: 96.49 MB / 0.5729 GB, free: 6.051 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5758, allocations: 79.97 kB / 0.573 GB, free: 5.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2874/0.8632, allocations: 68.65 MB / 0.6401 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.8633, allocations: 3.938 kB / 0.6401 GB, free: 0.7266 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001599/0.8634, allocations: 67.94 kB / 0.6401 GB, free: 0.6602 MB / 458.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.01094/0.8744, allocations: 3.146 MB / 0.6432 GB, free: 13.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.8745, allocations: 8.031 kB / 0.6432 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02528/0.8998, allocations: 3.286 MB / 0.6464 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/0.9074, allocations: 2.071 MB / 0.6484 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.9079, allocations: 272.2 kB / 0.6487 GB, free: 7.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002349/0.9102, allocations: 355.9 kB / 0.649 GB, free: 7.422 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/0.9391, allocations: 9.065 MB / 0.6579 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001541/0.9393, allocations: 15.81 kB / 0.6579 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/0.941, allocations: 167.9 kB / 0.6581 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002336/0.9434, allocations: 1.045 MB / 0.6591 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02683/0.9703, allocations: 8.644 MB / 0.6675 GB, free: 4.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.384/1.354, allocations: 29.22 MB / 0.6961 GB, free: 90.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007696/1.362, allocations: 3.05 MB / 0.699 GB, free: 89.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/1.376, allocations: 4.881 MB / 0.7038 GB, free: 87.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/1.377, allocations: 41.8 kB / 0.7039 GB, free: 87.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 5.8e-06/1.377, allocations: 0 / 0.7039 GB, free: 87.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.01053/1.387, allocations: 3.238 MB / 0.707 GB, free: 86.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/1.387, allocations: 64.31 kB / 0.7071 GB, free: 86.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004849/1.392, allocations: 2.29 MB / 0.7093 GB, free: 86.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/1.392, allocations: 39.73 kB / 0.7094 GB, free: 86.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/1.394, allocations: 2.656 MB / 0.7119 GB, free: 85.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007075/1.395, allocations: 0.4896 MB / 0.7124 GB, free: 84.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/1.395, allocations: 83.2 kB / 0.7125 GB, free: 84.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002944/1.396, allocations: 0.5024 MB / 0.713 GB, free: 84.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002909/1.399, allocations: 1.336 MB / 0.7143 GB, free: 84.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004495/1.403, allocations: 4.08 MB / 0.7183 GB, free: 81.04 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00497/1.408, allocations: 2.351 MB / 0.7206 GB, free: 80.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.296e-05/1.408, allocations: 30.22 kB / 0.7206 GB, free: 80.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01386/1.422, allocations: 5.198 MB / 0.7257 GB, free: 78.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.422, allocations: 49.31 kB / 0.7257 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.423, allocations: 97.75 kB / 0.7258 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/1.423, allocations: 142.3 kB / 0.726 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005968/1.429, allocations: 0.972 MB / 0.7269 GB, free: 78.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002972/1.429, allocations: 192.9 kB / 0.7271 GB, free: 78.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/1.434, allocations: 0.6019 MB / 0.7277 GB, free: 78.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.435, allocations: 277.5 kB / 0.7279 GB, free: 78.35 MB / 490.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 (538): * Single equations (assignments): 532 * 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.005471/1.44, allocations: 1.889 MB / 0.7298 GB, free: 77.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/1.441, allocations: 212.3 kB / 0.73 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008348/1.442, allocations: 269.8 kB / 0.7302 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.312e-05/1.442, allocations: 18.48 kB / 0.7303 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/1.442, allocations: 0.75 kB / 0.7303 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.442, allocations: 8.703 kB / 0.7303 GB, free: 77.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.458, allocations: 5.635 MB / 0.7358 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/1.459, allocations: 9.484 kB / 0.7358 GB, free: 75.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/1.46, allocations: 136.4 kB / 0.7359 GB, free: 75.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/1.46, allocations: 7.625 kB / 0.7359 GB, free: 75.15 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.31e-05/1.46, allocations: 24.98 kB / 0.7359 GB, free: 75.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/1.46, allocations: 7.984 kB / 0.736 GB, free: 75.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/1.46, allocations: 11.38 kB / 0.736 GB, free: 75.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/1.463, allocations: 2.111 MB / 0.738 GB, free: 73.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/1.464, allocations: 301.2 kB / 0.7383 GB, free: 73.62 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004011/1.464, allocations: 21.27 kB / 0.7383 GB, free: 73.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/1.466, allocations: 41.16 kB / 0.7384 GB, free: 73.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.466, allocations: 60.78 kB / 0.7384 GB, free: 73.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.466, allocations: 37.91 kB / 0.7385 GB, free: 73.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003861/1.47, allocations: 1.547 MB / 0.74 GB, free: 73.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.784e-06/1.47, allocations: 4 kB / 0.74 GB, free: 73.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00492/1.475, allocations: 1.016 MB / 0.741 GB, free: 72.71 MB / 490.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.0004175/1.475, allocations: 142.8 kB / 0.7411 GB, free: 72.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00655/1.482, allocations: 3.105 MB / 0.7441 GB, free: 71.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.482, allocations: 448 / 0.7441 GB, free: 71.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001287/1.483, allocations: 0.7402 MB / 0.7449 GB, free: 71.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.485, allocations: 238.4 kB / 0.7451 GB, free: 71.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0181/1.503, allocations: 9.183 MB / 0.7541 GB, free: 66.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004734/1.508, allocations: 3.052 MB / 0.757 GB, free: 65.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009798/1.509, allocations: 194.6 kB / 0.7572 GB, free: 65.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/1.509, allocations: 0 / 0.7572 GB, free: 65.13 MB / 490.7 MB Notification: Performance of Templates: time 0.07804/1.587, allocations: 40.81 MB / 0.7971 GB, free: 45.12 MB / 490.7 MB 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)