Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001591/0.001591, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001404/0.001404, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.492/1.492, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2371/0.2371, allocations: 46.93 MB / 357.7 MB, free: 10.29 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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33",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.00236/0.00236, allocations: 79.88 kB / 0.4917 GB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1527, allocations: 66.05 MB / 0.5562 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003804/0.1565, allocations: 1.856 MB / 0.558 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1585, allocations: 1.051 MB / 0.559 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.244e-05/0.1586, allocations: 4 kB / 0.559 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.1588, allocations: 63.7 kB / 0.5591 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004257/0.1593, allocations: 123.3 kB / 0.5592 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.1599, allocations: 214.9 kB / 0.5594 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.1603, allocations: 195.4 kB / 0.5596 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1604, allocations: 17.56 kB / 0.5596 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.1606, allocations: 91.66 kB / 0.5597 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1608, allocations: 103.6 kB / 0.5598 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.1608, allocations: 16 kB / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1609, allocations: 47.92 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.161, allocations: 39.84 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.1611, allocations: 79.56 kB / 0.56 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1615, allocations: 191.1 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1615, allocations: 0 / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1615, allocations: 3.938 kB / 0.5602 GB, free: 1.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.1615, allocations: 0 / 0.5602 GB, free: 1.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001265/0.1628, allocations: 0.5875 MB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1628, allocations: 8.031 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.503e-05/0.1629, allocations: 42.73 kB / 0.5608 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.1629, allocations: 16.84 kB / 0.5608 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1632, allocations: 249.6 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.1632, allocations: 16.31 kB / 0.5611 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.1633, allocations: 4.375 kB / 0.5611 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.1638, allocations: 157.5 kB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1638, allocations: 0 / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1639, allocations: 0 / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1639, allocations: 4 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.1646, allocations: 167.8 kB / 0.5614 GB, free: 168 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000937/0.1656, allocations: 436.5 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.1664, allocations: 194.3 kB / 0.562 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.1668, allocations: 88.77 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.1669, allocations: 4 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/0.1675, allocations: 167.2 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.904e-06/0.1675, allocations: 0 / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004102/0.1716, allocations: 0.8391 MB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.1717, allocations: 55.41 kB / 0.5631 GB, free: 14.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.172, allocations: 268.8 kB / 0.5634 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.1721, allocations: 29.7 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.1722, allocations: 128.1 kB / 0.5635 GB, free: 13.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/0.1723, allocations: 39.83 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.1724, allocations: 33.7 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1725, allocations: 334.8 kB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007717/0.1733, allocations: 171.8 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007689/0.1741, allocations: 175.8 kB / 0.5642 GB, free: 13.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.1756, allocations: 378.2 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1756, allocations: 0 / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001744/0.1773, allocations: 473 kB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.1774, allocations: 67.39 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1774, allocations: 0 / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1774, allocations: 112 / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004562/0.1779, allocations: 75.84 kB / 0.5652 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1779, allocations: 0 / 0.5652 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.1783, allocations: 75.78 kB / 0.5652 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.1783, allocations: 4 kB / 0.5652 GB, free: 12.02 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001842/0.1785, allocations: 137.8 kB / 0.5654 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.1786, allocations: 19.91 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.1803, allocations: 419.1 kB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1803, allocations: 4 kB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1803, allocations: 0 / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1803, allocations: 7.938 kB / 0.5658 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.1823, allocations: 0.7206 MB / 0.5665 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1823, allocations: 4 kB / 0.5665 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.1827, allocations: 67.89 kB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1827, allocations: 4 kB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.1827, allocations: 7.938 kB / 0.5666 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1827, allocations: 4 kB / 0.5666 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1827, allocations: 0 / 0.5666 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.1844, allocations: 487 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.595e-05/0.1845, allocations: 101 kB / 0.5672 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1845, allocations: 7.938 kB / 0.5672 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.1849, allocations: 67.89 kB / 0.5672 GB, free: 9.883 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.1851, allocations: 47.94 kB / 0.5673 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.1851, allocations: 7.984 kB / 0.5673 GB, free: 9.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.1853, allocations: 188.5 kB / 0.5675 GB, free: 9.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1853, allocations: 0 / 0.5675 GB, free: 9.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003427/0.1857, allocations: 51.92 kB / 0.5675 GB, free: 9.594 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003716/0.1894, allocations: 1.322 MB / 0.5688 GB, free: 8.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.1912, allocations: 478.4 kB / 0.5693 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.1913, allocations: 0 / 0.5693 GB, free: 7.898 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.1921, allocations: 179.7 kB / 0.5694 GB, free: 7.723 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.1926, allocations: 44.08 kB / 0.5695 GB, free: 7.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/0.1997, allocations: 2.894 MB / 0.5723 GB, free: 4.688 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.2001, allocations: 0.728 MB / 0.573 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001756/0.2003, allocations: 29.41 kB / 0.573 GB, free: 3.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.2005, allocations: 55.42 kB / 0.5731 GB, free: 3.852 MB / 430.1 MB Notification: Performance of SimCode: time 2.074e-06/0.2005, allocations: 0 / 0.5731 GB, free: 3.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.2304, allocations: 5.883 MB / 0.5788 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.297, allocations: 7.938 kB / 0.5788 GB, free: 14.04 MB / 446.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00279441 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.473916806280613] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 8.418706835247576 8.434303375 8.269925348 Calling exit ...