Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.WorldGroundVisualization,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001357/0.001357, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001248, allocations: 199.9 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2262/0.2262, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 79.86 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006944/0.3414, allocations: 5.398 MB / 0.5358 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.3449, allocations: 1.801 MB / 0.5376 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004928/0.3454, allocations: 18.84 kB / 0.5376 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.3467, allocations: 0.5366 MB / 0.5381 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.3486, allocations: 0.9114 MB / 0.539 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.3487, allocations: 16.41 kB / 0.5391 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.3507, allocations: 1.522 MB / 0.5405 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009165/0.3516, allocations: 0.747 MB / 0.5413 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006887/0.3523, allocations: 0.5209 MB / 0.5418 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.3542, allocations: 1.607 MB / 0.5433 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002648/0.3545, allocations: 89.09 kB / 0.5434 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.3552, allocations: 324.5 kB / 0.5437 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.3558, allocations: 0.7049 MB / 0.5444 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000785/0.3566, allocations: 0.869 MB / 0.5453 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.3595, allocations: 2.807 MB / 0.548 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3595, allocations: 0 / 0.548 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3595, allocations: 0 / 0.548 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.562e-05/0.3596, allocations: 7.875 kB / 0.548 GB, free: 15.78 MB / 414.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.002874/0.3624, allocations: 2.097 MB / 0.5501 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3625, allocations: 16.03 kB / 0.5501 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004017/0.3629, allocations: 373.9 kB / 0.5504 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005117/0.368, allocations: 1.509 MB / 0.5519 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.3698, allocations: 0.8569 MB / 0.5528 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.701e-05/0.3699, allocations: 90.22 kB / 0.5528 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.3701, allocations: 115.9 kB / 0.553 GB, free: 10.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006508/0.3766, allocations: 4.964 MB / 0.5578 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.3767, allocations: 19.81 kB / 0.5578 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.3769, allocations: 63.91 kB / 0.5579 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001946/0.3788, allocations: 1.189 MB / 0.559 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006799/0.3857, allocations: 4.258 MB / 0.5632 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.407, allocations: 20.54 MB / 0.5833 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.4087, allocations: 1.224 MB / 0.5845 GB, free: 8.984 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005875/0.4094, allocations: 386.2 kB / 0.5848 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.4094, allocations: 11.94 kB / 0.5848 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.4094, allocations: 34.56 kB / 0.5849 GB, free: 8.543 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 4.308e-06/0.4095, allocations: 0 / 0.5849 GB, free: 8.543 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002234/0.4117, allocations: 1.162 MB / 0.586 GB, free: 7.379 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.4118, allocations: 136.5 kB / 0.5861 GB, free: 7.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00388/0.4157, allocations: 2.441 MB / 0.5885 GB, free: 4.738 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.4158, allocations: 33.7 kB / 0.5886 GB, free: 4.699 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.4173, allocations: 1.87 MB / 0.5904 GB, free: 2.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003678/0.4177, allocations: 313.8 kB / 0.5907 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.4187, allocations: 0.7939 MB / 0.5915 GB, free: 1.699 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4189, allocations: 349.9 kB / 0.5918 GB, free: 1.352 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.4204, allocations: 1.034 MB / 0.5928 GB, free: 324 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/0.4241, allocations: 3.687 MB / 0.5964 GB, free: 11.3 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006186/0.4303, allocations: 5.171 MB / 0.6014 GB, free: 4.793 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.357e-05/0.4304, allocations: 28 kB / 0.6015 GB, free: 4.766 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007249/0.4376, allocations: 4.456 MB / 0.6058 GB, free: 312 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.4377, allocations: 48 kB / 0.6059 GB, free: 264 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-05/0.4378, allocations: 92 kB / 0.606 GB, free: 172 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/0.438, allocations: 124 kB / 0.6061 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.4402, allocations: 0.8733 MB / 0.6069 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001483/0.4404, allocations: 183.3 kB / 0.6071 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.4427, allocations: 0.5622 MB / 0.6077 GB, free: 14.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/0.443, allocations: 252.2 kB / 0.6079 GB, free: 14.18 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 434 * 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 (476): * Single equations (assignments): 472 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001612/0.4447, allocations: 1.2 MB / 0.6091 GB, free: 12.97 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.445, allocations: 198.6 kB / 0.6093 GB, free: 12.78 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.4453, allocations: 217.7 kB / 0.6095 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.692e-05/0.4454, allocations: 23.98 kB / 0.6095 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4454, allocations: 4 kB / 0.6095 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4454, allocations: 4 kB / 0.6095 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.4487, allocations: 2.061 MB / 0.6115 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4488, allocations: 4 kB / 0.6115 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002879/0.4491, allocations: 63.98 kB / 0.6116 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4491, allocations: 3.938 kB / 0.6116 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.4491, allocations: 15.98 kB / 0.6116 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4491, allocations: 0 / 0.6116 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.4491, allocations: 7.938 kB / 0.6116 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.4505, allocations: 1.202 MB / 0.6128 GB, free: 9.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.4508, allocations: 255.7 kB / 0.613 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.451, allocations: 11.98 kB / 0.613 GB, free: 8.809 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004616/0.4514, allocations: 19.92 kB / 0.613 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/0.4515, allocations: 27.91 kB / 0.6131 GB, free: 8.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.334e-05/0.4516, allocations: 16 kB / 0.6131 GB, free: 8.746 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001954/0.4535, allocations: 1.494 MB / 0.6145 GB, free: 7.234 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4535, allocations: 0 / 0.6145 GB, free: 7.234 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002543/0.4561, allocations: 0.5303 MB / 0.6151 GB, free: 6.703 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (37): * Single equations (assignments): 33 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001803/0.4579, allocations: 1.797 MB / 0.6168 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.4617, allocations: 2.366 MB / 0.6191 GB, free: 2.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4617, allocations: 0 / 0.6191 GB, free: 2.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.4622, allocations: 367.7 kB / 0.6195 GB, free: 2.172 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4634, allocations: 175.8 kB / 0.6196 GB, free: 1.996 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03234/0.4957, allocations: 23.09 MB / 0.6422 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.4976, allocations: 1.861 MB / 0.644 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002547/0.5002, allocations: 1.255 MB / 0.6452 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.5012, allocations: 0.7844 MB / 0.646 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of SimCode: time 8.21e-07/0.5012, allocations: 0 / 0.646 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06598/0.5672, allocations: 29.92 MB / 0.6752 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.21, allocations: 12.34 kB / 0.6752 GB, free: 5.781 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1)