Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 171.8 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009148/0.0009148, allocations: 98.12 kB / 281.6 MB, free: 5.34 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.1981/0.1981, allocations: 44.14 MB / 376.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.886e-05, allocations: 224 / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 61.91 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.5432, allocations: 88.22 MB / 0.5808 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.5434, allocations: 71.91 kB / 0.5809 GB, free: 8.227 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01662/0.5601, allocations: 7.879 MB / 0.5886 GB, free: 356 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5601, allocations: 4 kB / 0.5886 GB, free: 352 kB / 394.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.5601, allocations: 4 kB / 0.5886 GB, free: 348 kB / 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.0005036/0.5607, allocations: 0.5415 MB / 0.5891 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.5607, allocations: 15.97 kB / 0.5891 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.5608, allocations: 43.44 kB / 0.5892 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.5612, allocations: 335.2 kB / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.5612, allocations: 0 / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.5613, allocations: 7.938 kB / 0.5895 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.236e-05/0.5613, allocations: 31.92 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.426e-05/0.5614, allocations: 37.7 kB / 0.5896 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5615, allocations: 3.984 kB / 0.5896 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5615, allocations: 4 kB / 0.5896 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5615, allocations: 0 / 0.5896 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005254/0.562, allocations: 413.3 kB / 0.59 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.5622, allocations: 49.45 kB / 0.59 GB, free: 14.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.664e-05/0.5622, allocations: 12.86 kB / 0.59 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.5623, allocations: 4.078 kB / 0.59 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.5623, allocations: 30.56 kB / 0.5901 GB, free: 14.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5623, allocations: 0 / 0.5901 GB, free: 14.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004321/0.5627, allocations: 196.2 kB / 0.5903 GB, free: 14.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.5628, allocations: 55.41 kB / 0.5903 GB, free: 14.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.5639, allocations: 0.7511 MB / 0.591 GB, free: 13.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5639, allocations: 25.7 kB / 0.5911 GB, free: 13.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.5641, allocations: 216 kB / 0.5913 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.5641, allocations: 15.81 kB / 0.5913 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.5641, allocations: 0 / 0.5913 GB, free: 13.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.5642, allocations: 362.7 kB / 0.5916 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.5643, allocations: 16 kB / 0.5916 GB, free: 13.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.5643, allocations: 12 kB / 0.5917 GB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/0.5643, allocations: 16 kB / 0.5917 GB, free: 12.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.5643, allocations: 3.984 kB / 0.5917 GB, free: 12.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000127/0.5645, allocations: 97.12 kB / 0.5918 GB, free: 12.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5645, allocations: 5.25 kB / 0.5918 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5645, allocations: 0 / 0.5918 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.5645, allocations: 7.922 kB / 0.5918 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/0.5646, allocations: 12 kB / 0.5918 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.5646, allocations: 4 kB / 0.5918 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.709e-05/0.5647, allocations: 11.98 kB / 0.5918 GB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.5647, allocations: 0 / 0.5918 GB, free: 12.84 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.94e-05/0.5648, allocations: 108.9 kB / 0.5919 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.5648, allocations: 39.44 kB / 0.5919 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.565, allocations: 121.3 kB / 0.5921 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5651, allocations: 3.984 kB / 0.5921 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5651, allocations: 0 / 0.5921 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5651, allocations: 4 kB / 0.5921 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/0.5657, allocations: 0.546 MB / 0.5926 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5657, allocations: 8.047 kB / 0.5926 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.5658, allocations: 12 kB / 0.5926 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.5658, allocations: 0 / 0.5926 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.5658, allocations: 7.938 kB / 0.5926 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.5658, allocations: 0 / 0.5926 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5658, allocations: 3.984 kB / 0.5926 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.566, allocations: 210.9 kB / 0.5928 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.5661, allocations: 156.6 kB / 0.593 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.5662, allocations: 0 / 0.593 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.333e-05/0.5663, allocations: 4 kB / 0.593 GB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.5663, allocations: 7.984 kB / 0.593 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.5664, allocations: 4 kB / 0.593 GB, free: 11.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005828/0.5669, allocations: 0.6082 MB / 0.5936 GB, free: 10.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5669, allocations: 0 / 0.5936 GB, free: 10.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.5672, allocations: 63.94 kB / 0.5937 GB, free: 10.86 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0007227/0.568, allocations: 335.8 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.351e-05/0.5681, allocations: 31.94 kB / 0.594 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5681, allocations: 4 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.5681, allocations: 23.98 kB / 0.594 GB, free: 10.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.5684, allocations: 23.45 kB / 0.5941 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.5693, allocations: 0.7104 MB / 0.5947 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.5697, allocations: 0.8302 MB / 0.5956 GB, free: 8.922 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.359e-05/0.5698, allocations: 43.77 kB / 0.5956 GB, free: 8.879 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.5699, allocations: 31.38 kB / 0.5956 GB, free: 8.848 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5699, allocations: 0 / 0.5956 GB, free: 8.848 MB / 410.7 MB Notification: Performance of Templates: time 0.005133/0.575, allocations: 2.115 MB / 0.5977 GB, free: 6.723 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches