Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 236 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 95.55 kB / 287 MB, free: 240 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.591e-05/5.623e-05, allocations: 224 / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1531, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5164/0.6695, allocations: 94.6 MB / 0.5942 GB, free: 10.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.6699, allocations: 75.95 kB / 0.5942 GB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06747/0.7374, allocations: 28.09 MB / 0.6217 GB, free: 14.29 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7374, allocations: 0 / 0.6217 GB, free: 14.29 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.336e-05/0.7375, allocations: 40 kB / 0.6217 GB, free: 14.25 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: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.002384/0.7399, allocations: 1.581 MB / 0.6233 GB, free: 12.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.74, allocations: 8.031 kB / 0.6233 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00042/0.7404, allocations: 354.3 kB / 0.6236 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008099/0.7412, allocations: 261.1 kB / 0.6239 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.7426, allocations: 0.845 MB / 0.6247 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.7428, allocations: 151.7 kB / 0.6248 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.743, allocations: 180 kB / 0.625 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/0.7475, allocations: 3.337 MB / 0.6283 GB, free: 7.059 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.7476, allocations: 15.88 kB / 0.6283 GB, free: 7.043 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.7478, allocations: 83.95 kB / 0.6283 GB, free: 6.961 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003866/0.7482, allocations: 336.1 kB / 0.6287 GB, free: 6.633 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003063/0.7512, allocations: 1.83 MB / 0.6305 GB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.7677, allocations: 15.22 MB / 0.6453 GB, free: 5.082 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.7679, allocations: 165.1 kB / 0.6455 GB, free: 4.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.768, allocations: 80.14 kB / 0.6456 GB, free: 4.828 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.768, allocations: 79.28 kB / 0.6456 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/0.7681, allocations: 113.8 kB / 0.6457 GB, free: 4.629 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 2.925e-06/0.7681, allocations: 3.938 kB / 0.6457 GB, free: 4.625 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003254/0.7684, allocations: 152.1 kB / 0.6459 GB, free: 4.469 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.7685, allocations: 130.7 kB / 0.646 GB, free: 4.328 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.7705, allocations: 1.451 MB / 0.6474 GB, free: 2.871 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.7705, allocations: 33.7 kB / 0.6475 GB, free: 2.832 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.7716, allocations: 1.359 MB / 0.6488 GB, free: 1.449 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.7716, allocations: 47.95 kB / 0.6488 GB, free: 1.402 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.7717, allocations: 40 kB / 0.6489 GB, free: 1.363 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002719/0.772, allocations: 442.7 kB / 0.6493 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.7725, allocations: 348 kB / 0.6496 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.774, allocations: 1.906 MB / 0.6515 GB, free: 13.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.7752, allocations: 0.784 MB / 0.6522 GB, free: 13.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/0.7753, allocations: 16 kB / 0.6523 GB, free: 13.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.003886/0.7792, allocations: 2.067 MB / 0.6543 GB, free: 10.98 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/0.7793, allocations: 32.97 kB / 0.6543 GB, free: 10.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.478e-05/0.7793, allocations: 59.94 kB / 0.6544 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/0.7794, allocations: 84 kB / 0.6545 GB, free: 10.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.7807, allocations: 491 kB / 0.6549 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001026/0.7808, allocations: 111.6 kB / 0.655 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/0.7827, allocations: 312.6 kB / 0.6553 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.7828, allocations: 147.9 kB / 0.6555 GB, free: 9.766 MB / 474.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.0003695/0.7832, allocations: 374 kB / 0.6558 GB, free: 9.391 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002277/0.7835, allocations: 227.4 kB / 0.656 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003112/0.7838, allocations: 224.5 kB / 0.6563 GB, free: 8.926 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.941e-05/0.7839, allocations: 184.3 kB / 0.6564 GB, free: 8.738 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.072e-05/0.784, allocations: 184.2 kB / 0.6566 GB, free: 8.551 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.749e-05/0.784, allocations: 180.2 kB / 0.6568 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.7862, allocations: 1.474 MB / 0.6582 GB, free: 6.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-05/0.7863, allocations: 112.9 kB / 0.6583 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.421e-05/0.7863, allocations: 101.1 kB / 0.6584 GB, free: 6.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.983e-05/0.7864, allocations: 188.2 kB / 0.6586 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.103e-05/0.7865, allocations: 176.3 kB / 0.6588 GB, free: 6.242 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.102e-05/0.7866, allocations: 188.3 kB / 0.6589 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001097/0.7867, allocations: 184.2 kB / 0.6591 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.787, allocations: 429.3 kB / 0.6595 GB, free: 5.418 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003422/0.7874, allocations: 296.5 kB / 0.6598 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.7875, allocations: 180.3 kB / 0.66 GB, free: 4.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.7878, allocations: 108.9 kB / 0.6601 GB, free: 4.805 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.7879, allocations: 180.2 kB / 0.6603 GB, free: 4.621 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.788, allocations: 108.9 kB / 0.6604 GB, free: 4.508 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001319/0.7893, allocations: 0.9899 MB / 0.6613 GB, free: 3.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7893, allocations: 0 / 0.6613 GB, free: 3.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001793/0.7911, allocations: 442 kB / 0.6618 GB, free: 3.086 MB / 474.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.0006244/0.7918, allocations: 0.9361 MB / 0.6627 GB, free: 2.117 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.7932, allocations: 0.8842 MB / 0.6635 GB, free: 1.246 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.7932, allocations: 0 / 0.6635 GB, free: 1.246 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.7933, allocations: 4.25 kB / 0.6635 GB, free: 1.242 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007304/0.794, allocations: 0.6409 MB / 0.6642 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005522/0.7995, allocations: 2.561 MB / 0.6667 GB, free: 13.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.801, allocations: 1.618 MB / 0.6682 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001374/0.8024, allocations: 495.2 kB / 0.6687 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007799/0.8032, allocations: 0.6594 MB / 0.6694 GB, free: 11.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.844e-06/0.8032, allocations: 0 / 0.6694 GB, free: 11.18 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04827/0.8515, allocations: 22.23 MB / 0.6911 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.8518, allocations: 152.4 kB / 0.6912 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/3.502, allocations: 0 / 0.6912 GB, free: 4.863 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat