Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002272/0.002277, allocations: 185 kB / 16.41 MB, free: 5.727 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.941/1.941, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001122/0.001122, allocations: 103.2 kB / 270.9 MB, free: 8.387 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.5014/0.5014, allocations: 43.54 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006595/0.0006599, allocations: 23.98 kB / 431.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1309, allocations: 58.85 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5882, allocations: 86.83 MB / 0.5635 GB, free: 15.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.5886, allocations: 79.95 kB / 0.5636 GB, free: 15.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01801/0.6066, allocations: 4.1 MB / 0.5676 GB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6067, allocations: 0.75 kB / 0.5676 GB, free: 11.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.6067, allocations: 4 kB / 0.5676 GB, free: 11.61 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.0006509/0.6074, allocations: 409.7 kB / 0.568 GB, free: 11.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.6074, allocations: 12.02 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.6075, allocations: 15.25 kB / 0.568 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.6078, allocations: 200.1 kB / 0.5682 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.6078, allocations: 4 kB / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.6079, allocations: 0 / 0.5682 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.6082, allocations: 65.61 kB / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6082, allocations: 0 / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.6082, allocations: 1.031 kB / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6082, allocations: 0 / 0.5683 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.6085, allocations: 47.91 kB / 0.5683 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.6091, allocations: 296.8 kB / 0.5686 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.6093, allocations: 50.55 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/0.6094, allocations: 4 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.6094, allocations: 30.56 kB / 0.5687 GB, free: 10.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.956e-06/0.6094, allocations: 3.938 kB / 0.5687 GB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001335/0.6108, allocations: 241.4 kB / 0.5689 GB, free: 10.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.6109, allocations: 59.33 kB / 0.569 GB, free: 10.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.6112, allocations: 157.5 kB / 0.5691 GB, free: 9.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.6112, allocations: 29.69 kB / 0.5692 GB, free: 9.828 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.6113, allocations: 166.6 kB / 0.5693 GB, free: 9.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.6113, allocations: 23.66 kB / 0.5693 GB, free: 9.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.6114, allocations: 4.656 kB / 0.5693 GB, free: 9.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.6115, allocations: 310.8 kB / 0.5696 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.6117, allocations: 35.97 kB / 0.5697 GB, free: 9.289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.612, allocations: 47.97 kB / 0.5697 GB, free: 9.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.6122, allocations: 40.83 kB / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6122, allocations: 0 / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005228/0.6127, allocations: 126.2 kB / 0.5699 GB, free: 9.074 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6128, allocations: 4 kB / 0.5699 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6128, allocations: 0 / 0.5699 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.6128, allocations: 3.953 kB / 0.5699 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.613, allocations: 31.92 kB / 0.5699 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6131, allocations: 0.7812 kB / 0.5699 GB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.6132, allocations: 15.92 kB / 0.5699 GB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.6132, allocations: 4 kB / 0.5699 GB, free: 9.016 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.0001328/0.6134, allocations: 121.8 kB / 0.5701 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/0.6134, allocations: 11.89 kB / 0.5701 GB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005722/0.614, allocations: 146.6 kB / 0.5702 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.614, allocations: 0 / 0.5702 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.6141, allocations: 11.89 kB / 0.5702 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6141, allocations: 0 / 0.5702 GB, free: 8.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008588/0.6149, allocations: 410.5 kB / 0.5706 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.615, allocations: 3.984 kB / 0.5706 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.6151, allocations: 20.8 kB / 0.5706 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.6152, allocations: 4 kB / 0.5706 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.6152, allocations: 7.953 kB / 0.5706 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6152, allocations: 0 / 0.5706 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6152, allocations: 3.938 kB / 0.5706 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.6158, allocations: 223.6 kB / 0.5709 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.6159, allocations: 104.9 kB / 0.571 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.6159, allocations: 0 / 0.571 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.6161, allocations: 23.92 kB / 0.571 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.6162, allocations: 4 kB / 0.571 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.6162, allocations: 0 / 0.571 GB, free: 7.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.6164, allocations: 136.5 kB / 0.5711 GB, free: 7.703 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6164, allocations: 0 / 0.5711 GB, free: 7.703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003962/0.6168, allocations: 23.94 kB / 0.5711 GB, free: 7.68 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.001189/0.618, allocations: 413.7 kB / 0.5715 GB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005695/0.6186, allocations: 99.86 kB / 0.5716 GB, free: 7.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6186, allocations: 3.938 kB / 0.5716 GB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.6189, allocations: 47.97 kB / 0.5717 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.6192, allocations: 9.422 kB / 0.5717 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006691/0.6199, allocations: 265.1 kB / 0.5719 GB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.6202, allocations: 0.7004 MB / 0.5726 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.6203, allocations: 15.42 kB / 0.5726 GB, free: 6.188 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6203, allocations: 8 kB / 0.5726 GB, free: 6.18 MB / 394.7 MB Notification: Performance of Templates: time 0.004803/0.6251, allocations: 1.636 MB / 0.5742 GB, free: 4.543 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches