Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001255/0.001255, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.00147/0.00147, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.487/1.487, allocations: 230.2 MB / 254.5 MB, free: 15.42 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.2694/0.2694, 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.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20",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.003038/0.003038, allocations: 81.12 kB / 0.4912 GB, free: 26.9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1584, allocations: 65.98 MB / 0.5557 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003946/0.1623, allocations: 2.037 MB / 0.5577 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.1644, allocations: 1.036 MB / 0.5587 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1645, allocations: 0 / 0.5587 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.1651, allocations: 259.1 kB / 0.5589 GB, free: 5.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005819/0.1657, allocations: 255.1 kB / 0.5592 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1669, allocations: 496.7 kB / 0.5596 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005103/0.1674, allocations: 327 kB / 0.5599 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1676, allocations: 56.64 kB / 0.56 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.1678, allocations: 139.4 kB / 0.5601 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.1681, allocations: 239.1 kB / 0.5604 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.1682, allocations: 12 kB / 0.5604 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.1683, allocations: 67.97 kB / 0.5604 GB, free: 4.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.1685, allocations: 99.59 kB / 0.5605 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1687, allocations: 130.9 kB / 0.5607 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.1692, allocations: 334.3 kB / 0.561 GB, free: 3.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1692, allocations: 0 / 0.561 GB, free: 3.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1692, allocations: 4 kB / 0.561 GB, free: 3.684 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.1692, allocations: 0 / 0.561 GB, free: 3.684 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.001108/0.1703, allocations: 0.6957 MB / 0.5617 GB, free: 2.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1704, allocations: 8.031 kB / 0.5617 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.1704, allocations: 46.73 kB / 0.5617 GB, free: 2.871 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.1705, allocations: 48.61 kB / 0.5618 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.1711, allocations: 342.4 kB / 0.5621 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1711, allocations: 4.375 kB / 0.5621 GB, free: 2.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.1711, allocations: 8.375 kB / 0.5621 GB, free: 2.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.1714, allocations: 110.1 kB / 0.5622 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.1714, allocations: 7.922 kB / 0.5622 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1714, allocations: 8 kB / 0.5622 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.1715, allocations: 4 kB / 0.5622 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1716, allocations: 71.89 kB / 0.5623 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.1725, allocations: 0.5003 MB / 0.5628 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.1727, allocations: 90.48 kB / 0.5629 GB, free: 1.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.1728, allocations: 32.84 kB / 0.5629 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1728, allocations: 4 kB / 0.5629 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1728, allocations: 34.55 kB / 0.5629 GB, free: 1.504 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.1728, allocations: 0 / 0.5629 GB, free: 1.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001025/0.1739, allocations: 392.7 kB / 0.5633 GB, free: 1.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.1739, allocations: 67.25 kB / 0.5634 GB, free: 1.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.1746, allocations: 0.5877 MB / 0.5639 GB, free: 452 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1747, allocations: 29.7 kB / 0.564 GB, free: 416 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.1749, allocations: 216.4 kB / 0.5642 GB, free: 192 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.1749, allocations: 59.48 kB / 0.5642 GB, free: 132 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.175, allocations: 33.7 kB / 0.5643 GB, free: 92 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1752, allocations: 354.8 kB / 0.5646 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.1753, allocations: 51.97 kB / 0.5646 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.1754, allocations: 54 kB / 0.5647 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.1757, allocations: 116.8 kB / 0.5648 GB, free: 15.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1757, allocations: 0 / 0.5648 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003892/0.1761, allocations: 203.2 kB / 0.565 GB, free: 15.31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1761, allocations: 4 kB / 0.565 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1761, allocations: 3.938 kB / 0.565 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1761, allocations: 8 kB / 0.565 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.1763, allocations: 27.98 kB / 0.565 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.1763, allocations: 4 kB / 0.5651 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.1764, allocations: 11.98 kB / 0.5651 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.1764, allocations: 8 kB / 0.5651 GB, free: 15.25 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.0002225/0.1766, allocations: 177.7 kB / 0.5652 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.1767, allocations: 47.66 kB / 0.5653 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.1773, allocations: 253.6 kB / 0.5655 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1773, allocations: 0 / 0.5655 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1773, allocations: 0 / 0.5655 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1773, allocations: 0 / 0.5655 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009548/0.1782, allocations: 0.6366 MB / 0.5661 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1782, allocations: 0 / 0.5661 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.1783, allocations: 39.91 kB / 0.5662 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1783, allocations: 4 kB / 0.5662 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1784, allocations: 4 kB / 0.5662 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1784, allocations: 7.938 kB / 0.5662 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1784, allocations: 0 / 0.5662 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.1788, allocations: 301.1 kB / 0.5665 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1789, allocations: 124.8 kB / 0.5666 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.1789, allocations: 0 / 0.5666 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.179, allocations: 16 kB / 0.5666 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1791, allocations: 11.92 kB / 0.5666 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1791, allocations: 4 kB / 0.5666 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004836/0.1796, allocations: 447.1 kB / 0.5671 GB, free: 13.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1796, allocations: 0 / 0.5671 GB, free: 13.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003153/0.1799, allocations: 51.92 kB / 0.5671 GB, free: 13.04 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.003424/0.1833, allocations: 1.437 MB / 0.5685 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.1837, allocations: 127.8 kB / 0.5686 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1837, allocations: 0 / 0.5686 GB, free: 11.76 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1838, allocations: 77.78 kB / 0.5687 GB, free: 11.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006024/0.1844, allocations: 79.94 kB / 0.5688 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/0.1889, allocations: 3.177 MB / 0.5719 GB, free: 8.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/0.1894, allocations: 0.8143 MB / 0.5727 GB, free: 7.512 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001431/0.1896, allocations: 46.25 kB / 0.5727 GB, free: 7.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.1897, allocations: 131.4 kB / 0.5729 GB, free: 7.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1897, allocations: 0 / 0.5729 GB, free: 7.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.2246, allocations: 7.682 MB / 0.5804 GB, free: 15.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.698, allocations: 12.92 kB / 0.5804 GB, free: 15.7 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.786033990327269] 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'] 8.829400546848774 8.857484804 8.682935708 Calling exit ...