Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.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.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes",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.0017/0.0017, allocations: 183.1 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.689/1.689, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009675/0.0009675, allocations: 82.61 kB / 267 MB, free: 9.281 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.4043/0.4043, allocations: 43.46 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.374e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4442/0.5822, allocations: 93.18 MB / 0.5639 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.5825, allocations: 78.06 kB / 0.564 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05895/0.6415, allocations: 27.62 MB / 0.5909 GB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6415, allocations: 0 / 0.5909 GB, free: 4.578 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.109e-05/0.6416, allocations: 32 kB / 0.591 GB, free: 4.547 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002343/0.6439, allocations: 1.592 MB / 0.5925 GB, free: 3.023 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.644, allocations: 19.97 kB / 0.5926 GB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003618/0.6444, allocations: 345.5 kB / 0.5929 GB, free: 2.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.6452, allocations: 264.5 kB / 0.5931 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.6466, allocations: 0.83 MB / 0.5939 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.6467, allocations: 141.2 kB / 0.5941 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.647, allocations: 191 kB / 0.5943 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.6511, allocations: 3.332 MB / 0.5975 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.6512, allocations: 19.81 kB / 0.5975 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.6513, allocations: 96.31 kB / 0.5976 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003939/0.6517, allocations: 327.7 kB / 0.5979 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/0.6545, allocations: 1.83 MB / 0.5997 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0144/0.6689, allocations: 15.2 MB / 0.6146 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.6691, allocations: 180.3 kB / 0.6147 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.6691, allocations: 81.34 kB / 0.6148 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.6692, allocations: 75.28 kB / 0.6149 GB, free: 14.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.738e-05/0.6692, allocations: 105.8 kB / 0.615 GB, free: 14.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.715e-06/0.6692, allocations: 4 kB / 0.615 GB, free: 14.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002967/0.6695, allocations: 152.1 kB / 0.6151 GB, free: 14.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.6696, allocations: 130.6 kB / 0.6153 GB, free: 14.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.6713, allocations: 1.458 MB / 0.6167 GB, free: 13.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6713, allocations: 25.7 kB / 0.6167 GB, free: 13.02 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/0.6721, allocations: 1.358 MB / 0.618 GB, free: 11.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.6721, allocations: 45.14 kB / 0.6181 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.6722, allocations: 41.38 kB / 0.6181 GB, free: 11.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000222/0.6724, allocations: 445.4 kB / 0.6186 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.6729, allocations: 349 kB / 0.6189 GB, free: 11.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.6745, allocations: 1.905 MB / 0.6207 GB, free: 8.621 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009323/0.6754, allocations: 0.7731 MB / 0.6215 GB, free: 8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.548e-05/0.6755, allocations: 20 kB / 0.6215 GB, free: 7.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002995/0.6785, allocations: 2.08 MB / 0.6235 GB, free: 6.223 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.6785, allocations: 28 kB / 0.6236 GB, free: 6.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/0.6786, allocations: 59.94 kB / 0.6236 GB, free: 6.137 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.247e-05/0.6787, allocations: 84 kB / 0.6237 GB, free: 6.055 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6798, allocations: 488.9 kB / 0.6242 GB, free: 5.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.333e-05/0.6799, allocations: 111.6 kB / 0.6243 GB, free: 5.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.6814, allocations: 321.1 kB / 0.6246 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/0.6815, allocations: 138.5 kB / 0.6247 GB, free: 5.078 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 39 (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],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (260): * Single equations (assignments): 260 * Array equations: 0 * 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.0002736/0.6818, allocations: 374.1 kB / 0.6251 GB, free: 4.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.682, allocations: 231.3 kB / 0.6253 GB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.6823, allocations: 224.7 kB / 0.6255 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.6823, allocations: 192.2 kB / 0.6257 GB, free: 4.121 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-05/0.6824, allocations: 176.3 kB / 0.6259 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.492e-05/0.6824, allocations: 180.3 kB / 0.626 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.6842, allocations: 1.48 MB / 0.6275 GB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.916e-05/0.6842, allocations: 101 kB / 0.6276 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.6843, allocations: 109.1 kB / 0.6277 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.819e-05/0.6844, allocations: 180.3 kB / 0.6279 GB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.606e-05/0.6844, allocations: 187.6 kB / 0.628 GB, free: 1.945 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-05/0.6845, allocations: 184.2 kB / 0.6282 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.816e-05/0.6846, allocations: 176.3 kB / 0.6284 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.6849, allocations: 432.8 kB / 0.6288 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.6852, allocations: 295.3 kB / 0.6291 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.6853, allocations: 184.2 kB / 0.6292 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.6856, allocations: 112.5 kB / 0.6294 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.6857, allocations: 184.2 kB / 0.6295 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.351e-05/0.6858, allocations: 113 kB / 0.6296 GB, free: 224 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.6871, allocations: 0.9895 MB / 0.6306 GB, free: 15.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6871, allocations: 0 / 0.6306 GB, free: 15.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001721/0.6888, allocations: 434.1 kB / 0.631 GB, free: 14.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0006664/0.6895, allocations: 0.9448 MB / 0.6319 GB, free: 13.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.6909, allocations: 0.879 MB / 0.6328 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6909, allocations: 0 / 0.6328 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/0.6909, allocations: 0 / 0.6328 GB, free: 13.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006719/0.6916, allocations: 0.6501 MB / 0.6334 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.6971, allocations: 2.565 MB / 0.6359 GB, free: 9.797 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.6985, allocations: 1.615 MB / 0.6375 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001284/0.6998, allocations: 491.2 kB / 0.638 GB, free: 7.664 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007575/0.7005, allocations: 0.6711 MB / 0.6386 GB, free: 6.992 MB / 458.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7005, allocations: 0 / 0.6386 GB, free: 6.992 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.7454, allocations: 22.24 MB / 0.6604 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.7456, allocations: 146.7 kB / 0.6605 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.419, allocations: 7.938 kB / 0.6605 GB, free: 0.5664 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1)