Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001255/0.001254, allocations: 108 kB / 16.41 MB, free: 6.484 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.001242/0.001242, allocations: 188.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2306/0.2306, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00296/0.002961, allocations: 63.89 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1712, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003772/0.1751, allocations: 1.958 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1765, allocations: 0.6627 MB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.1766, allocations: 0 / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.1772, allocations: 255.3 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004765/0.1777, allocations: 195.3 kB / 0.4904 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1787, allocations: 451 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.1792, allocations: 275.3 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1794, allocations: 60.72 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.1796, allocations: 139.4 kB / 0.4913 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.1799, allocations: 191.4 kB / 0.4915 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.02e-05/0.1799, allocations: 8 kB / 0.4915 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1801, allocations: 67.97 kB / 0.4915 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1802, allocations: 91.67 kB / 0.4916 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.409e-05/0.1803, allocations: 115 kB / 0.4917 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003865/0.1807, allocations: 306.4 kB / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1807, allocations: 0 / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1807, allocations: 0 / 0.492 GB, free: 7.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1807, allocations: 11.88 kB / 0.492 GB, free: 7.531 MB / 382.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.0008521/0.1816, allocations: 0.6648 MB / 0.4927 GB, free: 6.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1816, allocations: 15.89 kB / 0.4927 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.1817, allocations: 34.75 kB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.875e-05/0.1818, allocations: 48.64 kB / 0.4928 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.1822, allocations: 318.6 kB / 0.4931 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.1823, allocations: 8.375 kB / 0.4931 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.887e-05/0.1823, allocations: 12.38 kB / 0.4931 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002824/0.1826, allocations: 109.5 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1826, allocations: 0 / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1826, allocations: 0 / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1827, allocations: 8 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1829, allocations: 71.95 kB / 0.4933 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.1837, allocations: 0.4886 MB / 0.4938 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1839, allocations: 94.48 kB / 0.4939 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.184, allocations: 45 kB / 0.4939 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.184, allocations: 3.984 kB / 0.4939 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.184, allocations: 34.5 kB / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.184, allocations: 0 / 0.4939 GB, free: 5.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009507/0.185, allocations: 388.4 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1851, allocations: 55.41 kB / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.1857, allocations: 0.5448 MB / 0.4949 GB, free: 4.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1857, allocations: 33.7 kB / 0.4949 GB, free: 4.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1859, allocations: 200.4 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.1859, allocations: 67.38 kB / 0.4952 GB, free: 4.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.186, allocations: 33.7 kB / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1861, allocations: 346.8 kB / 0.4955 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.1863, allocations: 47.97 kB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.1864, allocations: 58.62 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.1866, allocations: 124.7 kB / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1866, allocations: 0 / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003738/0.187, allocations: 196.2 kB / 0.4959 GB, free: 3.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.187, allocations: 4 kB / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1871, allocations: 0 / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.1871, allocations: 0 / 0.4959 GB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.1873, allocations: 39.98 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1873, allocations: 0 / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.1874, allocations: 11.98 kB / 0.496 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1874, allocations: 15.92 kB / 0.496 GB, free: 3.223 MB / 382.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.0001854/0.1876, allocations: 177.6 kB / 0.4962 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.805e-05/0.1877, allocations: 39.72 kB / 0.4962 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004668/0.1881, allocations: 233.4 kB / 0.4964 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.1881, allocations: 8 kB / 0.4965 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1882, allocations: 0 / 0.4965 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1882, allocations: 0 / 0.4965 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008776/0.189, allocations: 0.6231 MB / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1891, allocations: 0 / 0.4971 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1892, allocations: 43.91 kB / 0.4971 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1892, allocations: 0 / 0.4971 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1892, allocations: 8 kB / 0.4971 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.1892, allocations: 3.938 kB / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1892, allocations: 0 / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.1897, allocations: 299.2 kB / 0.4974 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.808e-05/0.1898, allocations: 112.9 kB / 0.4975 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/0.1898, allocations: 11.98 kB / 0.4975 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1899, allocations: 11.88 kB / 0.4975 GB, free: 1.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.19, allocations: 15.98 kB / 0.4975 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.19, allocations: 11.94 kB / 0.4976 GB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000455/0.1905, allocations: 407.1 kB / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1905, allocations: 0 / 0.4979 GB, free: 1.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003293/0.1908, allocations: 47.94 kB / 0.498 GB, free: 1.098 MB / 382.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.002424/0.1933, allocations: 1.427 MB / 0.4994 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000371/0.1937, allocations: 131.8 kB / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1937, allocations: 0 / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1938, allocations: 71.91 kB / 0.4996 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.1945, allocations: 77.38 kB / 0.4997 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.1987, allocations: 3.035 MB / 0.5026 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.1991, allocations: 0.8065 MB / 0.5034 GB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.1993, allocations: 45.89 kB / 0.5034 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/0.1995, allocations: 119.4 kB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1995, allocations: 0 / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.2263, allocations: 7.262 MB / 0.5107 GB, free: 3.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.32, allocations: 7.984 kB / 0.5107 GB, free: 3.984 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches