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.001383/0.001383, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2378/0.2378, allocations: 46.1 MB / 344.2 MB, free: 11.58 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.002259/0.00226, allocations: 82.86 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1286, allocations: 62.46 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.0075/0.1361, allocations: 5.396 MB / 485.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.1396, allocations: 1.795 MB / 487.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.14, allocations: 24 kB / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.1413, allocations: 0.5369 MB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.1431, allocations: 0.9029 MB / 488.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.422e-05/0.1432, allocations: 11.98 kB / 488.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001828/0.1451, allocations: 1.522 MB / 490.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009629/0.146, allocations: 0.7475 MB / 491.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007216/0.1468, allocations: 0.5291 MB / 491.7 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.1488, allocations: 1.609 MB / 493.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002724/0.149, allocations: 92 kB / 493.4 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006974/0.1497, allocations: 315.5 kB / 493.7 MB, free: 7.609 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00069/0.1504, allocations: 0.701 MB / 494.4 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000792/0.1512, allocations: 0.869 MB / 495.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0026/0.1539, allocations: 2.644 MB / 497.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1539, allocations: 0 / 497.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1539, allocations: 0 / 497.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.702e-05/0.1539, allocations: 4 kB / 497.9 MB, free: 3.375 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.002997/0.1569, allocations: 2.039 MB / 499.9 MB, free: 1.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.157, allocations: 8.031 kB / 499.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004229/0.1574, allocations: 381.8 kB / 0.4886 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005214/0.1626, allocations: 1.495 MB / 0.49 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/0.1647, allocations: 0.8565 MB / 0.4909 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.861e-05/0.1648, allocations: 90.22 kB / 0.491 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003001/0.1651, allocations: 111.9 kB / 0.4911 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007331/0.1724, allocations: 4.968 MB / 0.4959 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.1725, allocations: 35.67 kB / 0.496 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002661/0.1728, allocations: 59.91 kB / 0.496 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/0.1749, allocations: 1.185 MB / 0.4972 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007661/0.1826, allocations: 4.25 MB / 0.5013 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2259/0.4086, allocations: 20.56 MB / 0.5214 GB, free: 23.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.4098, allocations: 1.226 MB / 0.5226 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.4102, allocations: 376.7 kB / 0.523 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.4102, allocations: 11.59 kB / 0.523 GB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4103, allocations: 39.19 kB / 0.523 GB, free: 22.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 2.815e-06/0.4103, allocations: 0 / 0.523 GB, free: 22.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.00168/0.412, allocations: 1.156 MB / 0.5241 GB, free: 21.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.412, allocations: 134 kB / 0.5243 GB, free: 21.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003141/0.4152, allocations: 2.425 MB / 0.5266 GB, free: 20.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.4152, allocations: 36.33 kB / 0.5267 GB, free: 20.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008462/0.4161, allocations: 1.788 MB / 0.5284 GB, free: 19.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.4163, allocations: 301.1 kB / 0.5287 GB, free: 19.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009464/0.4173, allocations: 0.7869 MB / 0.5295 GB, free: 18.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4174, allocations: 356 kB / 0.5298 GB, free: 18.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.419, allocations: 1.035 MB / 0.5308 GB, free: 18.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/0.4216, allocations: 3.693 MB / 0.5344 GB, free: 14.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004143/0.4258, allocations: 5.17 MB / 0.5395 GB, free: 9.219 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-05/0.4259, allocations: 26.53 kB / 0.5395 GB, free: 9.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008054/0.434, allocations: 4.446 MB / 0.5438 GB, free: 7.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.4341, allocations: 44.44 kB / 0.5439 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.437e-05/0.4342, allocations: 99.48 kB / 0.544 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001021/0.4343, allocations: 122.9 kB / 0.5441 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.4364, allocations: 0.8687 MB / 0.5449 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001171/0.4366, allocations: 185.3 kB / 0.5451 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.4392, allocations: 0.551 MB / 0.5457 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/0.4395, allocations: 251.7 kB / 0.5459 GB, free: 6.812 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.001315/0.4408, allocations: 1.201 MB / 0.5471 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/0.4411, allocations: 181.9 kB / 0.5472 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.4414, allocations: 221.7 kB / 0.5475 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-05/0.4415, allocations: 16 kB / 0.5475 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4415, allocations: 6.047 kB / 0.5475 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.4415, allocations: 0.5625 kB / 0.5475 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.4444, allocations: 2.072 MB / 0.5495 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4444, allocations: 0 / 0.5495 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.4447, allocations: 63.95 kB / 0.5496 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4447, allocations: 4 kB / 0.5496 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.827e-05/0.4447, allocations: 11.94 kB / 0.5496 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4447, allocations: 7.875 kB / 0.5496 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4447, allocations: 4.875 kB / 0.5496 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.4456, allocations: 1.186 MB / 0.5507 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.4459, allocations: 238.6 kB / 0.551 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.446, allocations: 11.94 kB / 0.551 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.4465, allocations: 27.48 kB / 0.551 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.4466, allocations: 23.91 kB / 0.551 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.4466, allocations: 20 kB / 0.5511 GB, free: 1.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001377/0.448, allocations: 1.49 MB / 0.5525 GB, free: 436 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.448, allocations: 4 kB / 0.5525 GB, free: 432 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002681/0.4507, allocations: 0.5255 MB / 0.553 GB, free: 15.9 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.001856/0.4526, allocations: 1.801 MB / 0.5548 GB, free: 14.08 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004154/0.4567, allocations: 2.459 MB / 0.5572 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4567, allocations: 0 / 0.5572 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005224/0.4573, allocations: 367.7 kB / 0.5575 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.4585, allocations: 168.5 kB / 0.5577 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03405/0.4926, allocations: 24.41 MB / 0.5815 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.4946, allocations: 1.857 MB / 0.5833 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002918/0.4975, allocations: 1.252 MB / 0.5846 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/0.4987, allocations: 0.7844 MB / 0.5853 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4987, allocations: 0 / 0.5853 GB, free: 10.76 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06498/0.5636, allocations: 30.65 MB / 0.6153 GB, free: 12.25 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.166/9.73, allocations: 5.5 kB / 0.6153 GB, free: 12.24 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1)