Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 107 kB / 16.41 MB, free: 6.504 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.001306/0.001306, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.567/1.567, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2366/0.2366, allocations: 43.51 MB / 314.1 MB, free: 444 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.00231/0.00231, allocations: 69.45 kB / 441.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1702, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004578/0.1748, allocations: 1.969 MB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.1774, allocations: 1.053 MB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000361/0.1778, allocations: 4 kB / 0.4908 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.1782, allocations: 55.56 kB / 0.4909 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006673/0.179, allocations: 147.3 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.1805, allocations: 0.5575 MB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005333/0.181, allocations: 271.3 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002216/0.1813, allocations: 72.69 kB / 0.4919 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002945/0.1816, allocations: 127.4 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.1819, allocations: 179.3 kB / 0.4922 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.1819, allocations: 12 kB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1821, allocations: 43.97 kB / 0.4923 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.1823, allocations: 143.6 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1825, allocations: 158.7 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.183, allocations: 370.5 kB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.183, allocations: 0 / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.183, allocations: 0 / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.183, allocations: 0 / 0.4929 GB, free: 6.613 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001415/0.1844, allocations: 0.7425 MB / 0.4936 GB, free: 5.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.1845, allocations: 11.89 kB / 0.4936 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.1846, allocations: 52.28 kB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006931/0.1853, allocations: 447.9 kB / 0.4941 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1854, allocations: 8.375 kB / 0.4941 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/0.1854, allocations: 12.12 kB / 0.4941 GB, free: 5.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.1858, allocations: 147.1 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.1858, allocations: 3.906 kB / 0.4943 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.1858, allocations: 8 kB / 0.4943 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1858, allocations: 4 kB / 0.4943 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.1861, allocations: 91.92 kB / 0.4944 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1872, allocations: 0.6721 MB / 0.495 GB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.1875, allocations: 121.2 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.1876, allocations: 49.81 kB / 0.4952 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.395e-05/0.1876, allocations: 3.938 kB / 0.4952 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.1877, allocations: 42.44 kB / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.894e-06/0.1877, allocations: 0 / 0.4952 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001673/0.1894, allocations: 0.5333 MB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.1895, allocations: 77.11 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.1905, allocations: 0.8583 MB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1906, allocations: 37.7 kB / 0.4967 GB, free: 2.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.1908, allocations: 240.3 kB / 0.4969 GB, free: 2.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.09e-05/0.1909, allocations: 59.19 kB / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.191, allocations: 33.7 kB / 0.497 GB, free: 2.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1911, allocations: 370.7 kB / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.1913, allocations: 59.95 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.1915, allocations: 89.66 kB / 0.4975 GB, free: 1.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.1919, allocations: 149.6 kB / 0.4977 GB, free: 1.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.1919, allocations: 4 kB / 0.4977 GB, free: 1.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000514/0.1924, allocations: 240.9 kB / 0.4979 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1924, allocations: 4 kB / 0.4979 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1925, allocations: 0 / 0.4979 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1925, allocations: 0 / 0.4979 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1927, allocations: 39.91 kB / 0.4979 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.1927, allocations: 4 kB / 0.4979 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1929, allocations: 11.98 kB / 0.498 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.1929, allocations: 8 kB / 0.498 GB, free: 1.145 MB / 382.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.0002247/0.1931, allocations: 217.7 kB / 0.4982 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1933, allocations: 55.25 kB / 0.4982 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/0.194, allocations: 303.2 kB / 0.4985 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.194, allocations: 3.938 kB / 0.4985 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.194, allocations: 0 / 0.4985 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.194, allocations: 8 kB / 0.4985 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.1952, allocations: 0.7824 MB / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1952, allocations: 0 / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1953, allocations: 35.97 kB / 0.4993 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1954, allocations: 4 kB / 0.4993 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.1954, allocations: 4 kB / 0.4993 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.1954, allocations: 7.938 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1954, allocations: 4 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.196, allocations: 410 kB / 0.4997 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1961, allocations: 132.5 kB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.272e-05/0.1962, allocations: 8 kB / 0.4999 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1964, allocations: 11.94 kB / 0.4999 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1965, allocations: 15.97 kB / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1965, allocations: 8 kB / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006762/0.1972, allocations: 0.6315 MB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1972, allocations: 0 / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.1976, allocations: 52 kB / 0.5006 GB, free: 14.37 MB / 398.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.0009811/0.1986, allocations: 421.3 kB / 0.501 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000455/0.199, allocations: 155.8 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.199, allocations: 0 / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.1992, allocations: 88.36 kB / 0.5012 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.1999, allocations: 70.41 kB / 0.5013 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2014, allocations: 0.9035 MB / 0.5021 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.2019, allocations: 0.8692 MB / 0.503 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.2021, allocations: 82.84 kB / 0.5031 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.2022, allocations: 39.42 kB / 0.5031 GB, free: 11.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2022, allocations: 0 / 0.5031 GB, free: 11.73 MB / 398.1 MB Notification: Performance of Templates: time 0.009459/0.2117, allocations: 4.037 MB / 0.5071 GB, free: 7.691 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches