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.001851/0.001851, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.002282/0.002282, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.532/1.532, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.24/0.24, allocations: 46.93 MB / 357.7 MB, free: 10.23 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.002358/0.002358, allocations: 79.86 kB / 0.4917 GB, free: 7.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.135, allocations: 66.04 MB / 0.5562 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003572/0.1385, allocations: 2.062 MB / 0.5582 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1406, allocations: 1.133 MB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.1407, allocations: 0 / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005321/0.1412, allocations: 271.1 kB / 0.5595 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.1417, allocations: 263 kB / 0.5598 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.1431, allocations: 0.6492 MB / 0.5604 GB, free: 1.227 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.1436, allocations: 362.8 kB / 0.5608 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1438, allocations: 60.69 kB / 0.5608 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.1439, allocations: 151.4 kB / 0.561 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.1442, allocations: 235.1 kB / 0.5612 GB, free: 444 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.196e-05/0.1442, allocations: 12 kB / 0.5612 GB, free: 432 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.1444, allocations: 104 kB / 0.5613 GB, free: 328 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.1446, allocations: 103.5 kB / 0.5614 GB, free: 224 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1447, allocations: 134.9 kB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.1453, allocations: 370.2 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1453, allocations: 0 / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1453, allocations: 4 kB / 0.5619 GB, free: 15.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1453, allocations: 0 / 0.5619 GB, free: 15.72 MB / 430.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.0009051/0.1462, allocations: 0.7151 MB / 0.5626 GB, free: 14.95 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1462, allocations: 12.03 kB / 0.5626 GB, free: 14.94 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.1463, allocations: 46.73 kB / 0.5627 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.1464, allocations: 44.66 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.1468, allocations: 346.3 kB / 0.563 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.1468, allocations: 8.375 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1469, allocations: 8.375 kB / 0.563 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.1471, allocations: 130.1 kB / 0.5632 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1471, allocations: 15.83 kB / 0.5632 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.1472, allocations: 4 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1472, allocations: 4 kB / 0.5632 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.1474, allocations: 91.94 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007336/0.1481, allocations: 0.5199 MB / 0.5638 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.1483, allocations: 106.5 kB / 0.5639 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.56e-05/0.1484, allocations: 40.83 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1484, allocations: 4.219 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1485, allocations: 38.5 kB / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1485, allocations: 0 / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=17): time 0.001074/0.1495, allocations: 456.4 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1496, allocations: 63.25 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.1504, allocations: 0.5995 MB / 0.565 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1504, allocations: 29.7 kB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.1506, allocations: 216.4 kB / 0.5653 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.017e-05/0.1506, allocations: 63.44 kB / 0.5653 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.1507, allocations: 33.7 kB / 0.5654 GB, free: 11.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1509, allocations: 350.8 kB / 0.5657 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.151, allocations: 71.95 kB / 0.5658 GB, free: 11.51 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1512, allocations: 71.89 kB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1515, allocations: 154.8 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1515, allocations: 0 / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004173/0.1519, allocations: 239 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1519, allocations: 4 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1519, allocations: 4 kB / 0.5662 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1519, allocations: 7.984 kB / 0.5662 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1521, allocations: 35.98 kB / 0.5663 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.1521, allocations: 0 / 0.5663 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.1522, allocations: 8 kB / 0.5663 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.1522, allocations: 11.98 kB / 0.5663 GB, free: 10.98 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.0001762/0.1524, allocations: 177.8 kB / 0.5665 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.783e-05/0.1525, allocations: 55.59 kB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.153, allocations: 281.7 kB / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.153, allocations: 0 / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.153, allocations: 0 / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.153, allocations: 0 / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.154, allocations: 0.6954 MB / 0.5675 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.154, allocations: 0 / 0.5675 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.1541, allocations: 39.86 kB / 0.5675 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1541, allocations: 4 kB / 0.5675 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1541, allocations: 7.984 kB / 0.5675 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1541, allocations: 4 kB / 0.5675 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1541, allocations: 0 / 0.5675 GB, free: 9.641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.1546, allocations: 335 kB / 0.5678 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.1547, allocations: 120.8 kB / 0.5679 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.783e-05/0.1547, allocations: 11.98 kB / 0.568 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1548, allocations: 12 kB / 0.568 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.1549, allocations: 15.92 kB / 0.568 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1549, allocations: 8 kB / 0.568 GB, free: 9.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.1554, allocations: 446.8 kB / 0.5684 GB, free: 8.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1554, allocations: 7.875 kB / 0.5684 GB, free: 8.672 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003262/0.1557, allocations: 55.92 kB / 0.5685 GB, free: 8.617 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.003615/0.1593, allocations: 1.449 MB / 0.5699 GB, free: 7.426 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.1597, allocations: 160.8 kB / 0.57 GB, free: 7.27 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.1598, allocations: 4 kB / 0.5701 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.1599, allocations: 87.89 kB / 0.5701 GB, free: 7.18 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.1606, allocations: 87.08 kB / 0.5702 GB, free: 7.102 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004536/0.1651, allocations: 3.341 MB / 0.5735 GB, free: 3.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.1656, allocations: 0.826 MB / 0.5743 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000171/0.1658, allocations: 62.23 kB / 0.5743 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.166, allocations: 143.3 kB / 0.5745 GB, free: 2.629 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.166, allocations: 0 / 0.5745 GB, free: 2.629 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03106/0.1971, allocations: 7.931 MB / 0.5822 GB, free: 10.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.612, allocations: 2.109 kB / 0.5822 GB, free: 10.75 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00119952 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.078668310306966] 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.739001248031855 8.993320968 8.844736556 Calling exit ...