Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001409/0.001409, allocations: 113 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.001408/0.001408, allocations: 217.4 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.605/1.605, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2416/0.2416, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 67.91 kB / 0.4916 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1489, allocations: 65.99 MB / 0.5561 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.004641/0.1535, allocations: 2.033 MB / 0.5581 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1562, allocations: 1.259 MB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.1565, allocations: 4 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1568, allocations: 47.53 kB / 0.5593 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006553/0.1574, allocations: 211.1 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1587, allocations: 434.2 kB / 0.56 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005733/0.1592, allocations: 303 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000194/0.1594, allocations: 48.72 kB / 0.5603 GB, free: 1.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.1598, allocations: 147.4 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.1602, allocations: 195.3 kB / 0.5606 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.247e-05/0.1602, allocations: 12 kB / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1604, allocations: 67.92 kB / 0.5607 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.1606, allocations: 143.5 kB / 0.5608 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.1608, allocations: 174.6 kB / 0.561 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.1614, allocations: 413.9 kB / 0.5614 GB, free: 372 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1614, allocations: 8 kB / 0.5614 GB, free: 364 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1614, allocations: 0 / 0.5614 GB, free: 364 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.1614, allocations: 0 / 0.5614 GB, free: 364 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001379/0.1628, allocations: 0.8121 MB / 0.5622 GB, free: 15.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.1628, allocations: 8.031 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.706e-05/0.1629, allocations: 8.188 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.673e-05/0.1629, allocations: 34.75 kB / 0.5622 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003796/0.1633, allocations: 88.48 kB / 0.5623 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.1641, allocations: 484.2 kB / 0.5628 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1641, allocations: 8.125 kB / 0.5628 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.72e-05/0.1642, allocations: 11.94 kB / 0.5628 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.1645, allocations: 127.3 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.1645, allocations: 0 / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1645, allocations: 8 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1645, allocations: 0 / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.1648, allocations: 83.88 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1659, allocations: 0.6761 MB / 0.5637 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.1662, allocations: 105.2 kB / 0.5638 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1663, allocations: 49.75 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.1663, allocations: 3.984 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.1663, allocations: 42.56 kB / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.1664, allocations: 0 / 0.5639 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001569/0.1679, allocations: 0.5306 MB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.168, allocations: 77.11 kB / 0.5645 GB, free: 12.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.1692, allocations: 0.9297 MB / 0.5654 GB, free: 12.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.1692, allocations: 25.7 kB / 0.5654 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.1695, allocations: 264.6 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/0.1695, allocations: 59.52 kB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.238e-05/0.1696, allocations: 37.64 kB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.1698, allocations: 370.7 kB / 0.5661 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.17, allocations: 59.95 kB / 0.5661 GB, free: 11.22 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.1702, allocations: 80.14 kB / 0.5662 GB, free: 11.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003646/0.1706, allocations: 133.7 kB / 0.5664 GB, free: 11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1706, allocations: 0 / 0.5664 GB, free: 11 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005194/0.1711, allocations: 225.1 kB / 0.5666 GB, free: 10.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1711, allocations: 8 kB / 0.5666 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1711, allocations: 4 kB / 0.5666 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1711, allocations: 0 / 0.5666 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.1714, allocations: 39.97 kB / 0.5666 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1714, allocations: 4 kB / 0.5666 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.1715, allocations: 15.97 kB / 0.5666 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.1715, allocations: 4.312 kB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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.0002321/0.1718, allocations: 219.8 kB / 0.5668 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1719, allocations: 67.58 kB / 0.5669 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006454/0.1726, allocations: 267.1 kB / 0.5672 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1726, allocations: 4 kB / 0.5672 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1726, allocations: 4 kB / 0.5672 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1726, allocations: 0 / 0.5672 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.1738, allocations: 0.7942 MB / 0.568 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1738, allocations: 0 / 0.568 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.174, allocations: 39.91 kB / 0.568 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.174, allocations: 0 / 0.568 GB, free: 9.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.174, allocations: 11.94 kB / 0.568 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.174, allocations: 0 / 0.568 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.174, allocations: 7.984 kB / 0.568 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.1746, allocations: 390.4 kB / 0.5684 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.1748, allocations: 160.6 kB / 0.5685 GB, free: 8.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.1749, allocations: 3.938 kB / 0.5685 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.1751, allocations: 19.98 kB / 0.5686 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.1751, allocations: 15.92 kB / 0.5686 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1752, allocations: 8 kB / 0.5686 GB, free: 8.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008479/0.176, allocations: 0.6747 MB / 0.5692 GB, free: 7.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.176, allocations: 0 / 0.5692 GB, free: 7.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.1764, allocations: 51.94 kB / 0.5693 GB, free: 7.879 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002351/0.1787, allocations: 1.239 MB / 0.5705 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000481/0.1792, allocations: 143.2 kB / 0.5706 GB, free: 6.633 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1792, allocations: 4 kB / 0.5706 GB, free: 6.629 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.1794, allocations: 79.83 kB / 0.5707 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.18, allocations: 73.95 kB / 0.5708 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007712/0.1877, allocations: 5.055 MB / 0.5757 GB, free: 1.332 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.1883, allocations: 0.868 MB / 0.5766 GB, free: 452 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000203/0.1885, allocations: 83.84 kB / 0.5766 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.1888, allocations: 179.4 kB / 0.5768 GB, free: 192 kB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1888, allocations: 0 / 0.5768 GB, free: 192 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.2209, allocations: 9.983 MB / 0.5866 GB, free: 6.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.265/9.486, allocations: 20.98 kB / 0.5866 GB, free: 6.25 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.256114597956184]