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.00172/0.00172, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002156/0.002156, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.546/1.546, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2588/0.2588, allocations: 46.92 MB / 357.1 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 67.89 kB / 0.491 GB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1504, allocations: 65.99 MB / 0.5554 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003225/0.1537, allocations: 1.866 MB / 0.5572 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1553, allocations: 1.021 MB / 0.5582 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.799e-05/0.1554, allocations: 7.938 kB / 0.5582 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1556, allocations: 59.72 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.1559, allocations: 123.4 kB / 0.5584 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.1563, allocations: 163 kB / 0.5586 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.1566, allocations: 195.5 kB / 0.5587 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.1567, allocations: 25.53 kB / 0.5588 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1568, allocations: 83.69 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.1569, allocations: 103.6 kB / 0.5589 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.157, allocations: 12 kB / 0.559 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-05/0.1571, allocations: 43.92 kB / 0.559 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.1572, allocations: 47.81 kB / 0.559 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.196e-05/0.1572, allocations: 71.59 kB / 0.5591 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1575, allocations: 187.2 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.1575, allocations: 3.938 kB / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1575, allocations: 0 / 0.5593 GB, free: 1.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1575, allocations: 3.984 kB / 0.5593 GB, free: 1.785 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.00116/0.1587, allocations: 0.5914 MB / 0.5599 GB, free: 1.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1587, allocations: 12.03 kB / 0.5599 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.1588, allocations: 34.75 kB / 0.5599 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.1588, allocations: 16.84 kB / 0.5599 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1591, allocations: 236.9 kB / 0.5602 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1591, allocations: 4.375 kB / 0.5602 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1591, allocations: 7.938 kB / 0.5602 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.1597, allocations: 149.5 kB / 0.5603 GB, free: 0.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.1597, allocations: 3.984 kB / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.1597, allocations: 0 / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1597, allocations: 0 / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.1605, allocations: 163.8 kB / 0.5605 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.161, allocations: 372.6 kB / 0.5608 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.1619, allocations: 194.4 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000398/0.1623, allocations: 88.77 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.1624, allocations: 4 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006135/0.163, allocations: 159.2 kB / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.163, allocations: 112 / 0.5613 GB, free: 15.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004031/0.167, allocations: 0.8321 MB / 0.5621 GB, free: 14.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.1671, allocations: 59.34 kB / 0.5621 GB, free: 14.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1673, allocations: 248.2 kB / 0.5624 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1674, allocations: 33.7 kB / 0.5624 GB, free: 14.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.1675, allocations: 128 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.1675, allocations: 39.75 kB / 0.5626 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-05/0.1676, allocations: 37.7 kB / 0.5626 GB, free: 14.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1678, allocations: 334.8 kB / 0.5629 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007807/0.1686, allocations: 171.8 kB / 0.5631 GB, free: 13.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/0.1693, allocations: 161.8 kB / 0.5632 GB, free: 13.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.1708, allocations: 365.9 kB / 0.5636 GB, free: 13.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1708, allocations: 0 / 0.5636 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00168/0.1724, allocations: 464.4 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.147e-05/0.1725, allocations: 63.39 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1725, allocations: 4 kB / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1725, allocations: 0 / 0.5641 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004696/0.173, allocations: 71.84 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.173, allocations: 0 / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.1734, allocations: 63.91 kB / 0.5642 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.1735, allocations: 11.98 kB / 0.5642 GB, free: 12.45 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.0001621/0.1736, allocations: 132 kB / 0.5644 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.1737, allocations: 23.86 kB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.1753, allocations: 410.8 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.1753, allocations: 7.938 kB / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1753, allocations: 0 / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1753, allocations: 0 / 0.5648 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.1773, allocations: 0.7012 MB / 0.5655 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1773, allocations: 7.984 kB / 0.5655 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/0.1777, allocations: 71.84 kB / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1777, allocations: 0 / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.1777, allocations: 4 kB / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1777, allocations: 0 / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1777, allocations: 0 / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.1793, allocations: 495.3 kB / 0.566 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.333e-05/0.1794, allocations: 96.95 kB / 0.5661 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.1794, allocations: 7.984 kB / 0.5661 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.1799, allocations: 63.91 kB / 0.5662 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.18, allocations: 47.94 kB / 0.5662 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.18, allocations: 4 kB / 0.5662 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1802, allocations: 189.8 kB / 0.5664 GB, free: 10.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1802, allocations: 0 / 0.5664 GB, free: 10.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003433/0.1806, allocations: 47.94 kB / 0.5664 GB, free: 10.07 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.003443/0.184, allocations: 1.311 MB / 0.5677 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.1858, allocations: 466.4 kB / 0.5682 GB, free: 8.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1858, allocations: 0 / 0.5682 GB, free: 8.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008167/0.1866, allocations: 175.8 kB / 0.5683 GB, free: 8.238 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.187, allocations: 38.61 kB / 0.5684 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006738/0.1938, allocations: 2.836 MB / 0.5711 GB, free: 5.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1942, allocations: 0.728 MB / 0.5719 GB, free: 4.508 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.1943, allocations: 17.42 kB / 0.5719 GB, free: 4.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.1945, allocations: 59.41 kB / 0.5719 GB, free: 4.434 MB / 430.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1945, allocations: 0 / 0.5719 GB, free: 4.434 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.2242, allocations: 5.784 MB / 0.5776 GB, free: 14.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.574, allocations: 27.14 kB / 0.5776 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] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test33/Test33.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y,d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(trapezoid1.y),der(trapezoid2.y),t_new.extrapolation,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1,t_new.u2,t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y,time,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 11.791122955037281]