Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001364/0.001364, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.001465/0.001465, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.537/1.537, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2459/0.2459, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4",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.002286/0.002286, allocations: 80.2 kB / 0.4912 GB, free: 8.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1622, allocations: 65.97 MB / 0.5557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003299/0.1655, allocations: 1.666 MB / 0.5573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1667, allocations: 0.5917 MB / 0.5579 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.1667, allocations: 0 / 0.5579 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.1674, allocations: 455.1 kB / 0.5583 GB, free: 3.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.1679, allocations: 287.3 kB / 0.5586 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.1683, allocations: 182.9 kB / 0.5588 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1686, allocations: 175.6 kB / 0.5589 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1687, allocations: 12 kB / 0.5589 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.1688, allocations: 111.7 kB / 0.559 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000272/0.1691, allocations: 251.5 kB / 0.5593 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.1691, allocations: 0 / 0.5593 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.1692, allocations: 35.98 kB / 0.5593 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1693, allocations: 83.69 kB / 0.5594 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1694, allocations: 106.9 kB / 0.5595 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1698, allocations: 270.6 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1698, allocations: 0 / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1698, allocations: 0 / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1698, allocations: 4 kB / 0.5598 GB, free: 2.207 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.0008394/0.1706, allocations: 0.6646 MB / 0.5604 GB, free: 1.488 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.1707, allocations: 12.03 kB / 0.5604 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.1707, allocations: 30.75 kB / 0.5605 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.1708, allocations: 52.58 kB / 0.5605 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1711, allocations: 304.6 kB / 0.5608 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-06/0.1711, allocations: 4.375 kB / 0.5608 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1712, allocations: 4.375 kB / 0.5608 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1713, allocations: 62.22 kB / 0.5609 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1713, allocations: 3.938 kB / 0.5609 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1713, allocations: 0 / 0.5609 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1713, allocations: 4 kB / 0.5609 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1714, allocations: 23.98 kB / 0.5609 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.1721, allocations: 404.6 kB / 0.5613 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.1723, allocations: 50.56 kB / 0.5613 GB, free: 452 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.401e-05/0.1723, allocations: 16.94 kB / 0.5613 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1724, allocations: 4 kB / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1724, allocations: 30.56 kB / 0.5614 GB, free: 388 kB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.1724, allocations: 3.938 kB / 0.5614 GB, free: 384 kB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006811/0.1731, allocations: 252.7 kB / 0.5616 GB, free: 124 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1731, allocations: 51.41 kB / 0.5617 GB, free: 60 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.1741, allocations: 0.8739 MB / 0.5625 GB, free: 15.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1742, allocations: 29.7 kB / 0.5626 GB, free: 15.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.1744, allocations: 224.1 kB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1744, allocations: 23.8 kB / 0.5628 GB, free: 14.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.1745, allocations: 21.7 kB / 0.5628 GB, free: 14.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.1747, allocations: 358.7 kB / 0.5632 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.1748, allocations: 27.92 kB / 0.5632 GB, free: 14.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.1748, allocations: 23.97 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.175, allocations: 52.83 kB / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.175, allocations: 0 / 0.5632 GB, free: 14.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000237/0.1752, allocations: 125.6 kB / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1752, allocations: 11.98 kB / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1752, allocations: 0 / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.1753, allocations: 0 / 0.5634 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.1753, allocations: 15.94 kB / 0.5634 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1753, allocations: 0 / 0.5634 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.416e-05/0.1754, allocations: 11.98 kB / 0.5634 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.1754, allocations: 3.938 kB / 0.5634 GB, free: 14.22 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 (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.0002274/0.1756, allocations: 213.7 kB / 0.5636 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.1757, allocations: 51.67 kB / 0.5637 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.176, allocations: 145.2 kB / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.176, allocations: 0 / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.176, allocations: 0 / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.176, allocations: 0 / 0.5638 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006339/0.1767, allocations: 478.2 kB / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1767, allocations: 0 / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.273e-05/0.1767, allocations: 15.98 kB / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1767, allocations: 0 / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.1768, allocations: 4 kB / 0.5643 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1768, allocations: 3.938 kB / 0.5643 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1768, allocations: 0 / 0.5643 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.1771, allocations: 223.2 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1772, allocations: 112.8 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1772, allocations: 4.25 kB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.1773, allocations: 11.94 kB / 0.5646 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1773, allocations: 7.984 kB / 0.5646 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.1773, allocations: 4 kB / 0.5646 GB, free: 12.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006834/0.178, allocations: 0.6589 MB / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.178, allocations: 0 / 0.5653 GB, free: 12.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1783, allocations: 27.89 kB / 0.5653 GB, free: 12.18 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.001995/0.1803, allocations: 1.06 MB / 0.5663 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1805, allocations: 55.97 kB / 0.5664 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1805, allocations: 0 / 0.5664 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.1806, allocations: 31.97 kB / 0.5664 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.181, allocations: 26.25 kB / 0.5664 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/0.1852, allocations: 3.275 MB / 0.5696 GB, free: 7.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.1857, allocations: 0.826 MB / 0.5704 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.651e-05/0.1858, allocations: 20.66 kB / 0.5705 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.186, allocations: 115.4 kB / 0.5706 GB, free: 6.777 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.186, allocations: 0 / 0.5706 GB, free: 6.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.215, allocations: 6.155 MB / 0.5766 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/8.62, allocations: 2.562 kB / 0.5766 GB, free: 0.6758 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.791924403980374] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'const.y'] 8.749993634875864 8.776307664 8.601809462 Calling exit ...