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.0007589/0.0007589, allocations: 100.5 kB / 17.01 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008422/0.0008424, allocations: 196.7 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 45.91 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1615, allocations: 63.47 MB / 481.6 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.01068/0.1722, allocations: 7.936 MB / 489.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006856/0.1791, allocations: 2.217 MB / 491.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.1806, allocations: 31.94 kB / 491.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.1817, allocations: 386.3 kB / 492.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003879/0.1856, allocations: 1.296 MB / 493.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.1859, allocations: 19.97 kB / 493.5 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3477/0.5336, allocations: 30.09 MB / 0.5113 GB, free: 33.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002715/0.5364, allocations: 0.9349 MB / 0.5122 GB, free: 33.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.5375, allocations: 487.8 kB / 0.5127 GB, free: 33.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.5389, allocations: 0.7493 MB / 0.5134 GB, free: 33.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.5392, allocations: 55 kB / 0.5135 GB, free: 33.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000923/0.5402, allocations: 271.5 kB / 0.5137 GB, free: 33.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.5414, allocations: 0.6719 MB / 0.5144 GB, free: 33.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005287/0.5419, allocations: 387 kB / 0.5148 GB, free: 33.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.5463, allocations: 2.111 MB / 0.5168 GB, free: 33.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.5463, allocations: 0 / 0.5168 GB, free: 33.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5463, allocations: 0 / 0.5168 GB, free: 33.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.5464, allocations: 0 / 0.5168 GB, free: 33.32 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.004721/0.5512, allocations: 1.725 MB / 0.5185 GB, free: 32.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/0.5512, allocations: 13.5 kB / 0.5185 GB, free: 32.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000639/0.5519, allocations: 380.5 kB / 0.5189 GB, free: 32.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.5572, allocations: 1.539 MB / 0.5204 GB, free: 32.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.5595, allocations: 0.8465 MB / 0.5212 GB, free: 31.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.5596, allocations: 83.75 kB / 0.5213 GB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.5599, allocations: 108.5 kB / 0.5214 GB, free: 31.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008472/0.5684, allocations: 4.962 MB / 0.5263 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.361e-05/0.5685, allocations: 24.38 kB / 0.5263 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.5687, allocations: 63.39 kB / 0.5263 GB, free: 29.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002041/0.5708, allocations: 1.183 MB / 0.5275 GB, free: 29.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007399/0.5782, allocations: 4.228 MB / 0.5316 GB, free: 28.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01878/0.597, allocations: 20.61 MB / 0.5517 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.5982, allocations: 1.176 MB / 0.5529 GB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.5986, allocations: 346.1 kB / 0.5532 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.5986, allocations: 8 kB / 0.5532 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.5986, allocations: 34.56 kB / 0.5533 GB, free: 5.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.795e-06/0.5986, allocations: 0 / 0.5533 GB, free: 5.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001491/0.6001, allocations: 1.044 MB / 0.5543 GB, free: 4.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.6002, allocations: 106.8 kB / 0.5544 GB, free: 3.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/0.6032, allocations: 2.463 MB / 0.5568 GB, free: 1.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.6033, allocations: 35.89 kB / 0.5568 GB, free: 1.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.6045, allocations: 1.82 MB / 0.5586 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003161/0.6049, allocations: 276.1 kB / 0.5589 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.605, allocations: 82.27 kB / 0.5589 GB, free: 15.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003553/0.6054, allocations: 0.5188 MB / 0.5595 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/0.6071, allocations: 1.007 MB / 0.5604 GB, free: 13.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003751/0.6108, allocations: 3.714 MB / 0.5641 GB, free: 8.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.6139, allocations: 1.934 MB / 0.566 GB, free: 6.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-05/0.6139, allocations: 28 kB / 0.566 GB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008088/0.622, allocations: 4.428 MB / 0.5703 GB, free: 2.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.455e-05/0.6221, allocations: 48 kB / 0.5703 GB, free: 2.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.6222, allocations: 99.98 kB / 0.5704 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.6224, allocations: 140 kB / 0.5706 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/0.6249, allocations: 0.8811 MB / 0.5714 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001645/0.6251, allocations: 187.3 kB / 0.5716 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/0.6284, allocations: 0.5569 MB / 0.5722 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005089/0.6289, allocations: 258.8 kB / 0.5724 GB, free: 140 kB / 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.002629/0.6315, allocations: 1.2 MB / 0.5736 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004179/0.632, allocations: 181.6 kB / 0.5738 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.6324, allocations: 222.1 kB / 0.574 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.47e-05/0.6324, allocations: 12.03 kB / 0.574 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.855e-05/0.6324, allocations: 4 kB / 0.574 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6325, allocations: 0.875 kB / 0.574 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004114/0.6366, allocations: 2.046 MB / 0.576 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.6366, allocations: 3.984 kB / 0.576 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003127/0.6369, allocations: 59.91 kB / 0.576 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.637, allocations: 4 kB / 0.576 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.637, allocations: 8 kB / 0.5761 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.637, allocations: 1.641 kB / 0.5761 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.637, allocations: 4.266 kB / 0.5761 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.6382, allocations: 1.063 MB / 0.5771 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/0.6387, allocations: 246.5 kB / 0.5773 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.6388, allocations: 11.92 kB / 0.5773 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/0.6393, allocations: 15.98 kB / 0.5774 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.6393, allocations: 23.88 kB / 0.5774 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.6394, allocations: 27.95 kB / 0.5774 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002378/0.6418, allocations: 1.506 MB / 0.5789 GB, free: 9.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6418, allocations: 0 / 0.5789 GB, free: 9.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003677/0.6455, allocations: 0.536 MB / 0.5794 GB, free: 8.852 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.002065/0.6476, allocations: 1.648 MB / 0.581 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004576/0.6522, allocations: 2.295 MB / 0.5833 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6522, allocations: 1.641 kB / 0.5833 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.6526, allocations: 338.1 kB / 0.5836 GB, free: 4.578 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.654, allocations: 155.5 kB / 0.5837 GB, free: 4.422 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03186/0.6859, allocations: 15.4 MB / 0.5988 GB, free: 2.859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/0.6878, allocations: 1.862 MB / 0.6006 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003149/0.691, allocations: 1.271 MB / 0.6018 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00121/0.6923, allocations: 0.7844 MB / 0.6026 GB, free: 14.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.783e-06/0.6923, allocations: 0 / 0.6026 GB, free: 14.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06661/0.7589, allocations: 34.99 MB / 0.6368 GB, free: 12.12 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.7591, allocations: 194.1 kB / 0.6369 GB, free: 11.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/3.611, allocations: 4 kB / 0.6369 GB, free: 11.88 MB / 478.1 MB (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