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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001098/0.001098, allocations: 99.8 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 45.91 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004046, allocations: 4 kB / 418 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1799, allocations: 63.47 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.008633/0.1886, allocations: 7.567 MB / 489.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004855/0.1935, allocations: 2.284 MB / 491.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007534/0.1943, allocations: 31.94 kB / 491.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.195, allocations: 334.5 kB / 491.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.1979, allocations: 1.165 MB / 492.9 MB, free: 9.871 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.198, allocations: 19.92 kB / 492.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0362/0.2342, allocations: 24 MB / 0.5048 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.2363, allocations: 0.9293 MB / 0.5057 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007148/0.237, allocations: 402.5 kB / 0.5061 GB, free: 484 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3236/0.5606, allocations: 0.526 MB / 0.5066 GB, free: 33.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005806/0.5612, allocations: 55.22 kB / 0.5067 GB, free: 33.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.5622, allocations: 269.7 kB / 0.5069 GB, free: 33.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.5633, allocations: 0.6267 MB / 0.5075 GB, free: 33.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.564, allocations: 390.2 kB / 0.5079 GB, free: 33.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.5692, allocations: 2.114 MB / 0.51 GB, free: 33.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.5692, allocations: 1.094 kB / 0.51 GB, free: 33.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.5692, allocations: 0 / 0.51 GB, free: 33.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001376/0.5694, allocations: 1.156 kB / 0.51 GB, free: 33.74 MB / 382.1 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.004418/0.5738, allocations: 1.728 MB / 0.5117 GB, free: 32.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.5739, allocations: 8.75 kB / 0.5117 GB, free: 32.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006089/0.5745, allocations: 376.1 kB / 0.512 GB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007082/0.5816, allocations: 1.829 MB / 0.5138 GB, free: 32.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.5847, allocations: 0.8415 MB / 0.5146 GB, free: 32.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/0.5849, allocations: 92.22 kB / 0.5147 GB, free: 32.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003318/0.5852, allocations: 107.1 kB / 0.5148 GB, free: 32.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.5957, allocations: 4.956 MB / 0.5197 GB, free: 30.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.117e-05/0.5958, allocations: 22.62 kB / 0.5197 GB, free: 30.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002362/0.5961, allocations: 60.19 kB / 0.5197 GB, free: 30.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002584/0.5987, allocations: 1.189 MB / 0.5209 GB, free: 30.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00877/0.6075, allocations: 4.227 MB / 0.525 GB, free: 30.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02131/0.6288, allocations: 20.61 MB / 0.5452 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.6301, allocations: 1.177 MB / 0.5463 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.6301, allocations: 4.75 kB / 0.5463 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.6301, allocations: 45.17 kB / 0.5464 GB, free: 11.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 3.466e-06/0.6301, allocations: 4 kB / 0.5464 GB, free: 11.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001454/0.6316, allocations: 1.298 MB / 0.5476 GB, free: 10.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.6316, allocations: 109.4 kB / 0.5477 GB, free: 10.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.6342, allocations: 2.467 MB / 0.5501 GB, free: 7.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.6343, allocations: 33.89 kB / 0.5502 GB, free: 7.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008792/0.6352, allocations: 1.811 MB / 0.5519 GB, free: 6.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.6354, allocations: 286.3 kB / 0.5522 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.6355, allocations: 76 kB / 0.5523 GB, free: 5.723 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.6357, allocations: 0.5228 MB / 0.5528 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.6369, allocations: 1.007 MB / 0.5538 GB, free: 4.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.6394, allocations: 3.696 MB / 0.5574 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.642, allocations: 1.938 MB / 0.5593 GB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.272e-05/0.6421, allocations: 35.95 kB / 0.5593 GB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006903/0.649, allocations: 4.425 MB / 0.5636 GB, free: 8.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.6491, allocations: 50.81 kB / 0.5637 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.383e-05/0.6492, allocations: 96 kB / 0.5638 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.6493, allocations: 140 kB / 0.5639 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/0.6516, allocations: 0.885 MB / 0.5648 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001446/0.6518, allocations: 183.3 kB / 0.5649 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.6545, allocations: 0.5605 MB / 0.5655 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/0.6549, allocations: 260 kB / 0.5657 GB, free: 6.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 442 * Number of states: 0 () * Number of discrete variables: 17 (visGroundAxis.arrowLine.twoHeadedArrow,visGroundAxis.headAtOrigin,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.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 (484): * Single equations (assignments): 481 * 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.00217/0.657, allocations: 1.198 MB / 0.5669 GB, free: 5.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/0.6574, allocations: 189.5 kB / 0.5671 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/0.6577, allocations: 218.1 kB / 0.5673 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.6578, allocations: 8 kB / 0.5673 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.6578, allocations: 4 kB / 0.5673 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.6578, allocations: 3.984 kB / 0.5673 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003786/0.6616, allocations: 2.034 MB / 0.5693 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.6616, allocations: 4 kB / 0.5693 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.6619, allocations: 59.89 kB / 0.5694 GB, free: 2.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.6619, allocations: 5.641 kB / 0.5694 GB, free: 2.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.6619, allocations: 11.67 kB / 0.5694 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.662, allocations: 0 / 0.5694 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.662, allocations: 0 / 0.5694 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.6632, allocations: 1.086 MB / 0.5704 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.6636, allocations: 254.5 kB / 0.5707 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.6638, allocations: 4.875 kB / 0.5707 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/0.6642, allocations: 23.92 kB / 0.5707 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.6643, allocations: 27.92 kB / 0.5707 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.6644, allocations: 19.98 kB / 0.5708 GB, free: 1.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002549/0.6669, allocations: 1.502 MB / 0.5722 GB, free: 15.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6669, allocations: 0 / 0.5722 GB, free: 15.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003849/0.6708, allocations: 0.5414 MB / 0.5728 GB, free: 15.28 MB / 414.1 MB 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 () * Number of clocked 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.0019/0.6727, allocations: 1.805 MB / 0.5745 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004272/0.677, allocations: 2.315 MB / 0.5768 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.677, allocations: 0 / 0.5768 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.6775, allocations: 336.4 kB / 0.5771 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/0.6785, allocations: 161.5 kB / 0.5773 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06218/0.7407, allocations: 81.85 MB / 0.6572 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/0.7426, allocations: 1.905 MB / 0.659 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003055/0.7457, allocations: 1.263 MB / 0.6603 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.7467, allocations: 0.7883 MB / 0.661 GB, free: 2.043 MB / 494.1 MB Notification: Performance of SimCode: time 1.393e-06/0.7467, allocations: 0 / 0.661 GB, free: 2.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06505/0.8118, allocations: 34.97 MB / 0.6952 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/0.812, allocations: 179.9 kB / 0.6954 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.202/4.014, allocations: 4.062 kB / 0.6954 GB, free: 15.04 MB / 0.5294 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