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.001658/0.001658, allocations: 123.6 kB / 18.45 MB, free: 4.59 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.001947/0.001947, allocations: 209.7 kB / 21.41 MB, free: 1.637 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.577/1.577, allocations: 227.4 MB / 251.7 MB, free: 64 kB / 190.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.2349/0.2349, allocations: 46.14 MB / 351.1 MB, free: 14.31 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.002284/0.002284, allocations: 78.12 kB / 489.6 MB, free: 28.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1381, allocations: 62.45 MB / 0.5391 GB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.WorldGroundVisualization): time 0.007045/0.1452, allocations: 5.402 MB / 0.5444 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1489, allocations: 1.795 MB / 0.5462 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.1495, allocations: 23.94 kB / 0.5462 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.1509, allocations: 0.5291 MB / 0.5467 GB, free: 13 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.1532, allocations: 0.9184 MB / 0.5476 GB, free: 12.08 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.1534, allocations: 8 kB / 0.5476 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.1556, allocations: 1.521 MB / 0.5491 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.1567, allocations: 0.7501 MB / 0.5498 GB, free: 9.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.1576, allocations: 0.5252 MB / 0.5503 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.1597, allocations: 1.621 MB / 0.5519 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.16, allocations: 88 kB / 0.552 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007726/0.1608, allocations: 311.5 kB / 0.5523 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006974/0.1615, allocations: 0.6972 MB / 0.553 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008857/0.1624, allocations: 0.8729 MB / 0.5538 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.1657, allocations: 2.804 MB / 0.5566 GB, free: 2.852 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1658, allocations: 4 kB / 0.5566 GB, free: 2.848 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1658, allocations: 0 / 0.5566 GB, free: 2.848 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.598e-05/0.1659, allocations: 0 / 0.5566 GB, free: 2.848 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.003542/0.1694, allocations: 2.101 MB / 0.5586 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1695, allocations: 8.031 kB / 0.5586 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004524/0.1699, allocations: 377.8 kB / 0.559 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.1752, allocations: 1.513 MB / 0.5605 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/0.1771, allocations: 0.8568 MB / 0.5613 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.1772, allocations: 94.22 kB / 0.5614 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.1775, allocations: 107.9 kB / 0.5615 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007234/0.1847, allocations: 4.972 MB / 0.5664 GB, free: 8.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.94e-05/0.1848, allocations: 23.8 kB / 0.5664 GB, free: 8.215 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.185, allocations: 63.91 kB / 0.5664 GB, free: 8.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002043/0.1871, allocations: 1.185 MB / 0.5676 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007366/0.1944, allocations: 4.25 MB / 0.5718 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02442/0.2189, allocations: 20.56 MB / 0.5918 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.2206, allocations: 1.227 MB / 0.593 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/0.2211, allocations: 387.1 kB / 0.5934 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.2211, allocations: 4 kB / 0.5934 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2212, allocations: 46.55 kB / 0.5934 GB, free: 11.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.336e-06/0.2212, allocations: 0 / 0.5934 GB, free: 11.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.001839/0.223, allocations: 1.15 MB / 0.5946 GB, free: 10.44 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.431e-05/0.2231, allocations: 132.5 kB / 0.5947 GB, free: 10.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/0.2267, allocations: 2.441 MB / 0.5971 GB, free: 7.805 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.2269, allocations: 33.69 kB / 0.5971 GB, free: 7.766 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.2284, allocations: 1.87 MB / 0.5989 GB, free: 5.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.2287, allocations: 321.8 kB / 0.5992 GB, free: 5.559 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/0.2298, allocations: 0.7901 MB / 0.6 GB, free: 4.762 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.23, allocations: 349.9 kB / 0.6004 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.2315, allocations: 1.03 MB / 0.6014 GB, free: 3.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2841/0.5157, allocations: 3.693 MB / 0.605 GB, free: 55.92 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005237/0.521, allocations: 5.158 MB / 0.61 GB, free: 51.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/0.5211, allocations: 27.09 kB / 0.61 GB, free: 51.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.008436/0.5296, allocations: 4.46 MB / 0.6144 GB, free: 50.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.246e-05/0.5297, allocations: 46.97 kB / 0.6144 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/0.5298, allocations: 95.06 kB / 0.6145 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/0.53, allocations: 123.7 kB / 0.6146 GB, free: 50.25 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/0.5328, allocations: 0.8737 MB / 0.6155 GB, free: 50.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002115/0.533, allocations: 185.1 kB / 0.6157 GB, free: 50.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002655/0.5357, allocations: 0.5722 MB / 0.6162 GB, free: 49.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005486/0.5363, allocations: 256.2 kB / 0.6165 GB, free: 49.94 MB / 462.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.001889/0.5382, allocations: 1.187 MB / 0.6176 GB, free: 49.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003685/0.5385, allocations: 192.9 kB / 0.6178 GB, free: 49.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.5389, allocations: 217.5 kB / 0.618 GB, free: 49.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/0.5389, allocations: 23.52 kB / 0.618 GB, free: 49.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.539, allocations: 0 / 0.618 GB, free: 49.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.539, allocations: 9.062 kB / 0.6181 GB, free: 49.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.5429, allocations: 2.063 MB / 0.6201 GB, free: 48.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5429, allocations: 5.984 kB / 0.6201 GB, free: 48.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.5432, allocations: 59.64 kB / 0.6201 GB, free: 48.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.5433, allocations: 6.969 kB / 0.6201 GB, free: 48.34 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.5433, allocations: 10.53 kB / 0.6201 GB, free: 48.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.5433, allocations: 2.844 kB / 0.6201 GB, free: 48.33 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5433, allocations: 8.594 kB / 0.6202 GB, free: 48.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/0.5447, allocations: 1.204 MB / 0.6213 GB, free: 47.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/0.5451, allocations: 261.4 kB / 0.6216 GB, free: 47.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.5453, allocations: 8.656 kB / 0.6216 GB, free: 47.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.5458, allocations: 16.56 kB / 0.6216 GB, free: 47.42 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.5459, allocations: 29.75 kB / 0.6216 GB, free: 47.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.5459, allocations: 24.98 kB / 0.6217 GB, free: 47.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.5482, allocations: 1.49 MB / 0.6231 GB, free: 46.87 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5483, allocations: 0 / 0.6231 GB, free: 46.87 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003193/0.5515, allocations: 0.5189 MB / 0.6236 GB, free: 46.77 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.00179/0.5533, allocations: 1.806 MB / 0.6254 GB, free: 45.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.5573, allocations: 2.354 MB / 0.6277 GB, free: 44.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5573, allocations: 0 / 0.6277 GB, free: 44.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004946/0.5578, allocations: 374 kB / 0.628 GB, free: 44.69 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.5592, allocations: 173.2 kB / 0.6282 GB, free: 44.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02457/0.5838, allocations: 23.08 MB / 0.6507 GB, free: 23.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.5851, allocations: 1.869 MB / 0.6526 GB, free: 21.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002058/0.5872, allocations: 1.249 MB / 0.6538 GB, free: 20.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007991/0.588, allocations: 0.7882 MB / 0.6546 GB, free: 19.74 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.588, allocations: 0 / 0.6546 GB, free: 19.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.6461, allocations: 29.93 MB / 0.6838 GB, free: 5.973 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.37, allocations: 13.11 kB / 0.6838 GB, free: 5.965 MB / 478.1 MB " [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.57949006301351] Failed to read output from testmodel.py, exit status != 0: ['time', 'visGroundAxis.n[1]', 'visGroundAxis.n[2]', 'visGroundAxis.n[3]'] 13.460561997024342 13.474564369 13.306107026 Calling exit ...