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: translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 117.5 kB / 17.08 MB, free: 6.016 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.001094/0.001094, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.485/1.485, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2105/0.2105, allocations: 43.52 MB / 314.8 MB, free: 468 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.001969/0.001969, allocations: 71.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1571, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.005025/0.1622, allocations: 1.959 MB / 0.4905 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.164, allocations: 0.6665 MB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.1642, allocations: 4 kB / 0.4911 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000642/0.1649, allocations: 251.3 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005763/0.1655, allocations: 199.3 kB / 0.4915 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.167, allocations: 443.1 kB / 0.492 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000572/0.1676, allocations: 279.3 kB / 0.4922 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.1678, allocations: 60.72 kB / 0.4923 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002705/0.1681, allocations: 139.4 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.1685, allocations: 187.4 kB / 0.4926 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.1685, allocations: 16 kB / 0.4926 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.1688, allocations: 71.91 kB / 0.4927 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1689, allocations: 91.73 kB / 0.4928 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.1691, allocations: 111.1 kB / 0.4929 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005042/0.1696, allocations: 290.9 kB / 0.4932 GB, free: 7.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1696, allocations: 4 kB / 0.4932 GB, free: 7.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1696, allocations: 3.938 kB / 0.4932 GB, free: 7.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.529e-05/0.1696, allocations: 0 / 0.4932 GB, free: 7.043 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.0009502/0.1706, allocations: 0.6107 MB / 0.4938 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1707, allocations: 15.89 kB / 0.4938 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1708, allocations: 40.47 kB / 0.4938 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.1712, allocations: 302.3 kB / 0.4941 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.1712, allocations: 4.375 kB / 0.4941 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.1713, allocations: 8.375 kB / 0.4941 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1716, allocations: 117.6 kB / 0.4942 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1716, allocations: 0 / 0.4942 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.1717, allocations: 4 kB / 0.4942 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1717, allocations: 4 kB / 0.4942 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.1719, allocations: 71.95 kB / 0.4943 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.1727, allocations: 480.2 kB / 0.4948 GB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.173, allocations: 94.47 kB / 0.4949 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.1731, allocations: 32.84 kB / 0.4949 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.1731, allocations: 4 kB / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1732, allocations: 34.56 kB / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.1732, allocations: 0 / 0.4949 GB, free: 5.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001201/0.1744, allocations: 378.7 kB / 0.4953 GB, free: 4.703 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.1744, allocations: 55.41 kB / 0.4953 GB, free: 4.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007639/0.1752, allocations: 0.5172 MB / 0.4958 GB, free: 4.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1752, allocations: 29.7 kB / 0.4959 GB, free: 4.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.1754, allocations: 196.3 kB / 0.4961 GB, free: 3.879 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.458e-05/0.1755, allocations: 59.11 kB / 0.4961 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.1756, allocations: 29.7 kB / 0.4961 GB, free: 3.785 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1758, allocations: 350.8 kB / 0.4965 GB, free: 3.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1759, allocations: 51.97 kB / 0.4965 GB, free: 3.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1761, allocations: 51.91 kB / 0.4966 GB, free: 3.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.1764, allocations: 120.8 kB / 0.4967 GB, free: 3.211 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1765, allocations: 3.938 kB / 0.4967 GB, free: 3.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004694/0.1769, allocations: 191.9 kB / 0.4969 GB, free: 3.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.177, allocations: 8 kB / 0.4969 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.177, allocations: 0 / 0.4969 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.177, allocations: 3.984 kB / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.1773, allocations: 35.92 kB / 0.4969 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1773, allocations: 0 / 0.4969 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.1774, allocations: 8 kB / 0.4969 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.1774, allocations: 11.98 kB / 0.4969 GB, free: 2.949 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.0002166/0.1776, allocations: 173.7 kB / 0.4971 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-05/0.1777, allocations: 35.53 kB / 0.4971 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.1783, allocations: 233.3 kB / 0.4974 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1784, allocations: 0 / 0.4974 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1784, allocations: 3.938 kB / 0.4974 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1784, allocations: 8 kB / 0.4974 GB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1794, allocations: 0.6082 MB / 0.498 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1795, allocations: 4 kB / 0.498 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1796, allocations: 27.98 kB / 0.498 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.1796, allocations: 0 / 0.498 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1797, allocations: 11.94 kB / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.1797, allocations: 3.984 kB / 0.498 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1797, allocations: 7.938 kB / 0.498 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.1802, allocations: 292 kB / 0.4983 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.1803, allocations: 100.7 kB / 0.4984 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.1803, allocations: 4 kB / 0.4984 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.1805, allocations: 4 kB / 0.4984 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.1806, allocations: 23.91 kB / 0.4984 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.1806, allocations: 8 kB / 0.4984 GB, free: 1.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005261/0.1811, allocations: 387.1 kB / 0.4988 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1811, allocations: 0 / 0.4988 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004753/0.1816, allocations: 51.98 kB / 0.4989 GB, free: 0.8906 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.002299/0.1839, allocations: 0.6854 MB / 0.4995 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.1844, allocations: 135.8 kB / 0.4996 GB, free: 112 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1844, allocations: 4 kB / 0.4997 GB, free: 108 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1846, allocations: 71.91 kB / 0.4997 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/0.1854, allocations: 81.34 kB / 0.4998 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.1868, allocations: 0.6605 MB / 0.5004 GB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.1873, allocations: 0.7983 MB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1874, allocations: 31.44 kB / 0.5013 GB, free: 14.4 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.1874, allocations: 0 / 0.5013 GB, free: 14.4 MB / 398.1 MB Notification: Performance of Templates: time 0.009286/0.1967, allocations: 4.284 MB / 0.5054 GB, free: 10.12 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/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