Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001839/0.001839, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.002476/0.002476, allocations: 219 kB / 21.46 MB, free: 1.586 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.565/1.565, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2499/0.2499, allocations: 46.92 MB / 357.8 MB, free: 10.33 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+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_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 71.89 kB / 0.4916 GB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1467, allocations: 65.99 MB / 0.5561 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003995/0.1507, allocations: 1.854 MB / 0.5579 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1526, allocations: 1.025 MB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.711e-05/0.1527, allocations: 0 / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.153, allocations: 67.66 kB / 0.559 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.1534, allocations: 119.4 kB / 0.5591 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004924/0.1539, allocations: 163 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.1542, allocations: 203.4 kB / 0.5594 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1544, allocations: 17.56 kB / 0.5594 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.1545, allocations: 91.66 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1547, allocations: 99.64 kB / 0.5596 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.1548, allocations: 16 kB / 0.5596 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.1549, allocations: 43.97 kB / 0.5597 GB, free: 2.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.155, allocations: 43.84 kB / 0.5597 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1551, allocations: 79.45 kB / 0.5598 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.1555, allocations: 191.2 kB / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1555, allocations: 0 / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1555, allocations: 0 / 0.56 GB, free: 1.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1555, allocations: 0 / 0.56 GB, free: 1.82 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.001342/0.1569, allocations: 0.5836 MB / 0.5606 GB, free: 1.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1569, allocations: 11.97 kB / 0.5606 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.227e-05/0.1569, allocations: 192 / 0.5606 GB, free: 1.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.438e-05/0.157, allocations: 42.73 kB / 0.5606 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.157, allocations: 16.84 kB / 0.5606 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1574, allocations: 244.8 kB / 0.5609 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1574, allocations: 8.125 kB / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.1574, allocations: 12 kB / 0.5609 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.158, allocations: 141.5 kB / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.158, allocations: 0 / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.158, allocations: 0 / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.158, allocations: 0 / 0.561 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.1588, allocations: 167.8 kB / 0.5612 GB, free: 500 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.1594, allocations: 372.5 kB / 0.5615 GB, free: 76 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008568/0.1602, allocations: 190.4 kB / 0.5617 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.1606, allocations: 92.77 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.1607, allocations: 160 / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.1613, allocations: 171.2 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.1613, allocations: 0 / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004118/0.1654, allocations: 0.8167 MB / 0.5628 GB, free: 14.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.1655, allocations: 59.91 kB / 0.5628 GB, free: 14.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.1658, allocations: 252.2 kB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.1659, allocations: 37.7 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.166, allocations: 128 kB / 0.5632 GB, free: 14.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.1661, allocations: 35.69 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1662, allocations: 37.7 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1664, allocations: 334.8 kB / 0.5636 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/0.1672, allocations: 171.8 kB / 0.5638 GB, free: 13.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.1679, allocations: 169.9 kB / 0.5639 GB, free: 13.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.1694, allocations: 365.6 kB / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1694, allocations: 0 / 0.5643 GB, free: 13.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001663/0.1711, allocations: 460.5 kB / 0.5647 GB, free: 12.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.749e-05/0.1712, allocations: 61.44 kB / 0.5648 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1712, allocations: 3.984 kB / 0.5648 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1712, allocations: 7.938 kB / 0.5648 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.1716, allocations: 71.84 kB / 0.5649 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1716, allocations: 4 kB / 0.5649 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.1721, allocations: 63.91 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.1721, allocations: 4 kB / 0.5649 GB, free: 12.47 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.000165/0.1723, allocations: 132 kB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.1723, allocations: 23.86 kB / 0.5651 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.174, allocations: 406.7 kB / 0.5655 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.174, allocations: 3.938 kB / 0.5655 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.174, allocations: 4 kB / 0.5655 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.174, allocations: 3.984 kB / 0.5655 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.176, allocations: 0.705 MB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.176, allocations: 3.938 kB / 0.5662 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.1764, allocations: 67.84 kB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.972e-05/0.1765, allocations: 4 kB / 0.5662 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.1765, allocations: 7.984 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1765, allocations: 4 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.1765, allocations: 0 / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/0.1782, allocations: 471 kB / 0.5667 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.1783, allocations: 108.9 kB / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.1783, allocations: 4 kB / 0.5668 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.1788, allocations: 63.89 kB / 0.5669 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.179, allocations: 43.95 kB / 0.5669 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.179, allocations: 7.984 kB / 0.5669 GB, free: 10.33 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.1792, allocations: 189.8 kB / 0.5671 GB, free: 10.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1792, allocations: 0 / 0.5671 GB, free: 10.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003631/0.1796, allocations: 47.92 kB / 0.5671 GB, free: 10.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.003503/0.1831, allocations: 1.31 MB / 0.5684 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.1849, allocations: 466.3 kB / 0.5689 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1849, allocations: 0 / 0.5689 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.1857, allocations: 183.7 kB / 0.569 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.1861, allocations: 36.64 kB / 0.5691 GB, free: 8.227 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/0.1928, allocations: 2.847 MB / 0.5718 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.1932, allocations: 0.728 MB / 0.5726 GB, free: 4.527 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001303/0.1934, allocations: 17.42 kB / 0.5726 GB, free: 4.512 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.1935, allocations: 59.41 kB / 0.5726 GB, free: 4.453 MB / 430.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1935, allocations: 0 / 0.5726 GB, free: 4.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.2172, allocations: 5.805 MB / 0.5783 GB, free: 14.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.7/8.917, allocations: 23.03 kB / 0.5783 GB, free: 14.7 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.142799155961256] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 9.100075277034193 9.116609001 8.957964777 Calling exit ...