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.001502/0.001502, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001653/0.001653, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.638/1.638, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2304/0.2304, allocations: 44.91 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.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: 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.002126/0.002126, allocations: 67.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1478, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003399/0.1512, allocations: 1.855 MB / 0.5536 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1532, allocations: 1.029 MB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.1533, allocations: 0 / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1536, allocations: 67.66 kB / 0.5547 GB, free: 7.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.1539, allocations: 115.5 kB / 0.5548 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.1545, allocations: 155.6 kB / 0.5549 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003514/0.1549, allocations: 211.3 kB / 0.5551 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.155, allocations: 17.78 kB / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1551, allocations: 83.73 kB / 0.5552 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001841/0.1553, allocations: 107.6 kB / 0.5553 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.1554, allocations: 16 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1555, allocations: 39.98 kB / 0.5554 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1556, allocations: 43.89 kB / 0.5554 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.1557, allocations: 67.53 kB / 0.5555 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.156, allocations: 191.2 kB / 0.5557 GB, free: 6.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.156, allocations: 0 / 0.5557 GB, free: 6.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.156, allocations: 0 / 0.5557 GB, free: 6.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.156, allocations: 0 / 0.5557 GB, free: 6.125 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.001394/0.1574, allocations: 0.5953 MB / 0.5562 GB, free: 5.469 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1574, allocations: 12.03 kB / 0.5563 GB, free: 5.457 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/0.1575, allocations: 38.73 kB / 0.5563 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.1576, allocations: 24.84 kB / 0.5563 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.1579, allocations: 232.9 kB / 0.5565 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1579, allocations: 8.312 kB / 0.5565 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.1579, allocations: 15.92 kB / 0.5566 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.1585, allocations: 145.5 kB / 0.5567 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1585, allocations: 3.938 kB / 0.5567 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.1585, allocations: 0 / 0.5567 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1585, allocations: 4 kB / 0.5567 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.1593, allocations: 163.8 kB / 0.5569 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.1599, allocations: 372.6 kB / 0.5572 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008569/0.1608, allocations: 182.4 kB / 0.5574 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/0.1612, allocations: 96.75 kB / 0.5575 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.1612, allocations: 0 / 0.5575 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006677/0.1619, allocations: 163.2 kB / 0.5576 GB, free: 3.906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1619, allocations: 4 kB / 0.5576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00423/0.1661, allocations: 0.8197 MB / 0.5584 GB, free: 3.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.1662, allocations: 59.34 kB / 0.5585 GB, free: 3.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.1665, allocations: 256.2 kB / 0.5587 GB, free: 2.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.1666, allocations: 29.7 kB / 0.5588 GB, free: 2.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1667, allocations: 128.3 kB / 0.5589 GB, free: 2.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.1667, allocations: 43.67 kB / 0.5589 GB, free: 2.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.1668, allocations: 29.7 kB / 0.559 GB, free: 2.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.167, allocations: 330.8 kB / 0.5593 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000788/0.1678, allocations: 171.8 kB / 0.5594 GB, free: 2.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008315/0.1686, allocations: 171.9 kB / 0.5596 GB, free: 1.836 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.1701, allocations: 362 kB / 0.56 GB, free: 1.469 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1701, allocations: 0 / 0.56 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00176/0.1718, allocations: 472.4 kB / 0.5604 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.1719, allocations: 59.41 kB / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1719, allocations: 0 / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1719, allocations: 0.5625 kB / 0.5605 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.1724, allocations: 75.83 kB / 0.5605 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.1724, allocations: 0 / 0.5605 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.1728, allocations: 67.84 kB / 0.5606 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1728, allocations: 8 kB / 0.5606 GB, free: 0.7695 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.0002713/0.1731, allocations: 140 kB / 0.5607 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.1732, allocations: 23.8 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.1748, allocations: 402.8 kB / 0.5611 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1748, allocations: 7.938 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1748, allocations: 0 / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1748, allocations: 7.922 kB / 0.5612 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.177, allocations: 0.7013 MB / 0.5618 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.177, allocations: 0 / 0.5618 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004246/0.1774, allocations: 67.84 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1774, allocations: 4 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.1774, allocations: 3.984 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1775, allocations: 8 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.227e-06/0.1775, allocations: 3.844 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001794/0.1793, allocations: 475 kB / 0.5624 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.171e-05/0.1793, allocations: 104.9 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.1794, allocations: 4 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.1798, allocations: 63.91 kB / 0.5625 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.1801, allocations: 43.94 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1801, allocations: 7.984 kB / 0.5626 GB, free: 14.62 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002241/0.1803, allocations: 181.8 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1803, allocations: 4 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003252/0.1807, allocations: 44 kB / 0.5628 GB, free: 14.4 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.003433/0.1841, allocations: 1.325 MB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.1858, allocations: 466.3 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1858, allocations: 4 kB / 0.5646 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008614/0.1867, allocations: 175.8 kB / 0.5647 GB, free: 12.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1871, allocations: 24.66 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.194, allocations: 2.836 MB / 0.5675 GB, free: 9.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1944, allocations: 0.7241 MB / 0.5682 GB, free: 8.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.1945, allocations: 25.39 kB / 0.5683 GB, free: 8.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1946, allocations: 59.42 kB / 0.5683 GB, free: 8.762 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1946, allocations: 0 / 0.5683 GB, free: 8.762 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03207/0.2267, allocations: 5.773 MB / 0.5739 GB, free: 3.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.938/9.165, allocations: 22.91 kB / 0.574 GB, free: 3.039 MB / 430.1 MB " [Timeout remaining time 651] (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: 12.478557324968278] Failed to read output from testmodel.py, exit status != 0: 9.295370935928077 9.324176486 9.163701752 Calling exit ...