Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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.001289/0.001289, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.00144/0.00144, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.451/1.451, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2356/0.2356, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_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.002317/0.002317, allocations: 84.16 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1297, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003342/0.1331, allocations: 1.867 MB / 0.558 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1347, allocations: 1.024 MB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1348, allocations: 4 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.135, allocations: 59.72 kB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1353, allocations: 123.3 kB / 0.5592 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000376/0.1357, allocations: 163.3 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.1359, allocations: 203.4 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.136, allocations: 17.55 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.1362, allocations: 79.69 kB / 0.5596 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1363, allocations: 111.6 kB / 0.5597 GB, free: 1.883 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.1363, allocations: 12 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-05/0.1364, allocations: 47.92 kB / 0.5598 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.1365, allocations: 39.83 kB / 0.5598 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.1366, allocations: 71.59 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002798/0.1369, allocations: 195.1 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1369, allocations: 0 / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1369, allocations: 4 kB / 0.5601 GB, free: 1.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1369, allocations: 0 / 0.5601 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.001129/0.138, allocations: 0.5836 MB / 0.5607 GB, free: 0.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1381, allocations: 11.97 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.339e-05/0.1381, allocations: 38.73 kB / 0.5607 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.1382, allocations: 20.84 kB / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1384, allocations: 237.6 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1385, allocations: 8.375 kB / 0.561 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.1385, allocations: 8.359 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.139, allocations: 145.7 kB / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.139, allocations: 0 / 0.5611 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.139, allocations: 7.938 kB / 0.5611 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.139, allocations: 0 / 0.5611 GB, free: 360 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.1398, allocations: 159.8 kB / 0.5613 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1403, allocations: 380.6 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.1411, allocations: 182.4 kB / 0.5618 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004068/0.1415, allocations: 96.69 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1415, allocations: 0 / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005555/0.1421, allocations: 171.2 kB / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.1421, allocations: 0 / 0.5621 GB, free: 15.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.003832/0.1459, allocations: 0.8166 MB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.146, allocations: 59.41 kB / 0.5629 GB, free: 14.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1463, allocations: 253.6 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1463, allocations: 34.2 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.895e-05/0.1464, allocations: 128 kB / 0.5633 GB, free: 13.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.1464, allocations: 43.83 kB / 0.5634 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.1465, allocations: 33.7 kB / 0.5634 GB, free: 13.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1467, allocations: 326.8 kB / 0.5637 GB, free: 13.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007584/0.1474, allocations: 171.8 kB / 0.5639 GB, free: 13.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007238/0.1482, allocations: 175.7 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.1496, allocations: 361.8 kB / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1496, allocations: 0 / 0.5644 GB, free: 12.87 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001625/0.1512, allocations: 465.8 kB / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.1512, allocations: 59.41 kB / 0.5649 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1513, allocations: 0 / 0.5649 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1513, allocations: 4 kB / 0.5649 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.1517, allocations: 71.89 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1517, allocations: 0 / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.1521, allocations: 67.84 kB / 0.565 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.1522, allocations: 8 kB / 0.565 GB, free: 12.18 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.000161/0.1523, allocations: 141.8 kB / 0.5652 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.1524, allocations: 19.86 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.154, allocations: 402.8 kB / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.154, allocations: 0 / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.154, allocations: 8 kB / 0.5656 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.154, allocations: 3.938 kB / 0.5656 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.1559, allocations: 0.7046 MB / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1559, allocations: 0 / 0.5663 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.1563, allocations: 71.91 kB / 0.5663 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1563, allocations: 0 / 0.5663 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.1563, allocations: 3.938 kB / 0.5663 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1563, allocations: 7.984 kB / 0.5663 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1563, allocations: 0 / 0.5663 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.1579, allocations: 483 kB / 0.5668 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.474e-05/0.158, allocations: 93 kB / 0.5669 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.1581, allocations: 11.94 kB / 0.5669 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.1585, allocations: 63.84 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.1586, allocations: 51.94 kB / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1587, allocations: 7.984 kB / 0.567 GB, free: 10.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.1589, allocations: 184.5 kB / 0.5672 GB, free: 9.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1589, allocations: 0 / 0.5672 GB, free: 9.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003132/0.1592, allocations: 43.94 kB / 0.5672 GB, free: 9.805 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.003311/0.1625, allocations: 1.309 MB / 0.5685 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001687/0.1642, allocations: 470.3 kB / 0.569 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1642, allocations: 0 / 0.569 GB, free: 8.129 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000778/0.165, allocations: 175.7 kB / 0.5691 GB, free: 7.957 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1653, allocations: 32.66 kB / 0.5692 GB, free: 7.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006333/0.1717, allocations: 2.842 MB / 0.5719 GB, free: 4.988 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.1721, allocations: 0.7241 MB / 0.5726 GB, free: 4.238 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.1722, allocations: 21.41 kB / 0.5727 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.1723, allocations: 55.42 kB / 0.5727 GB, free: 4.164 MB / 430.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1723, allocations: 0 / 0.5727 GB, free: 4.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.2017, allocations: 5.8 MB / 0.5784 GB, free: 14.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.479, allocations: 8 kB / 0.5784 GB, free: 14.43 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.526391703169793] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 8.60110887279734 8.61586151 8.476209019 Calling exit ...