Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001325/0.001325, allocations: 124.4 kB / 17.79 MB, free: 5.355 MB / 14.72 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.001424/0.001424, allocations: 207.3 kB / 20.75 MB, free: 2.406 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 254.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] 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.2227/0.2227, allocations: 44.9 MB / 355.1 MB, free: 12.34 MB / 286.1 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 67.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1359, allocations: 65.41 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003525/0.1394, allocations: 1.867 MB / 0.5536 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1414, allocations: 1.052 MB / 0.5546 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.319e-05/0.1415, allocations: 0 / 0.5546 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.1417, allocations: 71.59 kB / 0.5547 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.1421, allocations: 119.4 kB / 0.5548 GB, free: 7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.1428, allocations: 207.1 kB / 0.555 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.1431, allocations: 207.4 kB / 0.5552 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1433, allocations: 25.77 kB / 0.5552 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1434, allocations: 83.67 kB / 0.5553 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.1436, allocations: 111.6 kB / 0.5554 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.1436, allocations: 12 kB / 0.5554 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1438, allocations: 47.98 kB / 0.5555 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.667e-05/0.1439, allocations: 47.77 kB / 0.5555 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.144, allocations: 71.58 kB / 0.5556 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003401/0.1443, allocations: 191.2 kB / 0.5558 GB, free: 6.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1443, allocations: 0 / 0.5558 GB, free: 6.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1443, allocations: 3.938 kB / 0.5558 GB, free: 6.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.1443, allocations: 0 / 0.5558 GB, free: 6.012 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.001289/0.1456, allocations: 0.5836 MB / 0.5563 GB, free: 5.367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.1456, allocations: 12.03 kB / 0.5563 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.1457, allocations: 38.69 kB / 0.5564 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.1458, allocations: 16.84 kB / 0.5564 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.1461, allocations: 248.8 kB / 0.5566 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1461, allocations: 384 / 0.5566 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.42e-05/0.1461, allocations: 19.94 kB / 0.5567 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005602/0.1467, allocations: 141.5 kB / 0.5568 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1467, allocations: 4 kB / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.1467, allocations: 0 / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1467, allocations: 0 / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007927/0.1475, allocations: 175.7 kB / 0.557 GB, free: 4.668 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.1485, allocations: 428.6 kB / 0.5574 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000891/0.1494, allocations: 194.4 kB / 0.5576 GB, free: 4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.1498, allocations: 96.75 kB / 0.5576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.1498, allocations: 0 / 0.5576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006481/0.1505, allocations: 171.1 kB / 0.5578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1505, allocations: 0 / 0.5578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.004152/0.1546, allocations: 0.8398 MB / 0.5586 GB, free: 2.879 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/0.1547, allocations: 67.27 kB / 0.5587 GB, free: 2.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.155, allocations: 257 kB / 0.5589 GB, free: 2.539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.155, allocations: 29.7 kB / 0.559 GB, free: 2.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1552, allocations: 120.1 kB / 0.5591 GB, free: 2.383 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.1552, allocations: 43.69 kB / 0.5591 GB, free: 2.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.732e-05/0.1553, allocations: 33.7 kB / 0.5592 GB, free: 2.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1555, allocations: 330.8 kB / 0.5595 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007932/0.1563, allocations: 175.8 kB / 0.5596 GB, free: 1.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007975/0.1571, allocations: 181.8 kB / 0.5598 GB, free: 1.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.1586, allocations: 375.9 kB / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1586, allocations: 0 / 0.5602 GB, free: 1.238 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001733/0.1603, allocations: 474.8 kB / 0.5606 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.164e-05/0.1604, allocations: 59.34 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.1604, allocations: 4 kB / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1604, allocations: 0 / 0.5607 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.1609, allocations: 75.84 kB / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.1609, allocations: 7.969 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.1613, allocations: 63.91 kB / 0.5608 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.1613, allocations: 8 kB / 0.5608 GB, free: 0.5312 MB / 414.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.0001645/0.1615, allocations: 140 kB / 0.561 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1615, allocations: 19.89 kB / 0.561 GB, free: 376 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.1633, allocations: 419.1 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.1633, allocations: 11.88 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1633, allocations: 4 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1633, allocations: 0 / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.1653, allocations: 0.7364 MB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1653, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.1657, allocations: 71.84 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.1657, allocations: 0 / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.1657, allocations: 0 / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.1657, allocations: 4 kB / 0.5622 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1657, allocations: 3.984 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.1674, allocations: 483.1 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.1675, allocations: 105.5 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.1675, allocations: 4 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/0.168, allocations: 63.91 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.1681, allocations: 51.88 kB / 0.5629 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.1682, allocations: 4 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.1684, allocations: 188.5 kB / 0.5631 GB, free: 14.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1684, allocations: 7.938 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.1688, allocations: 40 kB / 0.5631 GB, free: 14.1 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.003568/0.1724, allocations: 1.332 MB / 0.5644 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.1741, allocations: 482.1 kB / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1741, allocations: 0 / 0.5649 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008218/0.1749, allocations: 179.7 kB / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.1754, allocations: 36.58 kB / 0.5651 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/0.1823, allocations: 2.891 MB / 0.5679 GB, free: 9.203 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.1827, allocations: 0.7319 MB / 0.5686 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.1829, allocations: 33.39 kB / 0.5686 GB, free: 8.414 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.1831, allocations: 55.41 kB / 0.5687 GB, free: 8.359 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1831, allocations: 0 / 0.5687 GB, free: 8.359 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03064/0.2137, allocations: 5.866 MB / 0.5744 GB, free: 2.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.221/8.435, allocations: 19.97 kB / 0.5744 GB, free: 2.543 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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.0056 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.610212347935885] Failed to read output from testmodel.py, exit status != 0: 8.56171309389174 8.577414827 8.430095248 Calling exit ...