Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00138/0.00138, allocations: 121 kB / 18.5 MB, free: 4.562 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.001671/0.001671, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.693/1.693, allocations: 230.6 MB / 254.8 MB, free: 15.11 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.2348/0.2348, allocations: 46.93 MB / 357.8 MB, free: 10.3 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003195/0.003195, allocations: 63.91 kB / 0.4916 GB, free: 7.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1559, allocations: 65.99 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003698/0.1596, allocations: 1.859 MB / 0.5579 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001955/0.1616, allocations: 1.048 MB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.714e-05/0.1616, allocations: 0 / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1619, allocations: 71.64 kB / 0.559 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.1623, allocations: 123.3 kB / 0.5591 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.1629, allocations: 206.9 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.1632, allocations: 203.4 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1633, allocations: 17.55 kB / 0.5595 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.1634, allocations: 83.69 kB / 0.5596 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.1636, allocations: 111.6 kB / 0.5597 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1636, allocations: 12 kB / 0.5597 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1637, allocations: 43.98 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.325e-05/0.1638, allocations: 51.77 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.856e-05/0.1639, allocations: 63.59 kB / 0.5599 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.1642, allocations: 203.1 kB / 0.5601 GB, free: 1.699 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1642, allocations: 4 kB / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1642, allocations: 0 / 0.5601 GB, free: 1.695 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1642, allocations: 0 / 0.5601 GB, free: 1.695 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.001296/0.1655, allocations: 0.5797 MB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1656, allocations: 12.03 kB / 0.5606 GB, free: 1.043 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.315e-05/0.1656, allocations: 4.188 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.459e-05/0.1656, allocations: 46.67 kB / 0.5607 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/0.1657, allocations: 16.84 kB / 0.5607 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.166, allocations: 240.9 kB / 0.5609 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.166, allocations: 8.125 kB / 0.5609 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.1661, allocations: 4 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/0.1667, allocations: 153.5 kB / 0.5611 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1667, allocations: 7.922 kB / 0.5611 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.1667, allocations: 4 kB / 0.5611 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1667, allocations: 4 kB / 0.5611 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008166/0.1675, allocations: 167.7 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.1685, allocations: 432.5 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008663/0.1693, allocations: 194.4 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.1698, allocations: 88.77 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.1698, allocations: 4 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006581/0.1705, allocations: 171.1 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1705, allocations: 4 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004137/0.1746, allocations: 0.8361 MB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.1747, allocations: 55.34 kB / 0.563 GB, free: 14.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000338/0.175, allocations: 261 kB / 0.5632 GB, free: 14.22 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.175, allocations: 37.7 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1751, allocations: 124.1 kB / 0.5634 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.043e-05/0.1752, allocations: 39.83 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1753, allocations: 37.7 kB / 0.5635 GB, free: 13.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.1755, allocations: 330.8 kB / 0.5638 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008162/0.1764, allocations: 171.8 kB / 0.5639 GB, free: 13.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008012/0.1772, allocations: 177.5 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.1787, allocations: 378.1 kB / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1787, allocations: 0 / 0.5645 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001829/0.1805, allocations: 472.5 kB / 0.5649 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.1806, allocations: 67.44 kB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1806, allocations: 3.938 kB / 0.565 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1806, allocations: 4.5 kB / 0.565 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.1811, allocations: 71.91 kB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1811, allocations: 8 kB / 0.5651 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.1816, allocations: 59.91 kB / 0.5651 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.1816, allocations: 4 kB / 0.5651 GB, free: 12.21 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.0001818/0.1818, allocations: 136 kB / 0.5653 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.1818, allocations: 19.84 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.1836, allocations: 438.9 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1836, allocations: 3.938 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1836, allocations: 0 / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1836, allocations: 0 / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.1857, allocations: 0.7285 MB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1857, allocations: 3.938 kB / 0.5664 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004184/0.1862, allocations: 71.89 kB / 0.5665 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1862, allocations: 4 kB / 0.5665 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.1862, allocations: 4 kB / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1862, allocations: 0 / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1862, allocations: 0 / 0.5665 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.1879, allocations: 479.1 kB / 0.567 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/0.188, allocations: 108.9 kB / 0.5671 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.188, allocations: 4 kB / 0.5671 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.1885, allocations: 63.89 kB / 0.5671 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.1886, allocations: 47.89 kB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.1887, allocations: 7.984 kB / 0.5672 GB, free: 10.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.1889, allocations: 188.5 kB / 0.5674 GB, free: 9.828 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1889, allocations: 4 kB / 0.5674 GB, free: 9.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003368/0.1892, allocations: 51.92 kB / 0.5674 GB, free: 9.773 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.003648/0.1929, allocations: 1.328 MB / 0.5687 GB, free: 8.582 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.1948, allocations: 474.3 kB / 0.5692 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1948, allocations: 0 / 0.5692 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008478/0.1956, allocations: 191.6 kB / 0.5693 GB, free: 7.91 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005151/0.1961, allocations: 28.66 kB / 0.5694 GB, free: 7.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007125/0.2032, allocations: 2.902 MB / 0.5722 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.2036, allocations: 0.7319 MB / 0.5729 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.2038, allocations: 29.41 kB / 0.5729 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.2039, allocations: 51.42 kB / 0.573 GB, free: 4.039 MB / 430.1 MB Notification: Performance of SimCode: time 5.92e-07/0.2039, allocations: 0 / 0.573 GB, free: 4.039 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.2267, allocations: 5.908 MB / 0.5788 GB, free: 14.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/8.846, allocations: 15.84 kB / 0.5788 GB, free: 14.19 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.168257687008008] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 9.034908939967863 9.061346151 8.892105148 Calling exit ...