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.001821/0.001822, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.23/0.23, allocations: 46.1 MB / 344.2 MB, free: 11.53 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.002291/0.002291, allocations: 76.94 kB / 417.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1204, allocations: 62.47 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.006862/0.1273, allocations: 5.396 MB / 485.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.1307, allocations: 1.799 MB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.1312, allocations: 20 kB / 487.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.1325, allocations: 0.5291 MB / 488 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.1343, allocations: 0.9068 MB / 488.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.1345, allocations: 19.98 kB / 488.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.1362, allocations: 1.521 MB / 490.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009199/0.1371, allocations: 0.7514 MB / 491.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.1378, allocations: 0.5174 MB / 491.7 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.1397, allocations: 1.617 MB / 493.3 MB, free: 7.965 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002453/0.14, allocations: 88 kB / 493.4 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006554/0.1406, allocations: 315.5 kB / 493.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006341/0.1413, allocations: 0.7049 MB / 494.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007999/0.1421, allocations: 0.8612 MB / 495.2 MB, free: 5.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002995/0.1451, allocations: 2.644 MB / 497.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1451, allocations: 0 / 497.9 MB, free: 3.344 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1451, allocations: 4 kB / 497.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.16e-05/0.1452, allocations: 4 kB / 497.9 MB, free: 3.336 MB / 366.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.003334/0.1485, allocations: 2.042 MB / 499.9 MB, free: 1.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1486, allocations: 8.031 kB / 499.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004096/0.149, allocations: 377.8 kB / 0.4886 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005178/0.1542, allocations: 1.503 MB / 0.4901 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.1558, allocations: 0.8526 MB / 0.4909 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.1559, allocations: 86.22 kB / 0.491 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.1561, allocations: 111.9 kB / 0.4911 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006409/0.1625, allocations: 4.972 MB / 0.4959 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.434e-05/0.1626, allocations: 31.75 kB / 0.496 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.1628, allocations: 59.91 kB / 0.496 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.1648, allocations: 1.185 MB / 0.4972 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007616/0.1724, allocations: 4.25 MB / 0.5013 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2306/0.4031, allocations: 20.56 MB / 0.5214 GB, free: 23.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.4043, allocations: 1.22 MB / 0.5226 GB, free: 22.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004269/0.4048, allocations: 381.3 kB / 0.523 GB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.4048, allocations: 6.969 kB / 0.523 GB, free: 22.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.4048, allocations: 40.67 kB / 0.523 GB, free: 22.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.497e-06/0.4048, allocations: 0 / 0.523 GB, free: 22.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.001598/0.4064, allocations: 1.157 MB / 0.5241 GB, free: 21.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.4065, allocations: 133.8 kB / 0.5243 GB, free: 21.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003102/0.4096, allocations: 2.424 MB / 0.5266 GB, free: 20.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.4096, allocations: 30.86 kB / 0.5267 GB, free: 20.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009545/0.4106, allocations: 1.791 MB / 0.5284 GB, free: 19.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.4109, allocations: 301.1 kB / 0.5287 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008089/0.4117, allocations: 0.7896 MB / 0.5295 GB, free: 18.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.4118, allocations: 360.3 kB / 0.5298 GB, free: 18.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/0.4131, allocations: 1.031 MB / 0.5308 GB, free: 18 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/0.4153, allocations: 3.693 MB / 0.5344 GB, free: 14.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.4194, allocations: 5.166 MB / 0.5395 GB, free: 9.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.663e-05/0.4195, allocations: 30.61 kB / 0.5395 GB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.006007/0.4255, allocations: 4.444 MB / 0.5438 GB, free: 7.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.637e-05/0.4256, allocations: 44.38 kB / 0.5439 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/0.4257, allocations: 95.56 kB / 0.544 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001024/0.4258, allocations: 124.2 kB / 0.5441 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.4279, allocations: 0.8718 MB / 0.5449 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001024/0.428, allocations: 182.7 kB / 0.5451 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/0.4305, allocations: 0.5582 MB / 0.5457 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002434/0.4308, allocations: 248.7 kB / 0.5459 GB, free: 6.773 MB / 382.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.001259/0.4321, allocations: 1.202 MB / 0.5471 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.4323, allocations: 186.2 kB / 0.5473 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.4326, allocations: 213.7 kB / 0.5475 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/0.4326, allocations: 23.98 kB / 0.5475 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.4326, allocations: 8 kB / 0.5475 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4326, allocations: 0 / 0.5475 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.4354, allocations: 2.063 MB / 0.5495 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4355, allocations: 3.938 kB / 0.5495 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.4357, allocations: 63.95 kB / 0.5496 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.4357, allocations: 0 / 0.5496 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.4358, allocations: 11.94 kB / 0.5496 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4358, allocations: 7.938 kB / 0.5496 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4358, allocations: 4.562 kB / 0.5496 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.4366, allocations: 1.186 MB / 0.5508 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.4369, allocations: 246.5 kB / 0.551 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.4371, allocations: 11.92 kB / 0.551 GB, free: 1.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004718/0.4375, allocations: 19.92 kB / 0.551 GB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.4376, allocations: 31.91 kB / 0.551 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.4376, allocations: 20 kB / 0.5511 GB, free: 1.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001375/0.439, allocations: 1.49 MB / 0.5525 GB, free: 380 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.439, allocations: 0 / 0.5525 GB, free: 380 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002438/0.4415, allocations: 0.5265 MB / 0.553 GB, free: 15.85 MB / 398.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.001758/0.4432, allocations: 1.792 MB / 0.5548 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003952/0.4472, allocations: 2.461 MB / 0.5572 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4472, allocations: 0 / 0.5572 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.4477, allocations: 372.7 kB / 0.5575 GB, free: 11.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4488, allocations: 163.7 kB / 0.5577 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/0.4824, allocations: 24.4 MB / 0.5815 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/0.485, allocations: 1.861 MB / 0.5833 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002943/0.4879, allocations: 1.251 MB / 0.5846 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.4891, allocations: 0.7883 MB / 0.5853 GB, free: 10.71 MB / 430.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4891, allocations: 0 / 0.5853 GB, free: 10.71 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0658/0.5549, allocations: 30.64 MB / 0.6153 GB, free: 12.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.105/9.66, allocations: 8.375 kB / 0.6153 GB, free: 12.2 MB / 462.1 MB (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)