Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Visualizers_Torus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Torus,fileNamePrefix="ModelicaTest_3_2_3_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.00122/0.001219, allocations: 183.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001072/0.001072, allocations: 94.84 kB / 270.2 MB, free: 13.37 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.2196/0.2196, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003702, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1406, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.569, allocations: 96.5 MB / 0.5731 GB, free: 3.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5693, allocations: 80.39 kB / 0.5732 GB, free: 3.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1676/0.7369, allocations: 68.62 MB / 0.6402 GB, free: 6.641 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.737, allocations: 0 / 0.6402 GB, free: 6.641 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.7372, allocations: 68 kB / 0.6402 GB, free: 6.574 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.01055/0.7477, allocations: 3.15 MB / 0.6433 GB, free: 3.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.977e-05/0.7478, allocations: 8.031 kB / 0.6433 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004068/0.7519, allocations: 0.7294 MB / 0.644 GB, free: 2.617 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01466/0.7666, allocations: 3.29 MB / 0.6472 GB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008499/0.7751, allocations: 2.067 MB / 0.6493 GB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003859/0.7756, allocations: 283.1 kB / 0.6495 GB, free: 12.93 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/0.7781, allocations: 355.8 kB / 0.6499 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0237/0.8018, allocations: 9.056 MB / 0.6587 GB, free: 3.141 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002263/0.8021, allocations: 15.88 kB / 0.6587 GB, free: 3.125 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002211/0.8044, allocations: 159.9 kB / 0.6589 GB, free: 2.969 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/0.8061, allocations: 1.053 MB / 0.6599 GB, free: 1.914 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0198/0.8259, allocations: 8.643 MB / 0.6683 GB, free: 9.258 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05279/0.8788, allocations: 29.21 MB / 0.6969 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005754/0.8846, allocations: 3.061 MB / 0.6999 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.896, allocations: 4.872 MB / 0.7046 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.896, allocations: 55.14 kB / 0.7047 GB, free: 2.766 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 5.31e-06/0.8961, allocations: 3.938 kB / 0.7047 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.2805/1.177, allocations: 3.237 MB / 0.7078 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/1.177, allocations: 61 kB / 0.7079 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/1.183, allocations: 2.284 MB / 0.7101 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/1.183, allocations: 36.23 kB / 0.7102 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002253/1.185, allocations: 2.645 MB / 0.7127 GB, free: 139 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/1.186, allocations: 499.7 kB / 0.7132 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/1.186, allocations: 83.91 kB / 0.7133 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000471/1.187, allocations: 0.5495 MB / 0.7138 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.189, allocations: 1.34 MB / 0.7151 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003862/1.193, allocations: 4.078 MB / 0.7191 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004379/1.197, allocations: 2.352 MB / 0.7214 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.197, allocations: 27.75 kB / 0.7215 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.01073/1.208, allocations: 5.237 MB / 0.7266 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.135e-05/1.208, allocations: 51.33 kB / 0.7266 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001648/1.209, allocations: 96.97 kB / 0.7267 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/1.209, allocations: 144.1 kB / 0.7268 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/1.212, allocations: 0.9746 MB / 0.7278 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/1.212, allocations: 196.6 kB / 0.728 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/1.215, allocations: 0.6046 MB / 0.7286 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003496/1.215, allocations: 277.5 kB / 0.7288 GB, free: 133.8 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 () * 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.00286/1.218, allocations: 1.885 MB / 0.7307 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/1.219, allocations: 211.9 kB / 0.7309 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/1.219, allocations: 274 kB / 0.7311 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.764e-05/1.219, allocations: 20.19 kB / 0.7312 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/1.219, allocations: 0 / 0.7312 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.219, allocations: 3.609 kB / 0.7312 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008428/1.228, allocations: 5.632 MB / 0.7367 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.228, allocations: 3.25 kB / 0.7367 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/1.228, allocations: 137.4 kB / 0.7368 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/1.228, allocations: 7.812 kB / 0.7368 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-05/1.228, allocations: 29.73 kB / 0.7368 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.228, allocations: 7.875 kB / 0.7368 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.228, allocations: 7.875 kB / 0.7369 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.23, allocations: 2.113 MB / 0.7389 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/1.231, allocations: 305.6 kB / 0.7392 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/1.231, allocations: 20.69 kB / 0.7392 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005649/1.232, allocations: 40.23 kB / 0.7393 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.232, allocations: 66.2 kB / 0.7393 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.903e-05/1.232, allocations: 40.31 kB / 0.7394 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002151/1.234, allocations: 1.548 MB / 0.7409 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/1.234, allocations: 0 / 0.7409 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004153/1.238, allocations: 1.01 MB / 0.7419 GB, free: 130.9 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 () * 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.002794/1.241, allocations: 3.874 MB / 0.7456 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004929/1.246, allocations: 3.108 MB / 0.7487 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.246, allocations: 0 / 0.7487 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/1.247, allocations: 0.7402 MB / 0.7494 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/1.248, allocations: 231.8 kB / 0.7496 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04942/1.297, allocations: 88.56 MB / 0.8361 GB, free: 45.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004672/1.302, allocations: 3.046 MB / 0.8391 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00328/1.305, allocations: 1.483 MB / 0.8405 GB, free: 44.19 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002155/1.308, allocations: 1.492 MB / 0.842 GB, free: 42.95 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/1.308, allocations: 4 kB / 0.842 GB, free: 42.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0719/1.38, allocations: 48.39 MB / 0.8893 GB, free: 2.605 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.38, allocations: 176.9 kB / 0.8894 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/4.683, allocations: 4 kB / 0.8894 GB, free: 2.355 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Torus.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1)