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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002289/0.00229, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.975/1.975, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 97.95 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2979/0.2979, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.418e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4045, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.593, allocations: 95.73 MB / 0.5595 GB, free: 3.457 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.5934, allocations: 79.95 kB / 0.5596 GB, free: 3.379 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3123/0.9057, allocations: 67.21 MB / 0.6252 GB, free: 15.48 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.9058, allocations: 0 / 0.6252 GB, free: 15.48 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.906, allocations: 64 kB / 0.6253 GB, free: 15.42 MB / 475.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.01073/0.9167, allocations: 3.045 MB / 0.6282 GB, free: 12.32 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.9168, allocations: 11.97 kB / 0.6282 GB, free: 12.31 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02514/0.9419, allocations: 3.286 MB / 0.6315 GB, free: 9.012 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008196/0.9502, allocations: 2.075 MB / 0.6335 GB, free: 6.891 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.9505, allocations: 120 kB / 0.6336 GB, free: 6.773 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.9529, allocations: 204 kB / 0.6338 GB, free: 6.574 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0179/0.9709, allocations: 6.406 MB / 0.64 GB, free: 168 kB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3483/1.319, allocations: 8.48 MB / 0.6483 GB, free: 115.1 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/1.32, allocations: 18.5 kB / 0.6483 GB, free: 115.1 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002158/1.322, allocations: 15.67 kB / 0.6484 GB, free: 115.1 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002653/1.324, allocations: 1.052 MB / 0.6494 GB, free: 115.1 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06098/1.385, allocations: 26.65 MB / 0.6754 GB, free: 102.4 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/1.39, allocations: 2.695 MB / 0.678 GB, free: 100.8 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001958/1.392, allocations: 0.8824 MB / 0.6789 GB, free: 100.5 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/1.394, allocations: 1.625 MB / 0.6805 GB, free: 99.03 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.394, allocations: 43.84 kB / 0.6805 GB, free: 98.98 MB / 475.1 MB Notification: Performance of pre-optimization done (n=162): time 5.781e-06/1.394, allocations: 3.906 kB / 0.6805 GB, free: 98.98 MB / 475.1 MB Notification: Performance of matching and sorting (n=162): time 0.00717/1.401, allocations: 2.128 MB / 0.6826 GB, free: 98.38 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.401, allocations: 67.59 kB / 0.6827 GB, free: 98.31 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00474/1.406, allocations: 2.053 MB / 0.6847 GB, free: 97.52 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003073/1.406, allocations: 29.55 kB / 0.6847 GB, free: 97.49 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00207/1.408, allocations: 2.665 MB / 0.6873 GB, free: 95.61 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008924/1.409, allocations: 0.5968 MB / 0.6879 GB, free: 95.16 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004406/1.41, allocations: 3.875 kB / 0.6879 GB, free: 95.16 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.00034/1.41, allocations: 0.5205 MB / 0.6884 GB, free: 94.77 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003207/1.413, allocations: 1.345 MB / 0.6897 GB, free: 94.34 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005259/1.418, allocations: 4.327 MB / 0.6939 GB, free: 89.87 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005418/1.424, allocations: 2.474 MB / 0.6964 GB, free: 89.13 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/1.424, allocations: 31.52 kB / 0.6964 GB, free: 89.12 MB / 475.1 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.01393/1.438, allocations: 4.966 MB / 0.7012 GB, free: 87.48 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.438, allocations: 51.38 kB / 0.7013 GB, free: 87.48 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/1.438, allocations: 106.9 kB / 0.7014 GB, free: 87.48 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/1.439, allocations: 155.8 kB / 0.7015 GB, free: 87.48 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00647/1.445, allocations: 1.073 MB / 0.7026 GB, free: 87.34 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001846/1.445, allocations: 214.9 kB / 0.7028 GB, free: 87.3 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004578/1.45, allocations: 0.5426 MB / 0.7033 GB, free: 86.96 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.451, allocations: 298.7 kB / 0.7036 GB, free: 86.93 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 488 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (594): * Single equations (assignments): 588 * 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.0009454/1.452, allocations: 364.9 kB / 0.704 GB, free: 86.62 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00386/1.456, allocations: 1.788 MB / 0.7057 GB, free: 86.03 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/1.456, allocations: 216.8 kB / 0.7059 GB, free: 85.91 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/1.461, allocations: 2.044 MB / 0.7079 GB, free: 85.22 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/1.461, allocations: 22.16 kB / 0.7079 GB, free: 85.22 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.461, allocations: 0 / 0.7079 GB, free: 85.22 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.461, allocations: 10.78 kB / 0.7079 GB, free: 85.22 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.476, allocations: 6.038 MB / 0.7138 GB, free: 82.98 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/1.477, allocations: 11.84 kB / 0.7138 GB, free: 82.98 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.478, allocations: 202.1 kB / 0.714 GB, free: 82.96 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-05/1.478, allocations: 19.62 kB / 0.7141 GB, free: 82.96 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001256/1.478, allocations: 16.47 kB / 0.7141 GB, free: 82.96 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.742e-05/1.478, allocations: 23.12 kB / 0.7141 GB, free: 82.96 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/1.478, allocations: 17.72 kB / 0.7141 GB, free: 82.95 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00412/1.482, allocations: 2.975 MB / 0.717 GB, free: 80.71 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/1.483, allocations: 299.5 kB / 0.7173 GB, free: 80.41 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/1.484, allocations: 15.47 kB / 0.7173 GB, free: 80.39 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.485, allocations: 30.97 kB / 0.7173 GB, free: 80.38 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000255/1.485, allocations: 97.22 kB / 0.7174 GB, free: 80.3 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.485, allocations: 61.75 kB / 0.7175 GB, free: 80.25 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002787/1.488, allocations: 1.341 MB / 0.7188 GB, free: 79.07 MB / 475.1 MB Notification: Performance of sort global known variables: time 6.31e-07/1.488, allocations: 0 / 0.7188 GB, free: 79.07 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005195/1.493, allocations: 0.9216 MB / 0.7197 GB, free: 78.15 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 106 * 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.005088/1.498, allocations: 6.102 MB / 0.7257 GB, free: 71.97 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.006762/1.505, allocations: 3.232 MB / 0.7288 GB, free: 69.05 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/1.505, allocations: 3.938 kB / 0.7288 GB, free: 69.04 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/1.507, allocations: 0.917 MB / 0.7297 GB, free: 68.22 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.509, allocations: 169.8 kB / 0.7299 GB, free: 68.06 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02343/1.532, allocations: 7.857 MB / 0.7376 GB, free: 61.09 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006285/1.538, allocations: 3.073 MB / 0.7406 GB, free: 58.7 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003683/1.542, allocations: 1.568 MB / 0.7421 GB, free: 57.26 MB / 475.1 MB Notification: Performance of SimCode: time 1.543e-06/1.542, allocations: 0 / 0.7421 GB, free: 57.26 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.802/5.344, allocations: 61.76 MB / 0.8024 GB, free: 13.52 MB / 491.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)