Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 104 kB / 17.32 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 193.3 kB / 18.25 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.16 MB / 336.2 MB, free: 2.926 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001274, allocations: 61.56 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.004426/0.1672, allocations: 1.68 MB / 470.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1685, allocations: 0.6644 MB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.1686, allocations: 3.938 kB / 471.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.1689, allocations: 31.91 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1692, allocations: 31.91 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.33e-06/0.1692, allocations: 0 / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1694, allocations: 39.78 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.641e-05/0.1695, allocations: 7.984 kB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.1695, allocations: 7.938 kB / 471.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1697, allocations: 34.44 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1697, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.1698, allocations: 11.98 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.479e-05/0.1698, allocations: 12 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.1699, allocations: 23.8 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.1701, allocations: 71.95 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1701, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.367e-06/0.1701, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1701, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005492/0.1707, allocations: 359.3 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.1707, allocations: 16.03 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.823e-05/0.1708, allocations: 38.73 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.1709, allocations: 16.77 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1711, allocations: 172.3 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1711, allocations: 384 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1711, allocations: 4.375 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.1714, allocations: 123.3 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1714, allocations: 3.938 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.1714, allocations: 0 / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/0.1715, allocations: 27.97 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1716, allocations: 47.84 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.1725, allocations: 0.8868 MB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.1726, allocations: 165.1 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.703e-05/0.1726, allocations: 88.08 kB / 473.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.1727, allocations: 79.28 kB / 473.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/0.1728, allocations: 105.8 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.1728, allocations: 0 / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.1729, allocations: 45.53 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.173, allocations: 126.7 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1732, allocations: 186.1 kB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.1732, allocations: 29.7 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1733, allocations: 143.2 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.1734, allocations: 3.984 kB / 474.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.1734, allocations: 41.62 kB / 474.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1736, allocations: 326.8 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.1737, allocations: 31.92 kB / 474.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1738, allocations: 160 kB / 474.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1741, allocations: 204.9 kB / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.1741, allocations: 0 / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003709/0.1745, allocations: 201.3 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.1745, allocations: 8 kB / 475 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1745, allocations: 4 kB / 475 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.064e-05/0.1745, allocations: 8 kB / 475 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1747, allocations: 35.92 kB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.1747, allocations: 7.984 kB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.1749, allocations: 27.69 kB / 475.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1749, allocations: 12.38 kB / 475.1 MB, free: 7.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001773/0.1751, allocations: 217 kB / 475.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.605e-05/0.1752, allocations: 116.8 kB / 475.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.1753, allocations: 116.9 kB / 475.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-05/0.1754, allocations: 180.3 kB / 475.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/0.1755, allocations: 184.2 kB / 475.9 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/0.1756, allocations: 184.3 kB / 476.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003033/0.1759, allocations: 433.1 kB / 476.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.181e-05/0.1759, allocations: 101 kB / 476.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.176, allocations: 109 kB / 476.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.789e-05/0.1761, allocations: 180.2 kB / 476.9 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-05/0.1762, allocations: 180.3 kB / 477.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-05/0.1763, allocations: 180.2 kB / 477.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-05/0.1764, allocations: 184.2 kB / 477.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.1766, allocations: 311.6 kB / 477.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1767, allocations: 186 kB / 477.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.1768, allocations: 188.2 kB / 478.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.177, allocations: 101 kB / 478.2 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.177, allocations: 188.3 kB / 478.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.1771, allocations: 104.9 kB / 478.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1772, allocations: 132 kB / 478.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1772, allocations: 0 / 478.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.1776, allocations: 16 kB / 478.6 MB, free: 4.168 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0008778/0.1785, allocations: 0.9221 MB / 479.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.1787, allocations: 80.59 kB / 479.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1787, allocations: 0 / 479.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.1787, allocations: 3.938 kB / 479.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1791, allocations: 463.7 kB / 480.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.181, allocations: 1.882 MB / 482 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1814, allocations: 0.6967 MB / 482.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.1817, allocations: 53.02 kB / 482.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.1817, allocations: 23.42 kB / 482.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1817, allocations: 0 / 482.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.197, allocations: 1.958 MB / 484.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.1973, allocations: 233.9 kB / 484.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.06, allocations: 0 / 484.9 MB, free: 13.73 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches