Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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: translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009031, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 185.3 kB / 16.92 MB, free: 6.918 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.897/1.897, allocations: 205.4 MB / 223.1 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5126/0.5126, allocations: 43.57 MB / 315 MB, free: 8.684 MB / 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.0006062/0.0006062, allocations: 16 kB / 384.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1799, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002849/0.1828, allocations: 1.343 MB / 444.8 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.1841, allocations: 0.6604 MB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.1842, allocations: 0 / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.1846, allocations: 27.91 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.185, allocations: 35.91 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.061e-06/0.185, allocations: 0 / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.1853, allocations: 51.86 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.862e-05/0.1854, allocations: 4 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.1854, allocations: 7.938 kB / 445.6 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1855, allocations: 27.84 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.1856, allocations: 0 / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.1857, allocations: 8 kB / 445.6 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.1857, allocations: 19.92 kB / 445.6 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.1858, allocations: 45.52 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.186, allocations: 68 kB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1861, allocations: 0 / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.56e-06/0.1861, allocations: 4 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1861, allocations: 4 kB / 445.7 MB, free: 10.36 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005767/0.1867, allocations: 347.4 kB / 446.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.1867, allocations: 8.031 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.612e-05/0.1868, allocations: 8.844 kB / 446.1 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.187, allocations: 172.2 kB / 446.3 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1871, allocations: 8.359 kB / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1871, allocations: 384 / 446.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000242/0.1873, allocations: 119.4 kB / 446.4 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1874, allocations: 8.125 kB / 446.4 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1874, allocations: 7.875 kB / 446.4 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.1875, allocations: 23.98 kB / 446.4 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.1876, allocations: 39.91 kB / 446.5 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008571/0.1884, allocations: 0.8983 MB / 447.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1886, allocations: 177.1 kB / 447.5 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.1886, allocations: 88.17 kB / 447.6 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.372e-05/0.1887, allocations: 79.22 kB / 447.7 MB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.1888, allocations: 105.8 kB / 447.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.1888, allocations: 0 / 447.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001008/0.1889, allocations: 33.61 kB / 447.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.189, allocations: 130.7 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1892, allocations: 186.1 kB / 448.2 MB, free: 7.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1893, allocations: 29.64 kB / 448.2 MB, free: 7.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1894, allocations: 139.2 kB / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.1894, allocations: 4 kB / 448.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.1895, allocations: 25.7 kB / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1896, allocations: 318.8 kB / 448.7 MB, free: 7.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.646e-05/0.1897, allocations: 27.98 kB / 448.7 MB, free: 7.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.1898, allocations: 161 kB / 448.8 MB, free: 6.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.1901, allocations: 204.9 kB / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1901, allocations: 0 / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003668/0.1905, allocations: 201.2 kB / 449.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1905, allocations: 8 kB / 449.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1905, allocations: 4 kB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.1906, allocations: 8 kB / 449.3 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1907, allocations: 39.92 kB / 449.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.1907, allocations: 7.938 kB / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.1908, allocations: 28.19 kB / 449.3 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1909, allocations: 16 kB / 449.3 MB, free: 6.363 MB / 382.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.0001738/0.191, allocations: 213 kB / 449.6 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.72e-05/0.1911, allocations: 116.8 kB / 449.7 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.1912, allocations: 120.8 kB / 449.8 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-05/0.1913, allocations: 180.2 kB / 450 MB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.432e-05/0.1914, allocations: 180.3 kB / 450.1 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.939e-05/0.1915, allocations: 180.2 kB / 450.3 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.1919, allocations: 425.2 kB / 450.7 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.021e-05/0.1919, allocations: 112.9 kB / 450.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.254e-05/0.192, allocations: 104.9 kB / 450.9 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.1921, allocations: 180.2 kB / 451.1 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.1922, allocations: 188.2 kB / 451.3 MB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001101/0.1923, allocations: 180.3 kB / 451.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.864e-05/0.1924, allocations: 180.2 kB / 451.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.1926, allocations: 311.7 kB / 452 MB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1927, allocations: 197.9 kB / 452.2 MB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.1929, allocations: 176.3 kB / 452.3 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.193, allocations: 108.9 kB / 452.4 MB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.193, allocations: 180.2 kB / 452.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.1931, allocations: 101 kB / 452.7 MB, free: 2.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1932, allocations: 136.1 kB / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1932, allocations: 0 / 452.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003174/0.1936, allocations: 16 kB / 452.9 MB, free: 2.629 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 (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.0006032/0.1942, allocations: 295.5 kB / 453.1 MB, free: 2.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1944, allocations: 69.06 kB / 453.2 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1944, allocations: 320 / 453.2 MB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.1944, allocations: 4 kB / 453.2 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.1949, allocations: 0.5302 MB / 453.7 MB, free: 1.742 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004369/0.1953, allocations: 271 kB / 454 MB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.1959, allocations: 0.7009 MB / 454.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001863/0.1961, allocations: 49.02 kB / 454.8 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1962, allocations: 15.44 kB / 454.8 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1962, allocations: 0 / 454.8 MB, free: 0.6602 MB / 382.1 MB Notification: Performance of Templates: time 0.003577/0.1998, allocations: 0.6488 MB / 455.4 MB, free: 12 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches