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.001573/0.001573, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.163/2.163, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001276/0.001276, allocations: 99.38 kB / 270.9 MB, free: 8.367 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.5465/0.5465, allocations: 43.55 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 12 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1359, allocations: 58.83 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.6218, allocations: 96.49 MB / 0.573 GB, free: 6 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6221, allocations: 75.97 kB / 0.5731 GB, free: 5.926 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.279/0.9011, allocations: 68.65 MB / 0.6401 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.9012, allocations: 0 / 0.6401 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001633/0.9013, allocations: 71.94 kB / 0.6402 GB, free: 0.6133 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.01142/0.9128, allocations: 3.145 MB / 0.6433 GB, free: 13.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.9128, allocations: 8.031 kB / 0.6433 GB, free: 13.4 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00335/0.9162, allocations: 0.7255 MB / 0.644 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02595/0.9422, allocations: 3.29 MB / 0.6472 GB, free: 9.367 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007716/0.9499, allocations: 2.064 MB / 0.6492 GB, free: 7.258 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004238/0.9504, allocations: 279.1 kB / 0.6495 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002374/0.9528, allocations: 355.8 kB / 0.6498 GB, free: 6.637 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.9812, allocations: 9.061 MB / 0.6587 GB, free: 13.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.9814, allocations: 15.88 kB / 0.6587 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/0.9827, allocations: 163.9 kB / 0.6589 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002396/0.9852, allocations: 1.057 MB / 0.6599 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02632/1.012, allocations: 8.643 MB / 0.6683 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4228/1.434, allocations: 29.21 MB / 0.6969 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007471/1.442, allocations: 3.058 MB / 0.6998 GB, free: 89.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01371/1.456, allocations: 4.867 MB / 0.7046 GB, free: 88.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/1.456, allocations: 40.88 kB / 0.7046 GB, free: 88.08 MB / 490.7 MB Notification: Performance of pre-optimization done (n=126): time 5.811e-06/1.456, allocations: 3.828 kB / 0.7046 GB, free: 88.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=126): time 0.0114/1.467, allocations: 3.25 MB / 0.7078 GB, free: 87.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/1.467, allocations: 61.67 kB / 0.7079 GB, free: 87.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006061/1.473, allocations: 2.286 MB / 0.7101 GB, free: 87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002284/1.474, allocations: 38.53 kB / 0.7101 GB, free: 86.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/1.476, allocations: 2.658 MB / 0.7127 GB, free: 85.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007612/1.477, allocations: 0.4888 MB / 0.7132 GB, free: 85.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005371/1.477, allocations: 83.88 kB / 0.7133 GB, free: 85.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000352/1.478, allocations: 0.5042 MB / 0.7138 GB, free: 84.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00342/1.481, allocations: 1.336 MB / 0.7151 GB, free: 84.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005331/1.486, allocations: 4.083 MB / 0.7191 GB, free: 81.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005627/1.492, allocations: 2.346 MB / 0.7214 GB, free: 80.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001629/1.492, allocations: 32.38 kB / 0.7214 GB, free: 80.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01519/1.507, allocations: 5.196 MB / 0.7265 GB, free: 79.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/1.508, allocations: 47.31 kB / 0.7265 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/1.508, allocations: 98.44 kB / 0.7266 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/1.508, allocations: 142.3 kB / 0.7268 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006197/1.514, allocations: 0.9749 MB / 0.7277 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002771/1.515, allocations: 195.5 kB / 0.7279 GB, free: 78.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/1.519, allocations: 0.5993 MB / 0.7285 GB, free: 78.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.521, allocations: 273 kB / 0.7287 GB, free: 78.53 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.005566/1.526, allocations: 1.892 MB / 0.7306 GB, free: 77.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005701/1.527, allocations: 215.5 kB / 0.7308 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/1.528, allocations: 273 kB / 0.731 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/1.528, allocations: 14.72 kB / 0.7311 GB, free: 77.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.528, allocations: 5.797 kB / 0.7311 GB, free: 77.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.528, allocations: 3.469 kB / 0.7311 GB, free: 77.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/1.545, allocations: 5.634 MB / 0.7366 GB, free: 75.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.545, allocations: 4.641 kB / 0.7366 GB, free: 75.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.546, allocations: 134.1 kB / 0.7367 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/1.546, allocations: 8.234 kB / 0.7367 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.546, allocations: 21.84 kB / 0.7367 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.547e-05/1.546, allocations: 13 kB / 0.7367 GB, free: 75.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.546, allocations: 3.875 kB / 0.7367 GB, free: 75.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/1.55, allocations: 2.114 MB / 0.7388 GB, free: 74.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/1.55, allocations: 304.2 kB / 0.7391 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005504/1.551, allocations: 20.42 kB / 0.7391 GB, free: 73.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/1.552, allocations: 44.08 kB / 0.7392 GB, free: 73.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/1.553, allocations: 59.91 kB / 0.7392 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.553, allocations: 42.95 kB / 0.7393 GB, free: 73.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004267/1.557, allocations: 1.544 MB / 0.7408 GB, free: 73.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.557, allocations: 0 / 0.7408 GB, free: 73.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005419/1.562, allocations: 1.012 MB / 0.7418 GB, free: 72.88 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.004001/1.567, allocations: 3.88 MB / 0.7455 GB, free: 70 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006864/1.573, allocations: 3.101 MB / 0.7486 GB, free: 69.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.573, allocations: 0.8125 kB / 0.7486 GB, free: 69.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/1.576, allocations: 0.7414 MB / 0.7493 GB, free: 68.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.579, allocations: 244.5 kB / 0.7495 GB, free: 68.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06593/1.645, allocations: 88.98 MB / 0.8364 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005345/1.65, allocations: 3.054 MB / 0.8394 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/1.653, allocations: 1.529 MB / 0.8409 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of SimCode: time 8.32e-07/1.653, allocations: 0 / 0.8409 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.914/5.567, allocations: 61.55 MB / 0.901 GB, free: 128.8 MB / 0.5105 GB (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)