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.002295/0.002296, allocations: 181.5 kB / 13.66 MB, free: 1.664 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.404/2.404, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001136/0.001135, allocations: 94.62 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.299/0.299, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.143e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 58.84 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5385/0.6602, allocations: 96.4 MB / 0.567 GB, free: 7.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.6605, allocations: 75.62 kB / 0.5671 GB, free: 7.246 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2985/0.959, allocations: 68.69 MB / 0.6342 GB, free: 10.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.719e-06/0.9591, allocations: 3.984 kB / 0.6342 GB, free: 10.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001789/0.9593, allocations: 64 kB / 0.6342 GB, free: 10.38 MB / 442.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.01165/0.971, allocations: 3.049 MB / 0.6372 GB, free: 7.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.971, allocations: 11.97 kB / 0.6372 GB, free: 7.258 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003853/0.9749, allocations: 0.7255 MB / 0.6379 GB, free: 6.523 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02568/1.001, allocations: 3.29 MB / 0.6412 GB, free: 3.223 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008375/1.009, allocations: 2.075 MB / 0.6432 GB, free: 1.102 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/1.01, allocations: 279.1 kB / 0.6434 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002658/1.012, allocations: 355.8 kB / 0.6438 GB, free: 492 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03088/1.043, allocations: 8.995 MB / 0.6526 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002163/1.043, allocations: 15.88 kB / 0.6526 GB, free: 7.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002361/1.046, allocations: 159.9 kB / 0.6527 GB, free: 6.934 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002589/1.049, allocations: 1.049 MB / 0.6538 GB, free: 5.883 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02731/1.076, allocations: 8.528 MB / 0.6621 GB, free: 13.34 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06959/1.146, allocations: 29.21 MB / 0.6906 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0098/1.155, allocations: 3.049 MB / 0.6936 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/1.158, allocations: 0.9662 MB / 0.6945 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01685/1.175, allocations: 4.869 MB / 0.6993 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.175, allocations: 47.34 kB / 0.6993 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 7.113e-06/1.175, allocations: 0 / 0.6993 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.009901/1.185, allocations: 2.09 MB / 0.7014 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.812e-05/1.185, allocations: 64.19 kB / 0.7014 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/1.192, allocations: 2.263 MB / 0.7036 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002284/1.192, allocations: 33.7 kB / 0.7037 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3449/1.537, allocations: 2.657 MB / 0.7063 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009393/1.538, allocations: 499.1 kB / 0.7067 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006258/1.539, allocations: 84.34 kB / 0.7068 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005492/1.539, allocations: 0.5081 MB / 0.7073 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/1.543, allocations: 1.307 MB / 0.7086 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006203/1.55, allocations: 4.049 MB / 0.7126 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006344/1.556, allocations: 2.359 MB / 0.7149 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002135/1.556, allocations: 28.12 kB / 0.7149 GB, free: 136.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01588/1.572, allocations: 5.138 MB / 0.7199 GB, free: 136 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.572, allocations: 46.91 kB / 0.7199 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002289/1.573, allocations: 97.69 kB / 0.72 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/1.573, allocations: 145.1 kB / 0.7202 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006489/1.579, allocations: 0.9781 MB / 0.7211 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002966/1.58, allocations: 189.2 kB / 0.7213 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/1.585, allocations: 0.595 MB / 0.7219 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.586, allocations: 279.5 kB / 0.7222 GB, free: 135.7 MB / 0.4948 GB 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 () * 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.001811/1.588, allocations: 447.7 kB / 0.7226 GB, free: 135.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006055/1.589, allocations: 214.4 kB / 0.7228 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/1.59, allocations: 268.9 kB / 0.723 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-05/1.59, allocations: 15.64 kB / 0.7231 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.59, allocations: 0.6094 kB / 0.7231 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/1.59, allocations: 4.516 kB / 0.7231 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01675/1.607, allocations: 5.621 MB / 0.7286 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/1.607, allocations: 3.875 kB / 0.7286 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/1.608, allocations: 148.9 kB / 0.7287 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.059e-05/1.608, allocations: 12.48 kB / 0.7287 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.608, allocations: 16.98 kB / 0.7287 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/1.608, allocations: 9.656 kB / 0.7287 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/1.608, allocations: 13.47 kB / 0.7288 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/1.612, allocations: 2.108 MB / 0.7308 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/1.612, allocations: 303.9 kB / 0.7311 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005882/1.613, allocations: 18.81 kB / 0.7311 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/1.614, allocations: 35.39 kB / 0.7312 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/1.615, allocations: 70.17 kB / 0.7312 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.615, allocations: 38.23 kB / 0.7313 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003823/1.619, allocations: 1.524 MB / 0.7327 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.032e-06/1.619, allocations: 0 / 0.7327 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00561/1.624, allocations: 1.007 MB / 0.7337 GB, free: 133.3 MB / 0.4948 GB 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 () * 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.00436/1.629, allocations: 3.875 MB / 0.7375 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007105/1.636, allocations: 3.071 MB / 0.7405 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/1.636, allocations: 7.219 kB / 0.7405 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001464/1.637, allocations: 0.733 MB / 0.7412 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.639, allocations: 228 kB / 0.7415 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/1.665, allocations: 7.445 MB / 0.7487 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006906/1.672, allocations: 3.052 MB / 0.7517 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003851/1.676, allocations: 1.534 MB / 0.7532 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.244e-06/1.676, allocations: 4 kB / 0.7532 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.683/5.358, allocations: 61.9 MB / 0.8137 GB, free: 81.5 MB / 0.4948 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)