Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.00185/0.00185, allocations: 117.3 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.002405/0.002405, allocations: 218.6 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.495/1.495, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2424/0.2424, allocations: 46.89 MB / 357.4 MB, free: 10.49 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.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21",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.00227/0.00227, allocations: 79.86 kB / 0.4912 GB, free: 8.629 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1628, allocations: 65.98 MB / 0.5557 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.0042/0.167, allocations: 2.05 MB / 0.5577 GB, free: 4.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1691, allocations: 1.024 MB / 0.5587 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.1692, allocations: 8 kB / 0.5587 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.1698, allocations: 255.1 kB / 0.5589 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000609/0.1704, allocations: 263.1 kB / 0.5592 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1716, allocations: 496.2 kB / 0.5596 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004933/0.1721, allocations: 323 kB / 0.56 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.1723, allocations: 56.7 kB / 0.56 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.1724, allocations: 135.4 kB / 0.5601 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.1727, allocations: 235.1 kB / 0.5604 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.1727, allocations: 12 kB / 0.5604 GB, free: 1.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.1729, allocations: 104 kB / 0.5605 GB, free: 1.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.1731, allocations: 95.66 kB / 0.5606 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1732, allocations: 134.8 kB / 0.5607 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.1737, allocations: 350.2 kB / 0.561 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1737, allocations: 0 / 0.561 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1737, allocations: 3.984 kB / 0.561 GB, free: 1.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1737, allocations: 0 / 0.561 GB, free: 1.016 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001095/0.1748, allocations: 0.7034 MB / 0.5617 GB, free: 264 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1748, allocations: 12.03 kB / 0.5617 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.488e-05/0.1749, allocations: 46.73 kB / 0.5618 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.175, allocations: 48.61 kB / 0.5618 GB, free: 148 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.1754, allocations: 334.4 kB / 0.5621 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1755, allocations: 8.375 kB / 0.5621 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.1755, allocations: 12.38 kB / 0.5622 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.1757, allocations: 106.1 kB / 0.5623 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1758, allocations: 3.938 kB / 0.5623 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1758, allocations: 11.98 kB / 0.5623 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.1758, allocations: 4 kB / 0.5623 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.176, allocations: 67.95 kB / 0.5623 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/0.1767, allocations: 0.4964 MB / 0.5628 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1769, allocations: 86.48 kB / 0.5629 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.318e-05/0.177, allocations: 36.78 kB / 0.5629 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.177, allocations: 8.203 kB / 0.563 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.177, allocations: 46.48 kB / 0.563 GB, free: 14.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.093e-06/0.177, allocations: 0 / 0.563 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001028/0.1781, allocations: 384.5 kB / 0.5634 GB, free: 14.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.1781, allocations: 55.31 kB / 0.5634 GB, free: 14.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00074/0.1789, allocations: 0.6032 MB / 0.564 GB, free: 13.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.1789, allocations: 29.7 kB / 0.564 GB, free: 13.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.1791, allocations: 216.4 kB / 0.5642 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.8e-05/0.1791, allocations: 59.47 kB / 0.5643 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-05/0.1792, allocations: 33.7 kB / 0.5643 GB, free: 13.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002379/0.1794, allocations: 354.8 kB / 0.5647 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.1796, allocations: 47.97 kB / 0.5647 GB, free: 13.01 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1797, allocations: 61.62 kB / 0.5648 GB, free: 12.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.1799, allocations: 118.9 kB / 0.5649 GB, free: 12.83 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1799, allocations: 0 / 0.5649 GB, free: 12.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003538/0.1803, allocations: 201.2 kB / 0.5651 GB, free: 12.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1803, allocations: 8 kB / 0.5651 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1803, allocations: 0 / 0.5651 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1803, allocations: 0 / 0.5651 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.1805, allocations: 39.92 kB / 0.5651 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1805, allocations: 0 / 0.5651 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/0.1806, allocations: 11.98 kB / 0.5651 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.1806, allocations: 8 kB / 0.5651 GB, free: 12.56 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 (17): * Single equations (assignments): 17 * 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.0001845/0.1808, allocations: 169.8 kB / 0.5653 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.143e-05/0.1809, allocations: 51.59 kB / 0.5654 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005227/0.1814, allocations: 243.7 kB / 0.5656 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1814, allocations: 8 kB / 0.5656 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1814, allocations: 0 / 0.5656 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1814, allocations: 0 / 0.5656 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.1823, allocations: 0.6349 MB / 0.5662 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1823, allocations: 0 / 0.5662 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1824, allocations: 39.91 kB / 0.5663 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1824, allocations: 4 kB / 0.5663 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.1825, allocations: 8 kB / 0.5663 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.1825, allocations: 0 / 0.5663 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1825, allocations: 0 / 0.5663 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.1829, allocations: 300.8 kB / 0.5665 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.183, allocations: 128.8 kB / 0.5667 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.183, allocations: 0 / 0.5667 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1831, allocations: 8 kB / 0.5667 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.1832, allocations: 19.92 kB / 0.5667 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.1832, allocations: 7.938 kB / 0.5667 GB, free: 10.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005023/0.1837, allocations: 447.1 kB / 0.5671 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1837, allocations: 3.938 kB / 0.5671 GB, free: 10.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003064/0.184, allocations: 47.92 kB / 0.5672 GB, free: 10.36 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 (17): * Single equations (assignments): 17 * 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.003454/0.1875, allocations: 1.441 MB / 0.5686 GB, free: 9.199 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.1878, allocations: 127.8 kB / 0.5687 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1878, allocations: 0 / 0.5687 GB, free: 9.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.188, allocations: 69.94 kB / 0.5688 GB, free: 9.008 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005975/0.1885, allocations: 84.89 kB / 0.5689 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004344/0.1929, allocations: 3.17 MB / 0.572 GB, free: 5.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.1934, allocations: 0.8143 MB / 0.5728 GB, free: 4.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.1936, allocations: 46.25 kB / 0.5728 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.1937, allocations: 135.4 kB / 0.5729 GB, free: 4.66 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1938, allocations: 0 / 0.5729 GB, free: 4.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03005/0.2238, allocations: 7.685 MB / 0.5804 GB, free: 13.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.677/8.901, allocations: 10.16 kB / 0.5804 GB, free: 13.02 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.004753194749355] Failed to read output from testmodel.py, exit status != 0: ['time', 'clock1.y', 'combiTable2D1D.y', 'combiTable2D1DT.y', 'combiTable1D.y[1]', 'combiTable2D.y', 'combiTable2DT.y', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 9.024921400938183 9.041214333 8.864237876 Calling exit ...