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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001741/0.001741, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002092/0.002092, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 230.5 MB / 258.2 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2225/0.2225, allocations: 46.92 MB / 361.6 MB, free: 4.234 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002326/0.002326, allocations: 88.14 kB / 0.497 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3321, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007015/0.3391, allocations: 5.44 MB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003418/0.3425, allocations: 1.824 MB / 0.5686 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003401/0.3429, allocations: 23.94 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.344, allocations: 0.5564 MB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3458, allocations: 0.9185 MB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.907e-05/0.3459, allocations: 19.91 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3477, allocations: 1.522 MB / 0.5715 GB, free: 9.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008984/0.3486, allocations: 0.7459 MB / 0.5723 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006531/0.3493, allocations: 0.5252 MB / 0.5728 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.3515, allocations: 1.703 MB / 0.5745 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.3517, allocations: 92 kB / 0.5745 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.3523, allocations: 327.5 kB / 0.5749 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006189/0.3529, allocations: 0.7164 MB / 0.5756 GB, free: 5.855 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008552/0.3538, allocations: 0.8729 MB / 0.5764 GB, free: 4.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.3571, allocations: 2.804 MB / 0.5791 GB, free: 2.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.141e-05/0.3571, allocations: 3.984 kB / 0.5791 GB, free: 2.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3571, allocations: 0 / 0.5791 GB, free: 2.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.714e-05/0.3572, allocations: 4 kB / 0.5791 GB, free: 2.152 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.003454/0.3607, allocations: 2.03 MB / 0.5811 GB, free: 80 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3607, allocations: 8.031 kB / 0.5811 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004403/0.3611, allocations: 377.8 kB / 0.5815 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004781/0.3659, allocations: 1.52 MB / 0.583 GB, free: 14.17 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.3677, allocations: 0.7925 MB / 0.5838 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.3678, allocations: 94.2 kB / 0.5838 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.3681, allocations: 107.9 kB / 0.584 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007415/0.3755, allocations: 4.972 MB / 0.5888 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.3755, allocations: 23.81 kB / 0.5888 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.3757, allocations: 63.89 kB / 0.5889 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001982/0.3777, allocations: 1.181 MB / 0.59 GB, free: 6.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007476/0.3852, allocations: 4.258 MB / 0.5942 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.4082, allocations: 20.48 MB / 0.6142 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.4095, allocations: 0.7196 MB / 0.6149 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004777/0.4099, allocations: 355.2 kB / 0.6152 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.41, allocations: 4 kB / 0.6152 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.41, allocations: 38.56 kB / 0.6153 GB, free: 11.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 2.504e-06/0.41, allocations: 0 / 0.6153 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001735/0.4117, allocations: 1.151 MB / 0.6164 GB, free: 10.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.4118, allocations: 140.5 kB / 0.6165 GB, free: 10.45 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003068/0.4149, allocations: 2.437 MB / 0.6189 GB, free: 7.973 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.4149, allocations: 29.7 kB / 0.6189 GB, free: 7.938 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/0.4164, allocations: 1.874 MB / 0.6208 GB, free: 6.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002953/0.4167, allocations: 317.8 kB / 0.6211 GB, free: 5.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009621/0.4176, allocations: 0.794 MB / 0.6219 GB, free: 4.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.4178, allocations: 345.9 kB / 0.6222 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.4193, allocations: 1.034 MB / 0.6232 GB, free: 3.551 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/0.4231, allocations: 3.691 MB / 0.6268 GB, free: 14.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006106/0.4292, allocations: 5.167 MB / 0.6318 GB, free: 8.027 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.116e-05/0.4293, allocations: 24 kB / 0.6319 GB, free: 8.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007961/0.4372, allocations: 4.461 MB / 0.6362 GB, free: 3.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/0.4373, allocations: 44 kB / 0.6363 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.4374, allocations: 99.98 kB / 0.6364 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.4376, allocations: 124 kB / 0.6365 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/0.44, allocations: 0.8694 MB / 0.6373 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001593/0.4401, allocations: 183.3 kB / 0.6375 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002644/0.4428, allocations: 0.5703 MB / 0.6381 GB, free: 1.652 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.4431, allocations: 256 kB / 0.6383 GB, free: 1.402 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.001813/0.4449, allocations: 1.185 MB / 0.6395 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.4453, allocations: 202.6 kB / 0.6397 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003715/0.4456, allocations: 217.8 kB / 0.6399 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.376e-05/0.4457, allocations: 12 kB / 0.6399 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.4457, allocations: 7.984 kB / 0.6399 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.4457, allocations: 4.031 kB / 0.6399 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.4494, allocations: 2.049 MB / 0.6419 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4494, allocations: 0 / 0.6419 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.4497, allocations: 63.91 kB / 0.642 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.976e-06/0.4498, allocations: 4 kB / 0.642 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.4498, allocations: 8 kB / 0.642 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.4498, allocations: 11.92 kB / 0.642 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.4498, allocations: 3.938 kB / 0.642 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.4512, allocations: 1.193 MB / 0.6431 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.4515, allocations: 178.5 kB / 0.6433 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.4517, allocations: 8 kB / 0.6433 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.4521, allocations: 23.97 kB / 0.6433 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.81e-05/0.4522, allocations: 31.83 kB / 0.6434 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.82e-05/0.4523, allocations: 23.98 kB / 0.6434 GB, free: 12.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00223/0.4545, allocations: 1.486 MB / 0.6448 GB, free: 10.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4545, allocations: 4 kB / 0.6449 GB, free: 10.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002643/0.4571, allocations: 0.5303 MB / 0.6454 GB, free: 10.07 MB / 494.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.001852/0.459, allocations: 1.801 MB / 0.6471 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003745/0.4627, allocations: 2.265 MB / 0.6493 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4627, allocations: 0 / 0.6493 GB, free: 5.992 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.4632, allocations: 335.7 kB / 0.6497 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4642, allocations: 170.8 kB / 0.6498 GB, free: 5.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03177/0.496, allocations: 23.09 MB / 0.6724 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.4978, allocations: 1.865 MB / 0.6742 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002578/0.5004, allocations: 1.251 MB / 0.6754 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.5014, allocations: 0.7844 MB / 0.6762 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of SimCode: time 8.22e-07/0.5014, allocations: 0 / 0.6762 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07115/0.5726, allocations: 33.22 MB / 0.7086 GB, free: 5.934 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.22, allocations: 15.06 kB / 0.7086 GB, free: 5.926 MB / 0.545 GB " [Timeout remaining time 647] (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.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_WorldGroundVisualization.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.WorldGroundVisualization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.12092808727175] Failed to read output from testmodel.py, exit status != 0: ['time', 'visGroundAxis.n[1]', 'visGroundAxis.n[2]', 'visGroundAxis.n[3]'] 13.309123809915036 13.335886325 12.97461228 Calling exit ...