Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 196.3 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009169/0.0009169, allocations: 91.72 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.613e-05, allocations: 0 / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.09846, allocations: 63.25 MB / 0.5115 GB, free: 6.727 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.4738, allocations: 95.67 MB / 0.6049 GB, free: 14.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4741, allocations: 80.14 kB / 0.605 GB, free: 14.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06212/0.5362, allocations: 28.12 MB / 0.6324 GB, free: 5.926 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5362, allocations: 0 / 0.6324 GB, free: 5.926 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.311e-05/0.5363, allocations: 32 kB / 0.6324 GB, free: 5.895 MB / 426.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.00266/0.539, allocations: 1.6 MB / 0.634 GB, free: 4.363 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.539, allocations: 11.97 kB / 0.634 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004053/0.5394, allocations: 344.3 kB / 0.6343 GB, free: 4.133 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007342/0.5402, allocations: 261.1 kB / 0.6346 GB, free: 3.875 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.5415, allocations: 0.8405 MB / 0.6354 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/0.5416, allocations: 145.2 kB / 0.6356 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/0.5418, allocations: 190.4 kB / 0.6357 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/0.5455, allocations: 3.331 MB / 0.639 GB, free: 4 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.5456, allocations: 19.86 kB / 0.639 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/0.5457, allocations: 96.39 kB / 0.6391 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003175/0.546, allocations: 331.6 kB / 0.6394 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002254/0.5483, allocations: 1.831 MB / 0.6412 GB, free: 14.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009922/0.5582, allocations: 15.22 MB / 0.6561 GB, free: 232 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.575e-05/0.5583, allocations: 169.1 kB / 0.6562 GB, free: 52 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.748e-05/0.5584, allocations: 80.14 kB / 0.6563 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.5584, allocations: 75.28 kB / 0.6564 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.5585, allocations: 113 kB / 0.6565 GB, free: 15.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 2.205e-06/0.5585, allocations: 0 / 0.6565 GB, free: 15.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002045/0.5587, allocations: 152 kB / 0.6566 GB, free: 15.62 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.5588, allocations: 126.7 kB / 0.6568 GB, free: 15.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.5603, allocations: 1.455 MB / 0.6582 GB, free: 14.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.5603, allocations: 25.7 kB / 0.6582 GB, free: 14.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007377/0.5611, allocations: 1.357 MB / 0.6595 GB, free: 13.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.5611, allocations: 53.75 kB / 0.6596 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.5612, allocations: 40.75 kB / 0.6596 GB, free: 13.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.5613, allocations: 446.6 kB / 0.66 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004286/0.5618, allocations: 351.3 kB / 0.6604 GB, free: 12.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.5631, allocations: 1.899 MB / 0.6622 GB, free: 9.934 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.564, allocations: 0.7845 MB / 0.663 GB, free: 9.305 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.767e-05/0.564, allocations: 20 kB / 0.663 GB, free: 9.285 MB / 458.7 MB Notification: Performance of matching and sorting (n=260) (initialization): time 0.002606/0.5666, allocations: 2.075 MB / 0.665 GB, free: 7.309 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.5667, allocations: 28 kB / 0.6651 GB, free: 7.281 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.275e-05/0.5667, allocations: 60 kB / 0.6651 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-05/0.5668, allocations: 83.98 kB / 0.6652 GB, free: 7.141 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5679, allocations: 483.7 kB / 0.6657 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-05/0.5679, allocations: 111.6 kB / 0.6658 GB, free: 6.559 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.5691, allocations: 320.5 kB / 0.6661 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.5692, allocations: 140 kB / 0.6662 GB, free: 6.105 MB / 458.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.0002556/0.5695, allocations: 370 kB / 0.6666 GB, free: 5.734 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.5697, allocations: 231.3 kB / 0.6668 GB, free: 5.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.5699, allocations: 228.5 kB / 0.667 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.093e-05/0.5699, allocations: 180.2 kB / 0.6672 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.04e-05/0.57, allocations: 180.3 kB / 0.6673 GB, free: 4.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-05/0.5701, allocations: 180.2 kB / 0.6675 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.5716, allocations: 1.481 MB / 0.669 GB, free: 3.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/0.5717, allocations: 108.9 kB / 0.6691 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.5717, allocations: 101.1 kB / 0.6692 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.156e-05/0.5718, allocations: 192.2 kB / 0.6694 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.5718, allocations: 180.2 kB / 0.6695 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.768e-05/0.5719, allocations: 180.3 kB / 0.6697 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.956e-05/0.5719, allocations: 180.2 kB / 0.6699 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.5722, allocations: 433.4 kB / 0.6703 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.5724, allocations: 296.4 kB / 0.6706 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.5726, allocations: 184.2 kB / 0.6707 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002781/0.5729, allocations: 108.9 kB / 0.6708 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.5729, allocations: 188.2 kB / 0.671 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.573, allocations: 101 kB / 0.6711 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.5741, allocations: 0.9938 MB / 0.6721 GB, free: 15.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5741, allocations: 0 / 0.6721 GB, free: 15.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001318/0.5754, allocations: 434.1 kB / 0.6725 GB, free: 15.43 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.0004712/0.5759, allocations: 0.94 MB / 0.6734 GB, free: 14.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.577, allocations: 0.8725 MB / 0.6743 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.577, allocations: 0 / 0.6743 GB, free: 13.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.096e-06/0.577, allocations: 3.938 kB / 0.6743 GB, free: 13.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.5776, allocations: 0.6566 MB / 0.6749 GB, free: 12.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.5819, allocations: 2.565 MB / 0.6774 GB, free: 10.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.5832, allocations: 1.611 MB / 0.679 GB, free: 8.664 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001128/0.5844, allocations: 491.1 kB / 0.6795 GB, free: 8.18 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.585, allocations: 0.6711 MB / 0.6801 GB, free: 7.508 MB / 474.7 MB Notification: Performance of SimCode: time 4.71e-07/0.585, allocations: 4 kB / 0.6801 GB, free: 7.504 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.6211, allocations: 22.22 MB / 0.7018 GB, free: 1.434 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002261/0.6214, allocations: 156.8 kB / 0.702 GB, free: 1.203 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.749, allocations: 0 / 0.702 GB, free: 1.203 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_Shapes.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat