Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001934/0.001934, allocations: 120 kB / 18.5 MB, free: 4.539 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.00222/0.00222, allocations: 209.7 kB / 21.46 MB, free: 1.59 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.532/1.532, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.2343/0.2343, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002307/0.002307, allocations: 83.86 kB / 0.4917 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1661, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003424/0.1695, allocations: 1.665 MB / 0.5578 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.1716, allocations: 1.214 MB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.1717, allocations: 0 / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.1719, allocations: 23.86 kB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1722, allocations: 99.48 kB / 0.5591 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004324/0.1726, allocations: 170.9 kB / 0.5593 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.1728, allocations: 79.77 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1729, allocations: 19.97 kB / 0.5594 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.173, allocations: 31.86 kB / 0.5594 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1731, allocations: 35.84 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1731, allocations: 4 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.1733, allocations: 107.9 kB / 0.5595 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.1734, allocations: 23.92 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.1734, allocations: 31.78 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002794/0.1737, allocations: 151.4 kB / 0.5597 GB, free: 1.895 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1737, allocations: 4 kB / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1737, allocations: 0 / 0.5597 GB, free: 1.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1737, allocations: 0 / 0.5597 GB, free: 1.891 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006222/0.1743, allocations: 430.7 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1744, allocations: 8.031 kB / 0.5602 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.1744, allocations: 30.75 kB / 0.5602 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.1745, allocations: 8.891 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1747, allocations: 208.2 kB / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-06/0.1747, allocations: 384 / 0.5604 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1747, allocations: 4.375 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.175, allocations: 79.89 kB / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.175, allocations: 3.938 kB / 0.5605 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.175, allocations: 4 kB / 0.5605 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.175, allocations: 0 / 0.5605 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1752, allocations: 39.95 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.1757, allocations: 316.8 kB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1758, allocations: 50.48 kB / 0.5609 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.1759, allocations: 24.94 kB / 0.5609 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.176, allocations: 80 / 0.5609 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.176, allocations: 34.55 kB / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.176, allocations: 4 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008851/0.1769, allocations: 233.3 kB / 0.5612 GB, free: 260 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.177, allocations: 81.09 kB / 0.5612 GB, free: 160 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1772, allocations: 152.2 kB / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1772, allocations: 29.7 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.939e-05/0.1773, allocations: 108 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.1773, allocations: 23.8 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.888e-05/0.1773, allocations: 25.7 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1775, allocations: 322.8 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1777, allocations: 39.97 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.1778, allocations: 53.69 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.178, allocations: 88.72 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.178, allocations: 3.938 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003246/0.1784, allocations: 125.6 kB / 0.5622 GB, free: 15.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1784, allocations: 12.03 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1784, allocations: 3.984 kB / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1784, allocations: 0 / 0.5622 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1785, allocations: 19.98 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.1785, allocations: 0 / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.374e-05/0.1786, allocations: 7.984 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.1786, allocations: 4 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001429/0.1788, allocations: 121.7 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.1788, allocations: 19.91 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003754/0.1792, allocations: 134.6 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1792, allocations: 4 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1792, allocations: 3.984 kB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1792, allocations: 4 kB / 0.5625 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006562/0.1799, allocations: 422.4 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1799, allocations: 0 / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.18, allocations: 19.98 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.18, allocations: 0 / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.18, allocations: 7.984 kB / 0.5629 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.18, allocations: 7.938 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.18, allocations: 0 / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003794/0.1804, allocations: 223.4 kB / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.1804, allocations: 85.06 kB / 0.5632 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1805, allocations: 3.984 kB / 0.5632 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.1806, allocations: 15.88 kB / 0.5632 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.1806, allocations: 7.984 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1806, allocations: 4 kB / 0.5632 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1807, allocations: 121.8 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1807, allocations: 0 / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000303/0.181, allocations: 43.86 kB / 0.5634 GB, free: 13.78 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.002384/0.1834, allocations: 1.151 MB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003469/0.1838, allocations: 91.91 kB / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1838, allocations: 0 / 0.5646 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1839, allocations: 47.95 kB / 0.5647 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1843, allocations: 19.88 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002411/0.1867, allocations: 1.639 MB / 0.5663 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1871, allocations: 0.7078 MB / 0.567 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.68e-05/0.1872, allocations: 28.72 kB / 0.567 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.1873, allocations: 27.42 kB / 0.567 GB, free: 10.1 MB / 430.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1873, allocations: 0 / 0.567 GB, free: 10.1 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.2151, allocations: 3.637 MB / 0.5706 GB, free: 6.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.202, allocations: 10.72 kB / 0.5706 GB, free: 6.488 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.37166858278215] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock1.y', 'clock2.y'] 8.326924146618694 8.347776657 8.171153086 Calling exit ...