Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002251/0.002251, allocations: 180.7 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001085/0.001084, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2757/0.2757, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.158e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 58.84 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4992/0.6214, allocations: 87.95 MB / 0.5587 GB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.6218, allocations: 78.14 kB / 0.5587 GB, free: 15.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03611/0.6579, allocations: 8.404 MB / 0.567 GB, free: 8.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6579, allocations: 0 / 0.567 GB, free: 8.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.041e-05/0.658, allocations: 8 kB / 0.567 GB, free: 8.406 MB / 378.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.0009943/0.659, allocations: 0.6118 MB / 0.5676 GB, free: 7.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.6591, allocations: 8.031 kB / 0.5676 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.6592, allocations: 55.3 kB / 0.5676 GB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.6603, allocations: 463.9 kB / 0.5681 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6603, allocations: 11.69 kB / 0.5681 GB, free: 7.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.736e-05/0.6604, allocations: 7.25 kB / 0.5681 GB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.6607, allocations: 120 kB / 0.5682 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.6607, allocations: 7.984 kB / 0.5682 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.6608, allocations: 3.562 kB / 0.5682 GB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.6608, allocations: 7.953 kB / 0.5682 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.661, allocations: 60.44 kB / 0.5683 GB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.6625, allocations: 0.7101 MB / 0.569 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.6628, allocations: 103.1 kB / 0.5691 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.6629, allocations: 29.22 kB / 0.5691 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.663, allocations: 4 kB / 0.5691 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.663, allocations: 38.38 kB / 0.5691 GB, free: 6.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.826e-06/0.663, allocations: 0 / 0.5691 GB, free: 6.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001682/0.6647, allocations: 444.3 kB / 0.5696 GB, free: 5.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.6648, allocations: 81.06 kB / 0.5696 GB, free: 5.742 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.6664, allocations: 0.7826 MB / 0.5704 GB, free: 5.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.6665, allocations: 29.69 kB / 0.5704 GB, free: 5.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.6667, allocations: 266.2 kB / 0.5707 GB, free: 4.891 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.6668, allocations: 46.33 kB / 0.5707 GB, free: 4.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/0.6668, allocations: 4 kB / 0.5707 GB, free: 4.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.667, allocations: 318.3 kB / 0.571 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.6671, allocations: 37.56 kB / 0.5711 GB, free: 4.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.6673, allocations: 57.69 kB / 0.5711 GB, free: 4.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.6675, allocations: 44.72 kB / 0.5712 GB, free: 4.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6675, allocations: 0 / 0.5712 GB, free: 4.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004085/0.6679, allocations: 133.2 kB / 0.5713 GB, free: 4.324 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.6679, allocations: 11.44 kB / 0.5713 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.6679, allocations: 0 / 0.5713 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.668, allocations: 0 / 0.5713 GB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.6684, allocations: 39.97 kB / 0.5713 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.6684, allocations: 4 kB / 0.5713 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003352/0.6687, allocations: 31.75 kB / 0.5714 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.6688, allocations: 8.203 kB / 0.5714 GB, free: 4.238 MB / 378.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 0.0001028/0.6689, allocations: 108.8 kB / 0.5715 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.6691, allocations: 67.12 kB / 0.5716 GB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007017/0.6698, allocations: 231.3 kB / 0.5718 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.6698, allocations: 0 / 0.5718 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.6698, allocations: 4 kB / 0.5718 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6698, allocations: 3.984 kB / 0.5718 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.6715, allocations: 0.8112 MB / 0.5726 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.6715, allocations: 0 / 0.5726 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003394/0.6719, allocations: 43.97 kB / 0.5726 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.6719, allocations: 4 kB / 0.5726 GB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.672, allocations: 11.39 kB / 0.5726 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.672, allocations: 0 / 0.5726 GB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.672, allocations: 8.359 kB / 0.5726 GB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.6726, allocations: 372.1 kB / 0.573 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.6729, allocations: 174 kB / 0.5732 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.673, allocations: 15.27 kB / 0.5732 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.6734, allocations: 18.05 kB / 0.5732 GB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.6735, allocations: 7.984 kB / 0.5732 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.6735, allocations: 11.17 kB / 0.5732 GB, free: 2.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001212/0.6747, allocations: 0.6186 MB / 0.5738 GB, free: 2.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6748, allocations: 4 kB / 0.5738 GB, free: 2.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000573/0.6753, allocations: 70.97 kB / 0.5739 GB, free: 1.953 MB / 378.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.001104/0.6765, allocations: 377 kB / 0.5742 GB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003831/0.6769, allocations: 116.2 kB / 0.5744 GB, free: 1.547 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6769, allocations: 0 / 0.5744 GB, free: 1.547 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000174/0.6771, allocations: 62.36 kB / 0.5744 GB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.6778, allocations: 61.98 kB / 0.5745 GB, free: 1.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.6796, allocations: 0.7367 MB / 0.5752 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.6803, allocations: 0.8612 MB / 0.576 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.6805, allocations: 50.97 kB / 0.5761 GB, free: 15.85 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6806, allocations: 0 / 0.5761 GB, free: 15.85 MB / 394.7 MB Notification: Performance of Templates: time 0.01454/0.6951, allocations: 5.752 MB / 0.5817 GB, free: 10.12 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches