Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008936/0.0008936, allocations: 176.2 kB / 16.77 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007861/0.0007864, allocations: 93.39 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3767/0.3767, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003764, allocations: 15.98 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4944, allocations: 87.53 MB / 0.5654 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4947, allocations: 73.8 kB / 0.5655 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.5063, allocations: 4.601 MB / 0.57 GB, free: 9.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5063, allocations: 3.828 kB / 0.57 GB, free: 9.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5063, allocations: 0 / 0.57 GB, free: 9.828 MB / 394.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.0004844/0.5068, allocations: 407.9 kB / 0.5704 GB, free: 9.383 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5069, allocations: 8.031 kB / 0.5704 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.5069, allocations: 8.844 kB / 0.5704 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.5072, allocations: 200.1 kB / 0.5706 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.5072, allocations: 4.375 kB / 0.5706 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.5072, allocations: 384 / 0.5706 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.5075, allocations: 83.92 kB / 0.5707 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5075, allocations: 1.5 kB / 0.5707 GB, free: 9.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.5075, allocations: 3.938 kB / 0.5707 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5075, allocations: 8 kB / 0.5707 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.5077, allocations: 47.91 kB / 0.5707 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.5082, allocations: 312.7 kB / 0.571 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.5083, allocations: 54.55 kB / 0.5711 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.5084, allocations: 28.94 kB / 0.5711 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.5084, allocations: 0 / 0.5711 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5085, allocations: 38.88 kB / 0.5711 GB, free: 8.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.5085, allocations: 0 / 0.5711 GB, free: 8.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008192/0.5093, allocations: 253.1 kB / 0.5714 GB, free: 8.227 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.5094, allocations: 89.05 kB / 0.5715 GB, free: 8.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.5095, allocations: 141.8 kB / 0.5716 GB, free: 7.973 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.5096, allocations: 25.7 kB / 0.5716 GB, free: 7.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.5096, allocations: 94.94 kB / 0.5717 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.5097, allocations: 31.62 kB / 0.5718 GB, free: 7.816 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.5097, allocations: 0 / 0.5718 GB, free: 7.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5098, allocations: 322.8 kB / 0.5721 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.5099, allocations: 51.95 kB / 0.5721 GB, free: 7.441 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.5101, allocations: 57.69 kB / 0.5722 GB, free: 7.379 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.5103, allocations: 105 kB / 0.5723 GB, free: 7.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5103, allocations: 0 / 0.5723 GB, free: 7.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002932/0.5106, allocations: 145.5 kB / 0.5724 GB, free: 7.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.5106, allocations: 4 kB / 0.5724 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.5107, allocations: 0 / 0.5724 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.5107, allocations: 4 kB / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.5108, allocations: 26.23 kB / 0.5724 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5108, allocations: 0 / 0.5724 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.5109, allocations: 15.98 kB / 0.5725 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5109, allocations: 0 / 0.5725 GB, free: 7.078 MB / 394.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 (7): * Single equations (assignments): 7 * 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 0.0001112/0.511, allocations: 129.8 kB / 0.5726 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.5111, allocations: 15.89 kB / 0.5726 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/0.5114, allocations: 154.2 kB / 0.5727 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5115, allocations: 8 kB / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.5115, allocations: 0 / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5115, allocations: 3.984 kB / 0.5727 GB, free: 6.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.5121, allocations: 422.4 kB / 0.5732 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5121, allocations: 0 / 0.5732 GB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.5122, allocations: 32.14 kB / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5122, allocations: 0 / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.5122, allocations: 0 / 0.5732 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.5122, allocations: 7.922 kB / 0.5732 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5122, allocations: 4 kB / 0.5732 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.5126, allocations: 236.1 kB / 0.5734 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.19e-05/0.5127, allocations: 93 kB / 0.5735 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.5127, allocations: 0.875 kB / 0.5735 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.5128, allocations: 19.92 kB / 0.5735 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.855e-05/0.5128, allocations: 3.984 kB / 0.5735 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.5129, allocations: 8 kB / 0.5735 GB, free: 5.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.513, allocations: 109.3 kB / 0.5736 GB, free: 5.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.513, allocations: 0 / 0.5736 GB, free: 5.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.5133, allocations: 43.86 kB / 0.5737 GB, free: 5.711 MB / 394.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 (7): * Single equations (assignments): 7 * 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.001171/0.5145, allocations: 451.7 kB / 0.5741 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003313/0.5148, allocations: 99.94 kB / 0.5742 GB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5148, allocations: 4 kB / 0.5742 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.515, allocations: 59.89 kB / 0.5743 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.5153, allocations: 15.98 kB / 0.5743 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.5158, allocations: 215.3 kB / 0.5745 GB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.5161, allocations: 0.7043 MB / 0.5752 GB, free: 4.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.873e-05/0.5162, allocations: 20.66 kB / 0.5752 GB, free: 4.207 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.5163, allocations: 19.42 kB / 0.5752 GB, free: 4.188 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5163, allocations: 0 / 0.5752 GB, free: 4.188 MB / 394.7 MB Notification: Performance of Templates: time 0.00428/0.5206, allocations: 1.466 MB / 0.5767 GB, free: 2.727 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches