Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") translateModel(ModelicaTest.Tables.CombiTable2D.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001525/0.001525, allocations: 182 kB / 16.4 MB, free: 5.723 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.906/1.906, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001077/0.001077, allocations: 90.88 kB / 270.9 MB, free: 8.375 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.5029/0.5029, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006323/0.0006324, allocations: 16 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1309, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5955, allocations: 86.84 MB / 0.5635 GB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/0.5959, allocations: 71.95 kB / 0.5636 GB, free: 15.64 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01769/0.6136, allocations: 4.196 MB / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6136, allocations: 0 / 0.5677 GB, free: 11.48 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.6137, allocations: 7.984 kB / 0.5677 GB, free: 11.47 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.000603/0.6143, allocations: 413.8 kB / 0.5681 GB, free: 11.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.6143, allocations: 12.02 kB / 0.5681 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.6144, allocations: 11.91 kB / 0.5681 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.6147, allocations: 198.9 kB / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.6147, allocations: 4 kB / 0.5683 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.6148, allocations: 8 kB / 0.5683 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.615, allocations: 57.61 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.615, allocations: 5.297 kB / 0.5684 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.6151, allocations: 9.031 kB / 0.5684 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.6151, allocations: 2.188 kB / 0.5684 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.6153, allocations: 43.97 kB / 0.5684 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.6158, allocations: 292.8 kB / 0.5687 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.616, allocations: 50.5 kB / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.6161, allocations: 0 / 0.5688 GB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.6161, allocations: 30.66 kB / 0.5688 GB, free: 10.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.6161, allocations: 0 / 0.5688 GB, free: 10.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001242/0.6174, allocations: 253.4 kB / 0.569 GB, free: 9.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.6174, allocations: 55.39 kB / 0.5691 GB, free: 9.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.6177, allocations: 170.4 kB / 0.5692 GB, free: 9.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.6177, allocations: 25.7 kB / 0.5693 GB, free: 9.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.6178, allocations: 166.5 kB / 0.5694 GB, free: 9.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.6179, allocations: 27.14 kB / 0.5695 GB, free: 9.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.6179, allocations: 0 / 0.5695 GB, free: 9.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.618, allocations: 326.8 kB / 0.5698 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.6183, allocations: 31.98 kB / 0.5698 GB, free: 9.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.6185, allocations: 40.83 kB / 0.5698 GB, free: 9.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.6187, allocations: 43.97 kB / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6188, allocations: 0 / 0.5699 GB, free: 9.059 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005054/0.6193, allocations: 123.2 kB / 0.57 GB, free: 8.934 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.6193, allocations: 8 kB / 0.57 GB, free: 8.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6193, allocations: 3.984 kB / 0.57 GB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.6194, allocations: 3.953 kB / 0.57 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.6196, allocations: 23.98 kB / 0.57 GB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.6196, allocations: 8 kB / 0.57 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.6197, allocations: 11.98 kB / 0.57 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.6198, allocations: 4 kB / 0.5701 GB, free: 8.871 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.0001387/0.6199, allocations: 125.7 kB / 0.5702 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.841e-05/0.62, allocations: 11.81 kB / 0.5702 GB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005896/0.6206, allocations: 150.6 kB / 0.5703 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.6206, allocations: 0 / 0.5703 GB, free: 8.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.6206, allocations: 3.953 kB / 0.5703 GB, free: 8.574 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6206, allocations: 8 kB / 0.5703 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.6219, allocations: 406.5 kB / 0.5707 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6219, allocations: 11.94 kB / 0.5707 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.6222, allocations: 23.73 kB / 0.5708 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.6222, allocations: 0 / 0.5708 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.6222, allocations: 7.953 kB / 0.5708 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.6223, allocations: 0 / 0.5708 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6223, allocations: 0 / 0.5708 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.6231, allocations: 223.4 kB / 0.571 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.6233, allocations: 97.84 kB / 0.5711 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.6233, allocations: 0 / 0.5711 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.6236, allocations: 19.94 kB / 0.5711 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.593e-05/0.6237, allocations: 11.98 kB / 0.5711 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.6237, allocations: 4 kB / 0.5711 GB, free: 7.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002947/0.624, allocations: 140.4 kB / 0.5712 GB, free: 7.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.624, allocations: 0 / 0.5712 GB, free: 7.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005999/0.6246, allocations: 27.94 kB / 0.5713 GB, free: 7.527 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.001731/0.6264, allocations: 412.4 kB / 0.5717 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007499/0.6272, allocations: 99.92 kB / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6272, allocations: 0 / 0.5718 GB, free: 7.121 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.6275, allocations: 51.91 kB / 0.5718 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.628, allocations: 9.219 kB / 0.5718 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.6289, allocations: 273.3 kB / 0.5721 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.6294, allocations: 0.7043 MB / 0.5728 GB, free: 6.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.6295, allocations: 15.44 kB / 0.5728 GB, free: 6.027 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6295, allocations: 0 / 0.5728 GB, free: 6.027 MB / 394.7 MB Notification: Performance of Templates: time 0.00678/0.6363, allocations: 1.686 MB / 0.5744 GB, free: 4.34 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches