Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001265/0.001265, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001032/0.001032, allocations: 192 kB / 18.55 MB, free: 4.566 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.435/1.435, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.231/0.231, allocations: 44.19 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 65.23 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1539, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.005168/0.1591, allocations: 1.965 MB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1613, allocations: 1.131 MB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002289/0.1616, allocations: 4 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1619, allocations: 55.56 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006011/0.1626, allocations: 143.4 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.1642, allocations: 0.5846 MB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005606/0.1648, allocations: 271.2 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.1651, allocations: 80.67 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.1654, allocations: 127.5 kB / 473.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.1657, allocations: 183.3 kB / 473.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.1658, allocations: 12 kB / 473.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.166, allocations: 55.98 kB / 474 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.1662, allocations: 143.5 kB / 474.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.1664, allocations: 166.7 kB / 474.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005646/0.1669, allocations: 378.5 kB / 474.6 MB, free: 8.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.1669, allocations: 3.984 kB / 474.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.167, allocations: 0 / 474.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.167, allocations: 0 / 474.6 MB, free: 8.965 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001352/0.1683, allocations: 0.7775 MB / 475.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1684, allocations: 12.03 kB / 475.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.1685, allocations: 42.73 kB / 475.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.1686, allocations: 52.28 kB / 475.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.1693, allocations: 459.8 kB / 476 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.1693, allocations: 4.375 kB / 476 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.1694, allocations: 15.94 kB / 476 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.1697, allocations: 150.9 kB / 476.1 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1697, allocations: 4 kB / 476.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.1697, allocations: 3.984 kB / 476.1 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1697, allocations: 4 kB / 476.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/0.17, allocations: 91.94 kB / 476.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1711, allocations: 0.6993 MB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.1714, allocations: 109.2 kB / 477 MB, free: 6.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1715, allocations: 45.83 kB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.1715, allocations: 19.86 kB / 477.1 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1715, allocations: 38.55 kB / 477.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1716, allocations: 0 / 477.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001651/0.1732, allocations: 0.5372 MB / 477.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1733, allocations: 77.11 kB / 477.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.1745, allocations: 0.8857 MB / 478.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1745, allocations: 33.69 kB / 478.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.1747, allocations: 256.2 kB / 478.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.1748, allocations: 55.2 kB / 479 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.827e-05/0.1749, allocations: 33.7 kB / 479 MB, free: 4.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1751, allocations: 370.7 kB / 479.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.1753, allocations: 67.95 kB / 479.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.1754, allocations: 85.66 kB / 479.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.1758, allocations: 153.6 kB / 479.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1758, allocations: 4 kB / 479.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005242/0.1764, allocations: 236.9 kB / 479.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1764, allocations: 4 kB / 479.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.1764, allocations: 4 kB / 479.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1764, allocations: 0 / 479.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1766, allocations: 39.91 kB / 480 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1767, allocations: 0 / 480 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.1768, allocations: 19.98 kB / 480 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1768, allocations: 4 kB / 480 MB, free: 3.34 MB / 350.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.0002208/0.1771, allocations: 221.9 kB / 480.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1772, allocations: 55.25 kB / 480.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.1778, allocations: 295.1 kB / 480.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1778, allocations: 0 / 480.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1778, allocations: 7.938 kB / 480.5 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1778, allocations: 7.984 kB / 480.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.179, allocations: 0.8097 MB / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.179, allocations: 0 / 481.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1792, allocations: 35.97 kB / 481.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1792, allocations: 0 / 481.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.1792, allocations: 4 kB / 481.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1792, allocations: 3.938 kB / 481.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1792, allocations: 3.938 kB / 481.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.1798, allocations: 420.9 kB / 481.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.18, allocations: 148.4 kB / 482 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.1801, allocations: 0 / 482 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.1803, allocations: 19.92 kB / 482 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.1803, allocations: 15.98 kB / 482 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.1804, allocations: 4 kB / 482 MB, free: 1.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007949/0.1812, allocations: 0.6472 MB / 482.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1812, allocations: 0 / 482.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.1816, allocations: 55.98 kB / 482.7 MB, free: 0.5078 MB / 350.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.002081/0.1837, allocations: 1.256 MB / 484 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006165/0.1843, allocations: 171.8 kB / 484.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1843, allocations: 3.938 kB / 484.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.1846, allocations: 96.34 kB / 484.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.1854, allocations: 74.19 kB / 484.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007555/0.193, allocations: 5.223 MB / 489.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.1935, allocations: 0.8653 MB / 490.4 MB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.1937, allocations: 95.2 kB / 490.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.194, allocations: 167.4 kB / 490.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.194, allocations: 0 / 490.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0374/0.2314, allocations: 9.578 MB / 0.4885 GB, free: 15.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.914, allocations: 13.23 kB / 0.4885 GB, free: 15.08 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches