Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21",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.001084/0.001084, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00116/0.00116, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.44/1.44, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2252/0.2252, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 69.17 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1666, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003587/0.1703, allocations: 1.954 MB / 471.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1718, allocations: 0.8611 MB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1719, allocations: 0 / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.1725, allocations: 259.2 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003667/0.1729, allocations: 191.3 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001119/0.174, allocations: 490.1 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000388/0.1744, allocations: 283.3 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1746, allocations: 60.86 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.1748, allocations: 131.5 kB / 473.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.175, allocations: 195.4 kB / 473.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.175, allocations: 8 kB / 473.8 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.1753, allocations: 95.91 kB / 473.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1754, allocations: 87.67 kB / 473.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1755, allocations: 123 kB / 474.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.1759, allocations: 326.8 kB / 474.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1759, allocations: 0 / 474.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1759, allocations: 4 kB / 474.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.176, allocations: 0 / 474.4 MB, free: 9.246 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008312/0.1768, allocations: 0.6496 MB / 475 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1769, allocations: 8.031 kB / 475 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.1769, allocations: 46.73 kB / 475.1 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.177, allocations: 40.38 kB / 475.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.1774, allocations: 306.3 kB / 475.4 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1774, allocations: 8.375 kB / 475.4 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.1775, allocations: 20.3 kB / 475.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1777, allocations: 105.6 kB / 475.6 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.1777, allocations: 11.89 kB / 475.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1778, allocations: 4 kB / 475.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1778, allocations: 8 kB / 475.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.178, allocations: 67.89 kB / 475.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000644/0.1786, allocations: 496.3 kB / 476.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.1788, allocations: 94.47 kB / 476.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.133e-05/0.1789, allocations: 32.84 kB / 476.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1789, allocations: 4 kB / 476.3 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.1789, allocations: 34.5 kB / 476.3 MB, free: 7.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.179, allocations: 4 kB / 476.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009644/0.1799, allocations: 380.5 kB / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.18, allocations: 55.39 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005887/0.1806, allocations: 0.537 MB / 477.3 MB, free: 6.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1806, allocations: 29.69 kB / 477.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1808, allocations: 212.3 kB / 477.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.1808, allocations: 55.2 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.1809, allocations: 33.7 kB / 477.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1811, allocations: 354.7 kB / 477.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1812, allocations: 51.97 kB / 478 MB, free: 5.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.1813, allocations: 47.98 kB / 478 MB, free: 5.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.1816, allocations: 127.2 kB / 478.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1816, allocations: 4 kB / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003214/0.1819, allocations: 193.1 kB / 478.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1819, allocations: 5.562 kB / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1819, allocations: 0 / 478.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.182, allocations: 3.938 kB / 478.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.1821, allocations: 39.91 kB / 478.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1821, allocations: 0 / 478.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.37e-05/0.1822, allocations: 12 kB / 478.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1822, allocations: 4 kB / 478.4 MB, free: 4.992 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001518/0.1824, allocations: 185.7 kB / 478.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.1825, allocations: 35.53 kB / 478.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000434/0.1829, allocations: 229.4 kB / 478.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.1829, allocations: 7.984 kB / 478.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1829, allocations: 0 / 478.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.1829, allocations: 7.984 kB / 478.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.1837, allocations: 0.6296 MB / 479.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1837, allocations: 0 / 479.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1838, allocations: 31.98 kB / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1838, allocations: 0 / 479.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.1839, allocations: 11.94 kB / 479.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1839, allocations: 3.938 kB / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1839, allocations: 0 / 479.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1843, allocations: 294.9 kB / 479.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.115e-05/0.1844, allocations: 112.7 kB / 479.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.1844, allocations: 4 kB / 479.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1845, allocations: 15.92 kB / 480 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.1846, allocations: 15.98 kB / 480 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.1846, allocations: 4 kB / 480 MB, free: 3.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004033/0.185, allocations: 411.1 kB / 480.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.185, allocations: 0 / 480.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003288/0.1853, allocations: 47.89 kB / 480.4 MB, free: 2.863 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 (17): * Single equations (assignments): 17 * 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.002221/0.1876, allocations: 1.428 MB / 481.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.1879, allocations: 139.9 kB / 482 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1879, allocations: 0 / 482 MB, free: 1.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1881, allocations: 71.91 kB / 482.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1886, allocations: 89.53 kB / 482.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.1921, allocations: 3.057 MB / 485.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.1925, allocations: 0.8065 MB / 486 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001194/0.1926, allocations: 37.92 kB / 486 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.1928, allocations: 127.4 kB / 486.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1928, allocations: 0 / 486.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.2162, allocations: 7.103 MB / 493.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.764, allocations: 11.91 kB / 493.3 MB, free: 6.281 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches