Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00087/0.00087, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008606/0.0008606, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9256/0.9256, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.239/0.239, allocations: 32.78 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 7.938 kB / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.706e-05, allocations: 2.281 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003078/0.003095, allocations: 1.819 MB / 441.4 MB, free: 2.395 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.004909, allocations: 0.9621 MB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.004991, allocations: 7.938 kB / 442.4 MB, free: 1.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.005242, allocations: 63.67 kB / 442.5 MB, free: 1.355 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.0056, allocations: 127.3 kB / 442.6 MB, free: 1.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003497/0.00595, allocations: 155.2 kB / 442.7 MB, free: 1.082 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.006151, allocations: 203.3 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.006242, allocations: 21.77 kB / 443 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.006362, allocations: 107.8 kB / 443.1 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.006474, allocations: 87.75 kB / 443.1 MB, free: 0.6719 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.006495, allocations: 19.94 kB / 443.2 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-05/0.006565, allocations: 51.91 kB / 443.2 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.006634, allocations: 35.84 kB / 443.3 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.006683, allocations: 47.89 kB / 443.3 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.00688, allocations: 199.4 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.006881, allocations: 0 / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.006882, allocations: 3.938 kB / 443.5 MB, free: 328 kB / 410.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.006886, allocations: 0 / 443.5 MB, free: 328 kB / 410.7 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.1588/0.1656, allocations: 0.5142 MB / 444 MB, free: 46.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1657, allocations: 8.844 kB / 444 MB, free: 46.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.428e-05/0.1657, allocations: 38.75 kB / 444.1 MB, free: 46.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.1657, allocations: 17.34 kB / 444.1 MB, free: 46.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.1659, allocations: 183.5 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1659, allocations: 6.516 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1659, allocations: 2.906 kB / 444.3 MB, free: 46.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.1662, allocations: 147.6 kB / 444.4 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1662, allocations: 0.75 kB / 444.4 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1662, allocations: 0.6875 kB / 444.4 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1662, allocations: 6.5 kB / 444.4 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003286/0.1666, allocations: 160.7 kB / 444.6 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.1668, allocations: 313.4 kB / 444.9 MB, free: 46.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1672, allocations: 190.1 kB / 445.1 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.1674, allocations: 97.5 kB / 445.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1674, allocations: 1.531 kB / 445.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.1677, allocations: 166.3 kB / 445.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1677, allocations: 3.531 kB / 445.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001681/0.1694, allocations: 0.8198 MB / 446.1 MB, free: 46.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.1694, allocations: 57.7 kB / 446.2 MB, free: 45.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1695, allocations: 248 kB / 446.4 MB, free: 45.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1696, allocations: 36.52 kB / 446.5 MB, free: 45.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.1696, allocations: 125.2 kB / 446.6 MB, free: 45.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.1696, allocations: 38.48 kB / 446.6 MB, free: 45.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/0.1697, allocations: 35.48 kB / 446.7 MB, free: 45.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.96e-05/0.1697, allocations: 335.2 kB / 447 MB, free: 45.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.17, allocations: 227.2 kB / 447.2 MB, free: 45.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.1703, allocations: 226.5 kB / 447.4 MB, free: 45.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000562/0.1709, allocations: 366.1 kB / 447.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1709, allocations: 4 kB / 447.8 MB, free: 45.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006718/0.1716, allocations: 0.5028 MB / 448.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.1716, allocations: 61.91 kB / 448.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1716, allocations: 0 / 448.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1716, allocations: 1.938 kB / 448.4 MB, free: 44.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1718, allocations: 78.05 kB / 448.4 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1718, allocations: 2.844 kB / 448.5 MB, free: 44.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.172, allocations: 63.98 kB / 448.5 MB, free: 44.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.172, allocations: 5.719 kB / 448.5 MB, free: 44.71 MB / 410.7 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 6.311e-05/0.172, allocations: 140.5 kB / 448.7 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.1721, allocations: 22.8 kB / 448.7 MB, free: 44.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000674/0.1727, allocations: 406.9 kB / 449.1 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1727, allocations: 2.844 kB / 449.1 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1727, allocations: 0 / 449.1 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1727, allocations: 0 / 449.1 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.1735, allocations: 0.6517 MB / 449.7 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1735, allocations: 0 / 449.7 MB, free: 44.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1737, allocations: 70.7 kB / 449.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1737, allocations: 0 / 449.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1737, allocations: 10.02 kB / 449.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1737, allocations: 0 / 449.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1737, allocations: 0.5469 kB / 449.8 MB, free: 44.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006356/0.1743, allocations: 481.2 kB / 450.3 MB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.1743, allocations: 24.39 kB / 450.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.1744, allocations: 6.875 kB / 450.3 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.1745, allocations: 62.09 kB / 450.4 MB, free: 43.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.1746, allocations: 53.2 kB / 450.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.1746, allocations: 10.28 kB / 450.4 MB, free: 43.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.325e-05/0.1747, allocations: 187.3 kB / 450.6 MB, free: 43.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1747, allocations: 0 / 450.6 MB, free: 43.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.1749, allocations: 48.03 kB / 450.7 MB, free: 43.77 MB / 410.7 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.00131/0.1762, allocations: 1.339 MB / 452 MB, free: 43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007624/0.177, allocations: 0.5112 MB / 452.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.177, allocations: 4 kB / 452.5 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.1773, allocations: 180.7 kB / 452.7 MB, free: 42.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.1776, allocations: 48.19 kB / 452.7 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.1804, allocations: 3.066 MB / 455.8 MB, free: 40.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.734e-05/0.1805, allocations: 110.9 kB / 455.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.254e-05/0.1806, allocations: 24.58 kB / 455.9 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.1806, allocations: 60.19 kB / 456 MB, free: 40.65 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1806, allocations: 0 / 456 MB, free: 40.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.199, allocations: 6.797 MB / 462.8 MB, free: 39.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.065/7.264, allocations: 6.812 kB / 462.8 MB, free: 39.03 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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.0056 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.28554062731564] Failed to read output from testmodel.py, exit status != 0: 7.367757689207792 7.376469735 7.368162177 Calling exit ...