Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001293/0.001293, 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.001697/0.001697, 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.229/0.229, allocations: 46.88 MB / 357.4 MB, free: 10.53 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2",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.003159/0.003159, allocations: 79.86 kB / 0.4913 GB, free: 8.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1525, allocations: 65.99 MB / 0.5557 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.004506/0.157, allocations: 1.684 MB / 0.5573 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1584, allocations: 0.5567 MB / 0.5579 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.1585, allocations: 4 kB / 0.5579 GB, free: 4.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008666/0.1593, allocations: 455.1 kB / 0.5583 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006515/0.16, allocations: 291.3 kB / 0.5586 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.1605, allocations: 143.2 kB / 0.5587 GB, free: 3.305 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.1608, allocations: 159.8 kB / 0.5589 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.161, allocations: 23.97 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.1611, allocations: 107.7 kB / 0.559 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.1616, allocations: 251.5 kB / 0.5592 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.1616, allocations: 4 kB / 0.5593 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1617, allocations: 51.98 kB / 0.5593 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.1619, allocations: 87.62 kB / 0.5594 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.162, allocations: 110.9 kB / 0.5595 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.1625, allocations: 278.5 kB / 0.5598 GB, free: 2.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1625, allocations: 7.938 kB / 0.5598 GB, free: 2.242 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1625, allocations: 0 / 0.5598 GB, free: 2.242 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1625, allocations: 0 / 0.5598 GB, free: 2.242 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001048/0.1635, allocations: 0.6684 MB / 0.5604 GB, free: 1.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1636, allocations: 8.031 kB / 0.5604 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.87e-05/0.1636, allocations: 42.75 kB / 0.5605 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.1637, allocations: 40.66 kB / 0.5605 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.1642, allocations: 308.6 kB / 0.5608 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1642, allocations: 8.375 kB / 0.5608 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1642, allocations: 384 / 0.5608 GB, free: 1.074 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.1644, allocations: 58.19 kB / 0.5609 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.1644, allocations: 3.938 kB / 0.5609 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.1644, allocations: 4 kB / 0.5609 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1644, allocations: 0 / 0.5609 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1646, allocations: 39.97 kB / 0.5609 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.1653, allocations: 396.6 kB / 0.5613 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1654, allocations: 38.56 kB / 0.5613 GB, free: 492 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.1654, allocations: 20.94 kB / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.1655, allocations: 0 / 0.5613 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1655, allocations: 38.66 kB / 0.5614 GB, free: 420 kB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1655, allocations: 3.938 kB / 0.5614 GB, free: 416 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009785/0.1665, allocations: 316.9 kB / 0.5617 GB, free: 92 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1665, allocations: 59.39 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009311/0.1675, allocations: 0.8815 MB / 0.5626 GB, free: 15.12 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1675, allocations: 25.7 kB / 0.5626 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.1677, allocations: 220.1 kB / 0.5628 GB, free: 14.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1677, allocations: 31.73 kB / 0.5629 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.1678, allocations: 21.72 kB / 0.5629 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.168, allocations: 362.8 kB / 0.5632 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.563e-05/0.168, allocations: 23.98 kB / 0.5633 GB, free: 14.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.1681, allocations: 28 kB / 0.5633 GB, free: 14.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1683, allocations: 60.83 kB / 0.5633 GB, free: 14.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1683, allocations: 0 / 0.5633 GB, free: 14.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002513/0.1685, allocations: 141.3 kB / 0.5635 GB, free: 14.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1685, allocations: 7.938 kB / 0.5635 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1685, allocations: 0 / 0.5635 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.44e-05/0.1686, allocations: 0 / 0.5635 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.1687, allocations: 24.03 kB / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.1687, allocations: 0 / 0.5635 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.1688, allocations: 15.92 kB / 0.5635 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1688, allocations: 4 kB / 0.5635 GB, free: 14.14 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 (8): * Single equations (assignments): 8 * 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.000215/0.169, allocations: 213.8 kB / 0.5637 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.1691, allocations: 43.67 kB / 0.5638 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.1694, allocations: 173.7 kB / 0.5639 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1694, allocations: 4 kB / 0.5639 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1694, allocations: 0 / 0.5639 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1694, allocations: 3.938 kB / 0.5639 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006868/0.1701, allocations: 0.4953 MB / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1701, allocations: 0 / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.1702, allocations: 28.02 kB / 0.5645 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1702, allocations: 3.938 kB / 0.5645 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1702, allocations: 4 kB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1702, allocations: 0 / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1702, allocations: 4 kB / 0.5645 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1705, allocations: 240 kB / 0.5647 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.1706, allocations: 128.8 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.1707, allocations: 0 / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.1707, allocations: 4 kB / 0.5648 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.1708, allocations: 11.92 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.1708, allocations: 4 kB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006792/0.1715, allocations: 0.6589 MB / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1715, allocations: 0 / 0.5655 GB, free: 12.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002856/0.1718, allocations: 27.94 kB / 0.5655 GB, free: 12 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002371/0.1741, allocations: 1.13 MB / 0.5666 GB, free: 11.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1744, allocations: 71.88 kB / 0.5667 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1744, allocations: 0 / 0.5667 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.075e-05/0.1745, allocations: 31.98 kB / 0.5667 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1749, allocations: 26.61 kB / 0.5667 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.179, allocations: 3.337 MB / 0.57 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.1795, allocations: 0.8221 MB / 0.5708 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.022e-05/0.1795, allocations: 20.42 kB / 0.5708 GB, free: 6.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.1797, allocations: 107.4 kB / 0.5709 GB, free: 6.484 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1797, allocations: 0 / 0.5709 GB, free: 6.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.2088, allocations: 6.428 MB / 0.5772 GB, free: 116 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.625/8.833, allocations: 2.812 kB / 0.5772 GB, free: 116 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.772617023903877] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock.y', 'const.y', 'd2_t_new.y'] 8.957495846319944 8.985461414 8.817588397 Calling exit ...