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.001786/0.001786, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.637/1.637, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008425/0.0008424, allocations: 85.02 kB / 267 MB, free: 9.293 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.4083/0.4083, allocations: 43.46 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.447e-05, allocations: 4 kB / 425.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1333, allocations: 58.84 MB / 484.3 MB, free: 13.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5254/0.6587, allocations: 96.39 MB / 0.567 GB, free: 9.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.659, allocations: 77.83 kB / 0.5671 GB, free: 9.258 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1803/0.8393, allocations: 68.7 MB / 0.6342 GB, free: 13.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.696e-06/0.8394, allocations: 3.938 kB / 0.6342 GB, free: 13.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000189/0.8396, allocations: 68 kB / 0.6343 GB, free: 13.34 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.01064/0.8502, allocations: 3.047 MB / 0.6372 GB, free: 10.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.8503, allocations: 8.031 kB / 0.6372 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004232/0.8545, allocations: 0.7294 MB / 0.638 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.8705, allocations: 3.282 MB / 0.6412 GB, free: 6.199 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00797/0.8786, allocations: 2.08 MB / 0.6432 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007807/0.8794, allocations: 275.1 kB / 0.6435 GB, free: 3.805 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003837/0.8833, allocations: 351.9 kB / 0.6438 GB, free: 3.461 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/0.909, allocations: 8.984 MB / 0.6526 GB, free: 10.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001884/0.9092, allocations: 19.81 kB / 0.6526 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00204/0.9112, allocations: 167.9 kB / 0.6527 GB, free: 9.914 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001743/0.913, allocations: 1.049 MB / 0.6538 GB, free: 8.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.9339, allocations: 8.522 MB / 0.6621 GB, free: 340 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05598/0.99, allocations: 29.22 MB / 0.6906 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.355/1.345, allocations: 3.041 MB / 0.6936 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/1.348, allocations: 0.9668 MB / 0.6945 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/1.358, allocations: 4.87 MB / 0.6993 GB, free: 116 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/1.358, allocations: 40.53 kB / 0.6993 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 6.963e-06/1.358, allocations: 0 / 0.6993 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.006013/1.364, allocations: 2.1 MB / 0.7014 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/1.364, allocations: 62.88 kB / 0.7014 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003944/1.368, allocations: 2.27 MB / 0.7037 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.995e-05/1.368, allocations: 39.39 kB / 0.7037 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.37, allocations: 2.637 MB / 0.7063 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005394/1.37, allocations: 0.4919 MB / 0.7068 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/1.371, allocations: 81.77 kB / 0.7068 GB, free: 113.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003228/1.371, allocations: 0.5536 MB / 0.7074 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/1.373, allocations: 1.308 MB / 0.7087 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/1.376, allocations: 4.05 MB / 0.7126 GB, free: 110 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003032/1.379, allocations: 2.353 MB / 0.7149 GB, free: 110 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.759e-05/1.379, allocations: 31.97 kB / 0.7149 GB, free: 110 MB / 0.4948 GB Notification: Performance of matching and sorting (n=586) (initialization): time 0.008524/1.388, allocations: 5.192 MB / 0.72 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.557e-05/1.388, allocations: 52.75 kB / 0.7201 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/1.388, allocations: 98 kB / 0.7201 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/1.388, allocations: 149 kB / 0.7203 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/1.391, allocations: 0.9711 MB / 0.7212 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001433/1.391, allocations: 194.2 kB / 0.7214 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/1.395, allocations: 0.5921 MB / 0.722 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007463/1.396, allocations: 276.4 kB / 0.7223 GB, free: 109 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.0008087/1.396, allocations: 441.9 kB / 0.7227 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/1.397, allocations: 214.7 kB / 0.7229 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006857/1.398, allocations: 271.5 kB / 0.7232 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-05/1.398, allocations: 16.41 kB / 0.7232 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.738e-05/1.398, allocations: 3.953 kB / 0.7232 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.398, allocations: 4.875 kB / 0.7232 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/1.408, allocations: 5.62 MB / 0.7287 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.408, allocations: 6.344 kB / 0.7287 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/1.409, allocations: 137.3 kB / 0.7288 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/1.409, allocations: 6.719 kB / 0.7288 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/1.409, allocations: 23.14 kB / 0.7288 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/1.409, allocations: 9.438 kB / 0.7288 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/1.409, allocations: 9.75 kB / 0.7288 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/1.411, allocations: 2.103 MB / 0.7309 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/1.412, allocations: 298 kB / 0.7312 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/1.412, allocations: 26.05 kB / 0.7312 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/1.412, allocations: 37.53 kB / 0.7312 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/1.413, allocations: 67.86 kB / 0.7313 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/1.413, allocations: 47.72 kB / 0.7314 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002193/1.415, allocations: 1.523 MB / 0.7328 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.415, allocations: 0 / 0.7328 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004275/1.419, allocations: 1.01 MB / 0.7338 GB, free: 106.4 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.003237/1.422, allocations: 3.87 MB / 0.7376 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005227/1.428, allocations: 3.077 MB / 0.7406 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.428, allocations: 0 / 0.7406 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/1.428, allocations: 0.7334 MB / 0.7413 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.43, allocations: 231.7 kB / 0.7415 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.45, allocations: 7.017 MB / 0.7484 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006287/1.456, allocations: 3.045 MB / 0.7514 GB, free: 98.92 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004524/1.461, allocations: 1.484 MB / 0.7528 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002818/1.464, allocations: 1.487 MB / 0.7543 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of SimCode: time 1.403e-06/1.464, allocations: 0 / 0.7543 GB, free: 97.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08228/1.546, allocations: 49.15 MB / 0.8023 GB, free: 80.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/1.546, allocations: 153.7 kB / 0.8024 GB, free: 80.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.554/5.1, allocations: 7.938 kB / 0.8024 GB, free: 80.1 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)