Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.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.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001398, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008675/0.0008675, allocations: 96.25 kB / 297.2 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3646/0.3646, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003039, allocations: 8.219 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.384, allocations: 63.24 MB / 0.5193 GB, free: 43.68 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1243/0.5083, allocations: 94.87 MB / 0.6119 GB, free: 10.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.5086, allocations: 75.94 kB / 0.612 GB, free: 10.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1074/0.616, allocations: 43.72 MB / 0.6547 GB, free: 14.6 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6161, allocations: 0 / 0.6547 GB, free: 14.6 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.297e-05/0.6161, allocations: 36 kB / 0.6547 GB, free: 14.56 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.004036/0.6202, allocations: 1.949 MB / 0.6566 GB, free: 12.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6202, allocations: 8.031 kB / 0.6566 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000568/0.6208, allocations: 417.6 kB / 0.657 GB, free: 12.13 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006338/0.6272, allocations: 1.69 MB / 0.6587 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/0.6302, allocations: 1.113 MB / 0.6598 GB, free: 9.277 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.6304, allocations: 147.7 kB / 0.6599 GB, free: 9.133 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/0.6308, allocations: 179.9 kB / 0.6601 GB, free: 8.957 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007952/0.6388, allocations: 5.509 MB / 0.6654 GB, free: 2.711 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-05/0.6389, allocations: 35.67 kB / 0.6655 GB, free: 2.676 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/0.6392, allocations: 107.9 kB / 0.6656 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007262/0.6399, allocations: 0.5729 MB / 0.6661 GB, free: 1.992 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007367/0.6473, allocations: 4.534 MB / 0.6706 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.6722, allocations: 27.94 MB / 0.6979 GB, free: 452 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2854/0.9576, allocations: 1.245 MB / 0.6991 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003654/0.9613, allocations: 1.444 MB / 0.7005 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.9614, allocations: 39.19 kB / 0.7005 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 6.893e-06/0.9614, allocations: 0.8438 kB / 0.7005 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.002207/0.9636, allocations: 1.351 MB / 0.7018 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.9637, allocations: 133.3 kB / 0.702 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003325/0.967, allocations: 2.327 MB / 0.7042 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.9671, allocations: 31.64 kB / 0.7043 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.9681, allocations: 1.819 MB / 0.7061 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.9684, allocations: 267.3 kB / 0.7063 GB, free: 119 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.9685, allocations: 75.72 kB / 0.7064 GB, free: 119 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003034/0.9688, allocations: 0.521 MB / 0.7069 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/0.9704, allocations: 1.075 MB / 0.7079 GB, free: 118.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.9733, allocations: 3.759 MB / 0.7116 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.9756, allocations: 1.987 MB / 0.7135 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.063e-05/0.9756, allocations: 27.75 kB / 0.7136 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006045/0.9817, allocations: 4.594 MB / 0.7181 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.9817, allocations: 44.91 kB / 0.7181 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.687e-05/0.9818, allocations: 100.3 kB / 0.7182 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.982, allocations: 140.2 kB / 0.7183 GB, free: 114.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.9842, allocations: 0.9067 MB / 0.7192 GB, free: 114.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001121/0.9843, allocations: 186.8 kB / 0.7194 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/0.987, allocations: 0.5646 MB / 0.7199 GB, free: 114 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.9873, allocations: 285.3 kB / 0.7202 GB, free: 114 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,visGroundAxis.color[3],visGroundAxis.color[2],visGroundAxis.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 475 * Array equations: 3 * 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.001567/0.9889, allocations: 1.188 MB / 0.7214 GB, free: 113.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003062/0.9892, allocations: 192.5 kB / 0.7216 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.9895, allocations: 218 kB / 0.7218 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.9896, allocations: 13.53 kB / 0.7218 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.9896, allocations: 0 / 0.7218 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9896, allocations: 6.188 kB / 0.7218 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.9929, allocations: 1.916 MB / 0.7237 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.9929, allocations: 0 / 0.7237 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/0.9932, allocations: 63.16 kB / 0.7237 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.9932, allocations: 2.625 kB / 0.7237 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.9932, allocations: 9.266 kB / 0.7237 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.9932, allocations: 3.375 kB / 0.7237 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9932, allocations: 3.281 kB / 0.7237 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.9941, allocations: 1.113 MB / 0.7248 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.9946, allocations: 294.3 kB / 0.7251 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.9948, allocations: 10.78 kB / 0.7251 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.9953, allocations: 26.7 kB / 0.7251 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.9954, allocations: 21.44 kB / 0.7252 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.9954, allocations: 15.92 kB / 0.7252 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002128/0.9976, allocations: 1.6 MB / 0.7267 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9976, allocations: 0 / 0.7267 GB, free: 111.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003736/1.001, allocations: 0.5541 MB / 0.7273 GB, free: 111.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (33): * Single equations (assignments): 30 * Array equations: 3 * 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.001605/1.003, allocations: 2.035 MB / 0.7293 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004973/1.008, allocations: 2.336 MB / 0.7316 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.008, allocations: 0 / 0.7316 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004384/1.008, allocations: 319.9 kB / 0.7319 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/1.01, allocations: 171.8 kB / 0.732 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04523/1.055, allocations: 82.01 MB / 0.8121 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00201/1.057, allocations: 1.897 MB / 0.814 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003452/1.06, allocations: 1.261 MB / 0.8152 GB, free: 30.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/1.062, allocations: 0.811 MB / 0.816 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/1.062, allocations: 0 / 0.816 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05651/1.118, allocations: 37.01 MB / 0.8521 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001424/1.118, allocations: 185.2 kB / 0.8523 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/4.147, allocations: 0 / 0.8523 GB, free: 15.59 MB / 0.4948 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat does not exist to compare? outputFormat=mat