Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001267, allocations: 113.7 kB / 17.04 MB, free: 6.129 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.001092/0.001093, allocations: 195.1 kB / 17.98 MB, free: 5.227 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.474/1.474, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2665/0.2665, allocations: 43.53 MB / 314.7 MB, free: 480 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.00155/0.00155, allocations: 63.91 kB / 442.4 MB, free: 5.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.177, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.003417/0.1805, allocations: 1.613 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.1812, allocations: 327.5 kB / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.1813, allocations: 0 / 0.4904 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006131/0.1819, allocations: 451.2 kB / 0.4908 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.1823, allocations: 251.4 kB / 0.4911 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.1826, allocations: 111.8 kB / 0.4912 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.1829, allocations: 167.6 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.183, allocations: 20.17 kB / 0.4913 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.1831, allocations: 103.8 kB / 0.4914 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.1834, allocations: 211.6 kB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1835, allocations: 7.938 kB / 0.4916 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1836, allocations: 32 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1837, allocations: 83.67 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.804e-05/0.1838, allocations: 103 kB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.1841, allocations: 255 kB / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1841, allocations: 0 / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.1841, allocations: 0 / 0.4921 GB, free: 8.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1842, allocations: 4 kB / 0.4921 GB, free: 8.109 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008219/0.185, allocations: 0.6336 MB / 0.4927 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.185, allocations: 11.89 kB / 0.4927 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.1851, allocations: 44.38 kB / 0.4928 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1854, allocations: 288.2 kB / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1854, allocations: 384 / 0.4931 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1855, allocations: 8.375 kB / 0.4931 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1857, allocations: 65.59 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1857, allocations: 7.922 kB / 0.4931 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.1857, allocations: 0 / 0.4931 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1857, allocations: 0 / 0.4931 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.1859, allocations: 39.91 kB / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.1864, allocations: 388.7 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1865, allocations: 38.66 kB / 0.4936 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/0.1866, allocations: 20.84 kB / 0.4936 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1866, allocations: 7.984 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1867, allocations: 34.56 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1867, allocations: 3.938 kB / 0.4936 GB, free: 6.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000858/0.1875, allocations: 279.9 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.1876, allocations: 55.34 kB / 0.494 GB, free: 6.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.1887, allocations: 0.8573 MB / 0.4948 GB, free: 5.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.1888, allocations: 29.7 kB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.189, allocations: 208.1 kB / 0.495 GB, free: 4.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.189, allocations: 35.61 kB / 0.4951 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.1891, allocations: 17.72 kB / 0.4951 GB, free: 4.848 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1892, allocations: 366.8 kB / 0.4954 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.1894, allocations: 27.97 kB / 0.4955 GB, free: 4.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1895, allocations: 36.03 kB / 0.4955 GB, free: 4.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.1897, allocations: 80.8 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1897, allocations: 0 / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.19, allocations: 133.1 kB / 0.4957 GB, free: 4.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.1901, allocations: 11.12 kB / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1901, allocations: 0 / 0.4957 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1901, allocations: 7.984 kB / 0.4957 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1902, allocations: 23.98 kB / 0.4957 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1903, allocations: 0 / 0.4957 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.259e-05/0.1903, allocations: 11.92 kB / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.1904, allocations: 4 kB / 0.4957 GB, free: 4.145 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 (7): * Single equations (assignments): 7 * 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.0002011/0.1906, allocations: 213.7 kB / 0.4959 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/0.1906, allocations: 39.44 kB / 0.496 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.191, allocations: 181.3 kB / 0.4962 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.191, allocations: 0 / 0.4962 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.191, allocations: 0 / 0.4962 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1911, allocations: 3.938 kB / 0.4962 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.1917, allocations: 486.4 kB / 0.4966 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1917, allocations: 4 kB / 0.4966 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.1918, allocations: 23.92 kB / 0.4967 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1918, allocations: 0 / 0.4967 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1918, allocations: 7.938 kB / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1919, allocations: 0 / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1919, allocations: 0 / 0.4967 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.1922, allocations: 242.9 kB / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1924, allocations: 112.6 kB / 0.497 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.1924, allocations: 3.938 kB / 0.497 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1925, allocations: 7.984 kB / 0.497 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.1926, allocations: 8 kB / 0.497 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1926, allocations: 4 kB / 0.497 GB, free: 2.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006171/0.1933, allocations: 0.6394 MB / 0.4976 GB, free: 2.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1933, allocations: 0 / 0.4976 GB, free: 2.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1935, allocations: 35.98 kB / 0.4977 GB, free: 2.051 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 (7): * Single equations (assignments): 7 * 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.001017/0.1946, allocations: 417.4 kB / 0.4981 GB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000316/0.1949, allocations: 79.92 kB / 0.4982 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1949, allocations: 0 / 0.4982 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.195, allocations: 43.91 kB / 0.4982 GB, free: 1.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.1955, allocations: 25.95 kB / 0.4982 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1967, allocations: 0.8282 MB / 0.499 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/0.1972, allocations: 0.8182 MB / 0.4998 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.505e-05/0.1973, allocations: 19.42 kB / 0.4999 GB, free: 15.81 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1973, allocations: 0 / 0.4999 GB, free: 15.81 MB / 398.1 MB Notification: Performance of Templates: time 0.007813/0.2051, allocations: 3.751 MB / 0.5035 GB, free: 12.05 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches