Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001794/0.001794, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002331/0.002331, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.563/1.563, 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.2409/0.2409, allocations: 46.89 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_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.002219/0.002219, allocations: 79.86 kB / 0.4912 GB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1505, allocations: 65.98 MB / 0.5557 GB, free: 6.438 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003847/0.1544, allocations: 2.065 MB / 0.5577 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1565, allocations: 1.126 MB / 0.5588 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1566, allocations: 4 kB / 0.5588 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.1572, allocations: 271 kB / 0.559 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006861/0.1579, allocations: 263.1 kB / 0.5593 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.1597, allocations: 0.6525 MB / 0.5599 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005708/0.1603, allocations: 350.9 kB / 0.5603 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.1605, allocations: 56.72 kB / 0.5603 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.1607, allocations: 151.4 kB / 0.5605 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.161, allocations: 231.2 kB / 0.5607 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.161, allocations: 12 kB / 0.5607 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002682/0.1613, allocations: 108 kB / 0.5608 GB, free: 1.172 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.1615, allocations: 99.59 kB / 0.5609 GB, free: 1.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1616, allocations: 138.8 kB / 0.561 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.1622, allocations: 370.2 kB / 0.5614 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1622, allocations: 0 / 0.5614 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1622, allocations: 0 / 0.5614 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.1622, allocations: 0 / 0.5614 GB, free: 0.5742 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.001122/0.1633, allocations: 0.7151 MB / 0.5621 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1634, allocations: 8.031 kB / 0.5621 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.1635, allocations: 42.75 kB / 0.5621 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.1635, allocations: 44.66 kB / 0.5622 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005473/0.1641, allocations: 358.4 kB / 0.5625 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.1641, allocations: 8.375 kB / 0.5625 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1642, allocations: 8.375 kB / 0.5625 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1645, allocations: 126.1 kB / 0.5626 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.1645, allocations: 15.81 kB / 0.5627 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1645, allocations: 8 kB / 0.5627 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1645, allocations: 4 kB / 0.5627 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1647, allocations: 87.94 kB / 0.5628 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008613/0.1656, allocations: 0.5199 MB / 0.5633 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1658, allocations: 114.4 kB / 0.5634 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.113e-05/0.1659, allocations: 36.84 kB / 0.5634 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.1659, allocations: 7.984 kB / 0.5634 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.166, allocations: 38.56 kB / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.166, allocations: 0 / 0.5634 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.00117/0.1671, allocations: 464.5 kB / 0.5639 GB, free: 13.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.1672, allocations: 59.31 kB / 0.5639 GB, free: 13.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007662/0.168, allocations: 0.6034 MB / 0.5645 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.168, allocations: 29.7 kB / 0.5646 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.1682, allocations: 216.4 kB / 0.5648 GB, free: 12.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.636e-05/0.1683, allocations: 63.44 kB / 0.5648 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/0.1683, allocations: 29.72 kB / 0.5649 GB, free: 12.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1685, allocations: 354.8 kB / 0.5652 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.1687, allocations: 71.95 kB / 0.5653 GB, free: 12.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1688, allocations: 70.14 kB / 0.5653 GB, free: 12.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.1691, allocations: 148.8 kB / 0.5655 GB, free: 12.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1691, allocations: 0 / 0.5655 GB, free: 12.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004097/0.1695, allocations: 238.9 kB / 0.5657 GB, free: 11.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1695, allocations: 4 kB / 0.5657 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1695, allocations: 0 / 0.5657 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1695, allocations: 4 kB / 0.5657 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.1697, allocations: 43.91 kB / 0.5658 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1697, allocations: 0 / 0.5658 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.1698, allocations: 8 kB / 0.5658 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.1698, allocations: 8 kB / 0.5658 GB, free: 11.83 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.000197/0.17, allocations: 177.8 kB / 0.5659 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.1701, allocations: 55.55 kB / 0.566 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005591/0.1706, allocations: 281.7 kB / 0.5663 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1706, allocations: 4 kB / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1706, allocations: 0 / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1707, allocations: 3.984 kB / 0.5663 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.1718, allocations: 0.6955 MB / 0.5669 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1718, allocations: 0 / 0.5669 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1719, allocations: 35.92 kB / 0.567 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.1719, allocations: 8 kB / 0.567 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1719, allocations: 4 kB / 0.567 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1719, allocations: 0 / 0.567 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.1719, allocations: 4 kB / 0.567 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004744/0.1724, allocations: 343 kB / 0.5673 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.1726, allocations: 116.8 kB / 0.5674 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.1726, allocations: 4 kB / 0.5674 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1727, allocations: 15.98 kB / 0.5675 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.1728, allocations: 11.92 kB / 0.5675 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1728, allocations: 8 kB / 0.5675 GB, free: 9.965 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000572/0.1734, allocations: 450.8 kB / 0.5679 GB, free: 9.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1734, allocations: 0 / 0.5679 GB, free: 9.527 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003267/0.1737, allocations: 47.94 kB / 0.5679 GB, free: 9.48 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.003529/0.1772, allocations: 1.469 MB / 0.5694 GB, free: 8.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.1776, allocations: 166.1 kB / 0.5695 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1776, allocations: 0 / 0.5695 GB, free: 8.133 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1778, allocations: 91.89 kB / 0.5696 GB, free: 8.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006221/0.1784, allocations: 76.47 kB / 0.5697 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.1831, allocations: 3.341 MB / 0.573 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/0.1837, allocations: 0.826 MB / 0.5738 GB, free: 3.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.1839, allocations: 66.17 kB / 0.5738 GB, free: 3.637 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.1841, allocations: 139.4 kB / 0.574 GB, free: 3.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1841, allocations: 0 / 0.574 GB, free: 3.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.217, allocations: 7.93 MB / 0.5817 GB, free: 11.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.547/8.764, allocations: 6.094 kB / 0.5817 GB, free: 11.61 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.173011616803706] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 8.89346212008968 9.129622231 8.752121413 Calling exit ...