Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 173.5 kB / 8.743 MB, free: 344 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.363/1.363, allocations: 221.5 MB / 230.7 MB, free: 7.559 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.0008909/0.0008909, allocations: 95.47 kB / 281.6 MB, free: 5.289 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.2006/0.2006, allocations: 44.16 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.68e-05/1.683e-05, allocations: 224 / 444.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 61.92 MB / 0.4947 GB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/0.6341, allocations: 89.3 MB / 0.5819 GB, free: 7.266 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.6344, allocations: 71.97 kB / 0.5819 GB, free: 7.195 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02275/0.6571, allocations: 9.02 MB / 0.5908 GB, free: 14.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6572, allocations: 0 / 0.5908 GB, free: 14.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.176e-05/0.6572, allocations: 15.94 kB / 0.5908 GB, free: 14.16 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000756/0.658, allocations: 0.6259 MB / 0.5914 GB, free: 13.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.658, allocations: 11.98 kB / 0.5914 GB, free: 13.47 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.6581, allocations: 55.34 kB / 0.5914 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.6589, allocations: 475 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.6589, allocations: 4 kB / 0.5919 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.6589, allocations: 11.91 kB / 0.5919 GB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001721/0.6591, allocations: 79.84 kB / 0.592 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.6593, allocations: 115.2 kB / 0.5921 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6594, allocations: 4 kB / 0.5921 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6594, allocations: 0 / 0.5921 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6594, allocations: 0 / 0.5921 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.6604, allocations: 0.6936 MB / 0.5928 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.6606, allocations: 105.2 kB / 0.5929 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.6606, allocations: 33.84 kB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.6607, allocations: 3.953 kB / 0.5929 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.6607, allocations: 30.56 kB / 0.5929 GB, free: 11.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.406e-06/0.6607, allocations: 7.984 kB / 0.593 GB, free: 11.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0012/0.6619, allocations: 450.3 kB / 0.5934 GB, free: 11.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.265e-05/0.662, allocations: 77.11 kB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.6631, allocations: 0.7483 MB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.6631, allocations: 25.7 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.6634, allocations: 260.2 kB / 0.5945 GB, free: 10.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.6635, allocations: 55.2 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.6635, allocations: 0 / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.6637, allocations: 366.8 kB / 0.5949 GB, free: 9.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.6638, allocations: 43.98 kB / 0.5949 GB, free: 9.688 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.6639, allocations: 57.7 kB / 0.595 GB, free: 9.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.664, allocations: 47.97 kB / 0.595 GB, free: 9.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6641, allocations: 3.938 kB / 0.595 GB, free: 9.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003139/0.6644, allocations: 196.9 kB / 0.5952 GB, free: 9.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6644, allocations: 17.17 kB / 0.5952 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6644, allocations: 128 / 0.5952 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6644, allocations: 224 / 0.5952 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.6647, allocations: 51.91 kB / 0.5953 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.6647, allocations: 7.938 kB / 0.5953 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.6648, allocations: 15.98 kB / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.6649, allocations: 4 kB / 0.5953 GB, free: 9.281 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/0.665, allocations: 111.3 kB / 0.5954 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.6651, allocations: 55.3 kB / 0.5954 GB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.6656, allocations: 246.3 kB / 0.5957 GB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6656, allocations: 4 kB / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6656, allocations: 0 / 0.5957 GB, free: 8.859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6656, allocations: 4 kB / 0.5957 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.6666, allocations: 0.7988 MB / 0.5965 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6667, allocations: 0 / 0.5965 GB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.6668, allocations: 43.91 kB / 0.5965 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.6669, allocations: 0 / 0.5965 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.6669, allocations: 11.98 kB / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6669, allocations: 0 / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6669, allocations: 0 / 0.5965 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.6673, allocations: 390.2 kB / 0.5969 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.6675, allocations: 176.4 kB / 0.5971 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.565e-05/0.6676, allocations: 0 / 0.5971 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.6678, allocations: 19.98 kB / 0.5971 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.6678, allocations: 19.91 kB / 0.5971 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.6679, allocations: 8 kB / 0.5971 GB, free: 7.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006526/0.6685, allocations: 0.5847 MB / 0.5977 GB, free: 6.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6685, allocations: 0 / 0.5977 GB, free: 6.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.6689, allocations: 64 kB / 0.5977 GB, free: 6.672 MB / 410.7 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 () * 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 (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.0008453/0.6697, allocations: 339.7 kB / 0.5981 GB, free: 6.406 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.67, allocations: 111.9 kB / 0.5982 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.67, allocations: 0 / 0.5982 GB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.981e-05/0.6701, allocations: 71.91 kB / 0.5982 GB, free: 6.227 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004695/0.6706, allocations: 69.92 kB / 0.5983 GB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.6718, allocations: 0.7236 MB / 0.599 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.6723, allocations: 0.8731 MB / 0.5999 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.6725, allocations: 103.8 kB / 0.6 GB, free: 4.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.6726, allocations: 43.36 kB / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6726, allocations: 0 / 0.6 GB, free: 4.359 MB / 410.7 MB Notification: Performance of Templates: time 0.007364/0.68, allocations: 3.787 MB / 0.6037 GB, free: 0.5898 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches