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.001407/0.001407, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008618/0.0008619, allocations: 93 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1778/0.1778, allocations: 45.15 MB / 383.8 MB, free: 276 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.539e-05, allocations: 0 / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4852, allocations: 94.14 MB / 0.5964 GB, free: 8.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.4854, allocations: 71.62 kB / 0.5965 GB, free: 8.172 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1075/0.593, allocations: 43.07 MB / 0.6385 GB, free: 3.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.593, allocations: 0 / 0.6385 GB, free: 3.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.413e-05/0.5931, allocations: 32 kB / 0.6385 GB, free: 3.316 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.006025/0.5992, allocations: 1.892 MB / 0.6404 GB, free: 1.512 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.5992, allocations: 8.031 kB / 0.6404 GB, free: 1.504 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007573/0.6068, allocations: 1.699 MB / 0.6421 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00312/0.61, allocations: 1.109 MB / 0.6431 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.6101, allocations: 60 kB / 0.6432 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008639/0.611, allocations: 108 kB / 0.6433 GB, free: 14.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005369/0.6164, allocations: 3.031 MB / 0.6463 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009196/0.6256, allocations: 5.186 MB / 0.6513 GB, free: 7.805 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.6258, allocations: 39.58 kB / 0.6514 GB, free: 7.766 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005353/0.6263, allocations: 24 kB / 0.6514 GB, free: 7.742 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000801/0.6271, allocations: 0.5768 MB / 0.6519 GB, free: 7.164 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02774/0.6549, allocations: 26.75 MB / 0.6781 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.6564, allocations: 1.159 MB / 0.6792 GB, free: 10.19 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.6569, allocations: 326.5 kB / 0.6795 GB, free: 9.859 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.657, allocations: 4 kB / 0.6795 GB, free: 9.855 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.657, allocations: 38.56 kB / 0.6796 GB, free: 9.809 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.777e-06/0.657, allocations: 0 / 0.6796 GB, free: 9.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=60): time 0.00182/0.6588, allocations: 0.78 MB / 0.6803 GB, free: 9.023 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.008e-05/0.659, allocations: 111 kB / 0.6804 GB, free: 8.891 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004532/0.6635, allocations: 2.076 MB / 0.6825 GB, free: 6.777 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.65e-05/0.6636, allocations: 29.64 kB / 0.6825 GB, free: 6.742 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.6653, allocations: 1.871 MB / 0.6843 GB, free: 4.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.6657, allocations: 277 kB / 0.6846 GB, free: 4.566 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.666, allocations: 7.875 kB / 0.6846 GB, free: 4.559 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003699/0.6664, allocations: 0.5036 MB / 0.6851 GB, free: 4.043 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.668, allocations: 1.039 MB / 0.6861 GB, free: 3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/0.6717, allocations: 3.854 MB / 0.6898 GB, free: 13.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/0.6749, allocations: 2.021 MB / 0.6918 GB, free: 11.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.645e-05/0.675, allocations: 28 kB / 0.6918 GB, free: 11.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=532) (initialization): time 0.007204/0.6822, allocations: 4.168 MB / 0.6959 GB, free: 7.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.6823, allocations: 49 kB / 0.696 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001055/0.6824, allocations: 100 kB / 0.6961 GB, free: 7.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.6826, allocations: 152 kB / 0.6962 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/0.6852, allocations: 0.963 MB / 0.6971 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001353/0.6853, allocations: 199.2 kB / 0.6973 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.6881, allocations: 0.4941 MB / 0.6978 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004293/0.6885, allocations: 296 kB / 0.6981 GB, free: 5.238 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (508): * Single equations (assignments): 505 * 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.0004765/0.689, allocations: 348.2 kB / 0.6984 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001224/0.6903, allocations: 0.7426 MB / 0.6992 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.6905, allocations: 169.8 kB / 0.6993 GB, free: 3.969 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.6909, allocations: 204.4 kB / 0.6995 GB, free: 3.77 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.1e-05/0.6909, allocations: 8 kB / 0.6995 GB, free: 3.762 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.6909, allocations: 4 kB / 0.6995 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6909, allocations: 3.984 kB / 0.6995 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.6939, allocations: 1.742 MB / 0.7012 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.6939, allocations: 0 / 0.7012 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.6942, allocations: 67.89 kB / 0.7013 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6942, allocations: 4 kB / 0.7013 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.6942, allocations: 4 kB / 0.7013 GB, free: 1.887 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.6942, allocations: 4 kB / 0.7013 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6943, allocations: 7.891 kB / 0.7013 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.6953, allocations: 1.037 MB / 0.7023 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.6958, allocations: 270.6 kB / 0.7026 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.696, allocations: 7.984 kB / 0.7026 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.6965, allocations: 11.98 kB / 0.7026 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.6965, allocations: 27.91 kB / 0.7026 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.6966, allocations: 20 kB / 0.7027 GB, free: 456 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001987/0.6986, allocations: 1.35 MB / 0.704 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6986, allocations: 0 / 0.704 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002991/0.7016, allocations: 0.5027 MB / 0.7045 GB, free: 14.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * 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.001743/0.7034, allocations: 1.775 MB / 0.7062 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00401/0.7074, allocations: 2.236 MB / 0.7084 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7074, allocations: 4 kB / 0.7084 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003901/0.7078, allocations: 323.8 kB / 0.7087 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009898/0.7088, allocations: 135 kB / 0.7088 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.7176, allocations: 3.774 MB / 0.7125 GB, free: 6.254 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.7195, allocations: 1.901 MB / 0.7144 GB, free: 4.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003263/0.7228, allocations: 1.341 MB / 0.7157 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/0.7241, allocations: 0.8078 MB / 0.7165 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.7241, allocations: 0 / 0.7165 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3232/1.047, allocations: 35.02 MB / 0.7507 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/1.048, allocations: 143.7 kB / 0.7508 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.77/3.818, allocations: 0 / 0.7508 GB, free: 156.2 MB / 0.5261 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