Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 185.1 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008458/0.0008458, allocations: 94.27 kB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3507/0.3507, allocations: 44.22 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000341/0.0003411, allocations: 8 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.329, allocations: 61.9 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.4414, allocations: 88.59 MB / 0.5961 GB, free: 6.547 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4417, allocations: 87.91 kB / 0.5962 GB, free: 6.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.4522, allocations: 4.045 MB / 0.6001 GB, free: 2.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4522, allocations: 0 / 0.6001 GB, free: 2.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.4522, allocations: 8 kB / 0.6001 GB, free: 2.41 MB / 410.7 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.0005907/0.4528, allocations: 426.8 kB / 0.6005 GB, free: 1.945 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.4529, allocations: 12.56 kB / 0.6005 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.453, allocations: 7.906 kB / 0.6005 GB, free: 1.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.4532, allocations: 200.3 kB / 0.6007 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.4532, allocations: 4 kB / 0.6007 GB, free: 1.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.4533, allocations: 4 kB / 0.6007 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.4536, allocations: 103.3 kB / 0.6008 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4536, allocations: 4 kB / 0.6008 GB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.4536, allocations: 0 / 0.6008 GB, free: 1.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4536, allocations: 7.984 kB / 0.6008 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.4539, allocations: 91.92 kB / 0.6009 GB, free: 1.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.4543, allocations: 312.6 kB / 0.6012 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.4546, allocations: 82.53 kB / 0.6013 GB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.4546, allocations: 0 / 0.6013 GB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.4546, allocations: 30.56 kB / 0.6013 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.4546, allocations: 0 / 0.6013 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.001497/0.4561, allocations: 473.1 kB / 0.6018 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4562, allocations: 89 kB / 0.6019 GB, free: 420 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4563, allocations: 147.6 kB / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.4564, allocations: 29.64 kB / 0.602 GB, free: 232 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.4564, allocations: 100.2 kB / 0.6021 GB, free: 128 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.4564, allocations: 31.62 kB / 0.6022 GB, free: 96 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/0.4565, allocations: 8 kB / 0.6022 GB, free: 88 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4566, allocations: 322.8 kB / 0.6025 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.4569, allocations: 91.92 kB / 0.6026 GB, free: 15.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.4572, allocations: 109.6 kB / 0.6027 GB, free: 15.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.4574, allocations: 87.97 kB / 0.6028 GB, free: 15.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4574, allocations: 0 / 0.6028 GB, free: 15.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005916/0.458, allocations: 233.4 kB / 0.603 GB, free: 15.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4581, allocations: 8 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4581, allocations: 0 / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.4581, allocations: 3.984 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.4583, allocations: 51.91 kB / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4583, allocations: 0 / 0.603 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.4585, allocations: 47.91 kB / 0.6031 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4585, allocations: 4 kB / 0.6031 GB, free: 15.12 MB / 426.7 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.4586, allocations: 113.8 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.4587, allocations: 7.906 kB / 0.6032 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.4593, allocations: 250.5 kB / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4593, allocations: 0 / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4593, allocations: 480 / 0.6035 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4593, allocations: 3.938 kB / 0.6035 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008603/0.4602, allocations: 0.5334 MB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4602, allocations: 4 kB / 0.604 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.4604, allocations: 47.89 kB / 0.604 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4604, allocations: 0 / 0.604 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4604, allocations: 8 kB / 0.604 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4604, allocations: 3.953 kB / 0.604 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4605, allocations: 4 kB / 0.604 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006221/0.4611, allocations: 323.2 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.4611, allocations: 93 kB / 0.6044 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.4612, allocations: 0 / 0.6044 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.4614, allocations: 35.97 kB / 0.6045 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.4614, allocations: 15.94 kB / 0.6045 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.4614, allocations: 7.984 kB / 0.6045 GB, free: 13.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.4615, allocations: 113.9 kB / 0.6046 GB, free: 13.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.4615, allocations: 0 / 0.6046 GB, free: 13.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.4618, allocations: 43.92 kB / 0.6046 GB, free: 13.43 MB / 426.7 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009111/0.4627, allocations: 453.5 kB / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006132/0.4633, allocations: 207.7 kB / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4634, allocations: 0 / 0.6053 GB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.4636, allocations: 107.8 kB / 0.6054 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.4638, allocations: 23.86 kB / 0.6054 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.4642, allocations: 225.1 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.4645, allocations: 0.7004 MB / 0.6063 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.313e-05/0.4646, allocations: 16.42 kB / 0.6063 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.4646, allocations: 15.42 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4647, allocations: 0 / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Templates: time 0.00401/0.4687, allocations: 1.876 MB / 0.6082 GB, free: 9.961 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches