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.001159/0.00116, allocations: 197 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.324/1.324, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009515/0.0009515, allocations: 93.09 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.202/0.202, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.965e-05, allocations: 3.984 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 63.25 MB / 0.5114 GB, free: 6.703 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.4862, allocations: 94.8 MB / 0.604 GB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.4864, allocations: 70.84 kB / 0.6041 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.5889, allocations: 43.75 MB / 0.6468 GB, free: 9.098 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.589, allocations: 0 / 0.6468 GB, free: 9.098 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.286e-05/0.589, allocations: 32 kB / 0.6468 GB, free: 9.066 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: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.003613/0.5927, allocations: 1.899 MB / 0.6487 GB, free: 7.246 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5927, allocations: 11.97 kB / 0.6487 GB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005024/0.5932, allocations: 415 kB / 0.6491 GB, free: 6.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006329/0.5996, allocations: 1.697 MB / 0.6508 GB, free: 5.258 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/0.6019, allocations: 1.104 MB / 0.6518 GB, free: 4.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.602, allocations: 146 kB / 0.652 GB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003412/0.6023, allocations: 184.4 kB / 0.6522 GB, free: 4.086 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006976/0.6093, allocations: 5.48 MB / 0.6575 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.603e-05/0.6094, allocations: 35.69 kB / 0.6575 GB, free: 15.08 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002571/0.6097, allocations: 103.8 kB / 0.6576 GB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006446/0.6103, allocations: 0.5715 MB / 0.6582 GB, free: 14.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006471/0.6168, allocations: 4.469 MB / 0.6626 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02424/0.6411, allocations: 27.94 MB / 0.6898 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.6428, allocations: 1.249 MB / 0.6911 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004545/0.6433, allocations: 355.3 kB / 0.6914 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/0.6455, allocations: 1.44 MB / 0.6928 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.6456, allocations: 46.45 kB / 0.6929 GB, free: 10.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=57): time 2.194e-06/0.6456, allocations: 0 / 0.6929 GB, free: 10.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.001585/0.6472, allocations: 0.8334 MB / 0.6937 GB, free: 9.555 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.6472, allocations: 144.5 kB / 0.6938 GB, free: 9.383 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/0.6502, allocations: 2.292 MB / 0.696 GB, free: 7.055 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.6502, allocations: 29.7 kB / 0.6961 GB, free: 7.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.6514, allocations: 1.825 MB / 0.6979 GB, free: 5.164 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.6517, allocations: 265.1 kB / 0.6981 GB, free: 4.902 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.6518, allocations: 76 kB / 0.6982 GB, free: 4.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003078/0.6521, allocations: 0.5109 MB / 0.6987 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.6536, allocations: 1.058 MB / 0.6997 GB, free: 3.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00333/0.6569, allocations: 3.733 MB / 0.7034 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.6595, allocations: 2.003 MB / 0.7053 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.4e-05/0.6596, allocations: 28 kB / 0.7053 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.006661/0.6662, allocations: 4.538 MB / 0.7098 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.6663, allocations: 48 kB / 0.7098 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.932e-05/0.6664, allocations: 100.4 kB / 0.7099 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/0.6666, allocations: 140 kB / 0.71 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/0.6689, allocations: 0.9045 MB / 0.7109 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001322/0.669, allocations: 187.3 kB / 0.7111 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/0.6715, allocations: 0.5644 MB / 0.7117 GB, free: 5.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003147/0.6719, allocations: 287.9 kB / 0.7119 GB, free: 5.371 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 () * 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.0004127/0.6723, allocations: 416.3 kB / 0.7123 GB, free: 4.957 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002554/0.6725, allocations: 181.6 kB / 0.7125 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.6729, allocations: 221.7 kB / 0.7127 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.673, allocations: 11.95 kB / 0.7127 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.673, allocations: 0 / 0.7127 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.673, allocations: 3.938 kB / 0.7127 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.6761, allocations: 1.916 MB / 0.7146 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.6762, allocations: 7.953 kB / 0.7146 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.6764, allocations: 59.91 kB / 0.7147 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.6764, allocations: 0 / 0.7147 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.6765, allocations: 19.92 kB / 0.7147 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/0.6765, allocations: 3.984 kB / 0.7147 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6765, allocations: 4 kB / 0.7147 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.6776, allocations: 1.1 MB / 0.7158 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/0.6779, allocations: 294.5 kB / 0.716 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.6781, allocations: 15.95 kB / 0.7161 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.6786, allocations: 19.98 kB / 0.7161 GB, free: 0.9492 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.6787, allocations: 19.97 kB / 0.7161 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/0.6787, allocations: 20 kB / 0.7161 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001952/0.6807, allocations: 1.574 MB / 0.7177 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6807, allocations: 0 / 0.7177 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002392/0.6831, allocations: 0.5535 MB / 0.7182 GB, free: 14.76 MB / 0.5105 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 () * 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.001546/0.6846, allocations: 2.028 MB / 0.7202 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003364/0.688, allocations: 2.321 MB / 0.7224 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.688, allocations: 0.8125 kB / 0.7224 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.6884, allocations: 308.4 kB / 0.7227 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.6891, allocations: 167.9 kB / 0.7229 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007153/0.6962, allocations: 3.848 MB / 0.7267 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.6979, allocations: 1.9 MB / 0.7285 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002879/0.7008, allocations: 1.263 MB / 0.7297 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.702, allocations: 0.8078 MB / 0.7305 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of SimCode: time 1.072e-06/0.702, allocations: 4 kB / 0.7305 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/1, allocations: 37.11 MB / 0.7668 GB, free: 161.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001216/1, allocations: 152.5 kB / 0.7669 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/3.926, allocations: 0 / 0.7669 GB, free: 160.9 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