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.001533/0.001533, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001944/0.001944, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.497/1.497, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.2438/0.2438, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.002606/0.002606, allocations: 79.86 kB / 0.4916 GB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1322, allocations: 66.04 MB / 0.5561 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007323/0.1395, allocations: 5.436 MB / 0.5614 GB, free: 112 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004334/0.1438, allocations: 1.807 MB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004393/0.1442, allocations: 23.94 kB / 0.5632 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.1455, allocations: 0.5407 MB / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.1476, allocations: 0.9263 MB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001122/0.1477, allocations: 15.97 kB / 0.5647 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.1498, allocations: 1.522 MB / 0.5662 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/0.1507, allocations: 0.676 MB / 0.5668 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006552/0.1514, allocations: 0.5291 MB / 0.5673 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.1534, allocations: 1.707 MB / 0.569 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.1537, allocations: 88 kB / 0.5691 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007343/0.1544, allocations: 319.5 kB / 0.5694 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007442/0.1552, allocations: 0.7203 MB / 0.5701 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008457/0.156, allocations: 0.869 MB / 0.571 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003186/0.1592, allocations: 2.811 MB / 0.5737 GB, free: 3.508 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1592, allocations: 0 / 0.5737 GB, free: 3.508 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1592, allocations: 4 kB / 0.5737 GB, free: 3.504 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.1592, allocations: 0 / 0.5737 GB, free: 3.504 MB / 430.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.00316/0.1624, allocations: 2.101 MB / 0.5758 GB, free: 1.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.1624, allocations: 8.031 kB / 0.5758 GB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004527/0.1629, allocations: 373.9 kB / 0.5761 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005126/0.168, allocations: 1.512 MB / 0.5776 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.1696, allocations: 0.8607 MB / 0.5784 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.1697, allocations: 90.22 kB / 0.5785 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.1699, allocations: 107.9 kB / 0.5786 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006837/0.1767, allocations: 4.976 MB / 0.5835 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.1768, allocations: 19.81 kB / 0.5835 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.177, allocations: 59.91 kB / 0.5836 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001972/0.1789, allocations: 1.185 MB / 0.5847 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007207/0.1861, allocations: 4.254 MB / 0.5889 GB, free: 3.371 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2623/0.4484, allocations: 20.55 MB / 0.6089 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.4499, allocations: 1.179 MB / 0.6101 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004898/0.4504, allocations: 348.3 kB / 0.6104 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.4505, allocations: 3.812 kB / 0.6104 GB, free: 16.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4505, allocations: 45.05 kB / 0.6105 GB, free: 16.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.786e-06/0.4505, allocations: 4.75 kB / 0.6105 GB, free: 16.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.002212/0.4527, allocations: 1.157 MB / 0.6116 GB, free: 15.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/0.4528, allocations: 137.1 kB / 0.6117 GB, free: 15.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.4565, allocations: 2.425 MB / 0.6141 GB, free: 14.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.4566, allocations: 33.95 kB / 0.6141 GB, free: 14.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001189/0.4577, allocations: 1.88 MB / 0.616 GB, free: 13.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.4581, allocations: 311.9 kB / 0.6163 GB, free: 13.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009448/0.459, allocations: 0.7951 MB / 0.617 GB, free: 13.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4591, allocations: 356.5 kB / 0.6174 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.4607, allocations: 1.034 MB / 0.6184 GB, free: 12.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002585/0.4633, allocations: 3.687 MB / 0.622 GB, free: 8.414 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/0.4682, allocations: 5.16 MB / 0.627 GB, free: 3.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-05/0.4683, allocations: 28.69 kB / 0.6271 GB, free: 3.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.007188/0.4755, allocations: 4.469 MB / 0.6314 GB, free: 1.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.939e-05/0.4756, allocations: 47.89 kB / 0.6315 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.064e-05/0.4756, allocations: 94.38 kB / 0.6316 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.4757, allocations: 122.6 kB / 0.6317 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.4779, allocations: 0.8717 MB / 0.6325 GB, free: 1.727 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001606/0.4781, allocations: 186.4 kB / 0.6327 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.4806, allocations: 0.57 MB / 0.6333 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/0.4809, allocations: 254.6 kB / 0.6335 GB, free: 1.289 MB / 446.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.001376/0.4823, allocations: 1.191 MB / 0.6347 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.4826, allocations: 193.7 kB / 0.6349 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.4829, allocations: 222.3 kB / 0.6351 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.171e-05/0.4829, allocations: 16 kB / 0.6351 GB, free: 492 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.4829, allocations: 5.781 kB / 0.6351 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.4829, allocations: 4.219 kB / 0.6351 GB, free: 488 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.486, allocations: 2.072 MB / 0.6371 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.486, allocations: 3.938 kB / 0.6371 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.4863, allocations: 58.02 kB / 0.6372 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.4863, allocations: 3.031 kB / 0.6372 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.4863, allocations: 11.72 kB / 0.6372 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.4863, allocations: 7.594 kB / 0.6372 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4863, allocations: 0 / 0.6372 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4874, allocations: 1.205 MB / 0.6384 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003264/0.4878, allocations: 259.5 kB / 0.6386 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4879, allocations: 11.34 kB / 0.6386 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004859/0.4884, allocations: 21.92 kB / 0.6386 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4885, allocations: 30.5 kB / 0.6387 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.4885, allocations: 20.84 kB / 0.6387 GB, free: 14.72 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.4901, allocations: 1.486 MB / 0.6401 GB, free: 14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4901, allocations: 0 / 0.6401 GB, free: 14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002548/0.4927, allocations: 0.5296 MB / 0.6407 GB, free: 13.75 MB / 462.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.001795/0.4945, allocations: 1.803 MB / 0.6424 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00366/0.4981, allocations: 2.264 MB / 0.6446 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4981, allocations: 2.688 kB / 0.6446 GB, free: 9.676 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004381/0.4986, allocations: 339.7 kB / 0.645 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.4996, allocations: 174.7 kB / 0.6451 GB, free: 9.176 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/0.5321, allocations: 23.07 MB / 0.6677 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/0.534, allocations: 1.864 MB / 0.6695 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002686/0.5367, allocations: 1.256 MB / 0.6707 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/0.5378, allocations: 0.7844 MB / 0.6715 GB, free: 10.76 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5378, allocations: 0 / 0.6715 GB, free: 10.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0657/0.6035, allocations: 30.12 MB / 0.7009 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.69, allocations: 17.22 kB / 0.7009 GB, free: 12.79 MB / 0.5137 GB " [Timeout remaining time 646] (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.87072098860517] Failed to read output from testmodel.py, exit status != 0: ['time', 'visGroundAxis.n[1]', 'visGroundAxis.n[2]', 'visGroundAxis.n[3]'] 13.783980417996645 13.811332401 13.6470011 Calling exit ...