Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001322/0.001322, allocations: 116.4 kB / 18.5 MB, free: 4.598 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.001423/0.001423, allocations: 208.9 kB / 21.46 MB, free: 1.645 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.548/1.548, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.2501/0.2501, allocations: 46.88 MB / 357.4 MB, free: 10.54 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5",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.002318/0.002318, allocations: 77.34 kB / 0.4912 GB, free: 26.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1499, allocations: 65.97 MB / 0.5557 GB, free: 9.117 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003334/0.1532, allocations: 1.662 MB / 0.5573 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.1544, allocations: 0.5839 MB / 0.5579 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.1545, allocations: 4 kB / 0.5579 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006503/0.1552, allocations: 451.1 kB / 0.5583 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005374/0.1557, allocations: 295.3 kB / 0.5586 GB, free: 6.121 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.1562, allocations: 175.4 kB / 0.5587 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.1565, allocations: 175.6 kB / 0.5589 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1566, allocations: 16.2 kB / 0.5589 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1568, allocations: 115.7 kB / 0.559 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.1571, allocations: 251.5 kB / 0.5593 GB, free: 5.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1571, allocations: 4 kB / 0.5593 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.1572, allocations: 27.98 kB / 0.5593 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1573, allocations: 87.62 kB / 0.5594 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1574, allocations: 107 kB / 0.5595 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003884/0.1578, allocations: 274.6 kB / 0.5598 GB, free: 4.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1578, allocations: 0 / 0.5598 GB, free: 4.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1578, allocations: 0 / 0.5598 GB, free: 4.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.1578, allocations: 0 / 0.5598 GB, free: 4.914 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.0008947/0.1587, allocations: 0.6646 MB / 0.5604 GB, free: 4.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.1588, allocations: 8.031 kB / 0.5604 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.1588, allocations: 38.75 kB / 0.5605 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.1589, allocations: 40.66 kB / 0.5605 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.1593, allocations: 308.5 kB / 0.5608 GB, free: 3.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1593, allocations: 4.375 kB / 0.5608 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1593, allocations: 384 / 0.5608 GB, free: 3.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.1595, allocations: 62.17 kB / 0.5608 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.1595, allocations: 7.922 kB / 0.5609 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.1596, allocations: 8 kB / 0.5609 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.1596, allocations: 0 / 0.5609 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1597, allocations: 27.97 kB / 0.5609 GB, free: 3.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.1603, allocations: 408.6 kB / 0.5613 GB, free: 3.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.1606, allocations: 42.55 kB / 0.5613 GB, free: 3.148 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.422e-05/0.1606, allocations: 20.86 kB / 0.5613 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1607, allocations: 0 / 0.5613 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.1607, allocations: 38.64 kB / 0.5614 GB, free: 3.078 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1607, allocations: 0 / 0.5614 GB, free: 3.078 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007116/0.1614, allocations: 244.6 kB / 0.5616 GB, free: 2.832 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1615, allocations: 59.39 kB / 0.5617 GB, free: 2.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000978/0.1624, allocations: 0.8738 MB / 0.5625 GB, free: 1.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.1625, allocations: 25.7 kB / 0.5625 GB, free: 1.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.1627, allocations: 224.1 kB / 0.5628 GB, free: 1.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.1627, allocations: 15.84 kB / 0.5628 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.1628, allocations: 25.59 kB / 0.5628 GB, free: 1.574 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.163, allocations: 370.7 kB / 0.5632 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.1631, allocations: 23.98 kB / 0.5632 GB, free: 1.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.022e-05/0.1631, allocations: 24.05 kB / 0.5632 GB, free: 1.156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1633, allocations: 52.83 kB / 0.5632 GB, free: 1.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1633, allocations: 0 / 0.5632 GB, free: 1.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002408/0.1635, allocations: 121.4 kB / 0.5634 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.1636, allocations: 8 kB / 0.5634 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1636, allocations: 0 / 0.5634 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.1636, allocations: 4 kB / 0.5634 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.685e-05/0.1637, allocations: 15.92 kB / 0.5634 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1637, allocations: 0 / 0.5634 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.1637, allocations: 4 kB / 0.5634 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1637, allocations: 4 kB / 0.5634 GB, free: 0.9414 MB / 414.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 (5): * Single equations (assignments): 5 * 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.0002377/0.164, allocations: 221.6 kB / 0.5636 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.728e-05/0.1641, allocations: 47.67 kB / 0.5637 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.1644, allocations: 141.2 kB / 0.5638 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1644, allocations: 0 / 0.5638 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.1644, allocations: 7.938 kB / 0.5638 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1644, allocations: 0 / 0.5638 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.1651, allocations: 474.3 kB / 0.5642 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1651, allocations: 0 / 0.5642 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.1652, allocations: 16.31 kB / 0.5643 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1652, allocations: 0 / 0.5643 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.1652, allocations: 7.984 kB / 0.5643 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.1652, allocations: 7.938 kB / 0.5643 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1652, allocations: 0 / 0.5643 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002893/0.1655, allocations: 219.2 kB / 0.5645 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.1656, allocations: 116.8 kB / 0.5646 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.1657, allocations: 0 / 0.5646 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-05/0.1657, allocations: 15.92 kB / 0.5646 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.1658, allocations: 0 / 0.5646 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1658, allocations: 4 kB / 0.5646 GB, free: 15.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007242/0.1665, allocations: 0.6589 MB / 0.5653 GB, free: 14.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1665, allocations: 0 / 0.5653 GB, free: 14.92 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.1668, allocations: 27.95 kB / 0.5653 GB, free: 14.89 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 (5): * Single equations (assignments): 5 * 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.002274/0.1691, allocations: 1.062 MB / 0.5663 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.1693, allocations: 51.95 kB / 0.5664 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1693, allocations: 0 / 0.5664 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.392e-05/0.1694, allocations: 27.98 kB / 0.5664 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004817/0.1699, allocations: 38.16 kB / 0.5664 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.1741, allocations: 3.279 MB / 0.5696 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.1748, allocations: 0.826 MB / 0.5704 GB, free: 9.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.887e-05/0.1749, allocations: 12.77 kB / 0.5705 GB, free: 9.598 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.175, allocations: 123.3 kB / 0.5706 GB, free: 9.477 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.175, allocations: 0 / 0.5706 GB, free: 9.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.2045, allocations: 6.158 MB / 0.5766 GB, free: 3.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/8.771, allocations: 2.922 kB / 0.5766 GB, free: 3.375 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.93890078784898] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'const.y', 'clock.y'] 8.897428151220083 8.912623892 8.751716764 Calling exit ...