Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 185.5 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 2.021/2.021, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001157/0.001156, allocations: 94.22 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.5125/0.5125, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006316/0.0006318, allocations: 16 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1239, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.5804, allocations: 89.12 MB / 0.5658 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5807, allocations: 71.97 kB / 0.5658 GB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03967/0.6204, allocations: 9.126 MB / 0.5747 GB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.6205, allocations: 0 / 0.5747 GB, free: 4.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.218e-05/0.6206, allocations: 8.219 kB / 0.5747 GB, free: 4.277 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001113/0.6217, allocations: 0.6485 MB / 0.5754 GB, free: 3.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.6217, allocations: 8.031 kB / 0.5754 GB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.6219, allocations: 43.53 kB / 0.5754 GB, free: 3.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.6227, allocations: 349.2 kB / 0.5758 GB, free: 3.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.6227, allocations: 11.98 kB / 0.5758 GB, free: 3.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.6228, allocations: 15.91 kB / 0.5758 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.6232, allocations: 120.8 kB / 0.5759 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.6233, allocations: 1.031 kB / 0.5759 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.6233, allocations: 0 / 0.5759 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.6233, allocations: 4 kB / 0.5759 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.6237, allocations: 99.83 kB / 0.576 GB, free: 2.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.6249, allocations: 0.5315 MB / 0.5765 GB, free: 2.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.6252, allocations: 110.5 kB / 0.5766 GB, free: 2.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.6253, allocations: 7.984 kB / 0.5766 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.6253, allocations: 30.78 kB / 0.5767 GB, free: 2.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 4.718e-06/0.6253, allocations: 3.938 kB / 0.5767 GB, free: 2.152 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001733/0.6271, allocations: 449.1 kB / 0.5771 GB, free: 1.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.6272, allocations: 55.41 kB / 0.5771 GB, free: 1.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.6282, allocations: 0.497 MB / 0.5776 GB, free: 1.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.6283, allocations: 25.7 kB / 0.5777 GB, free: 1.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.6285, allocations: 234.8 kB / 0.5779 GB, free: 0.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.758e-05/0.6286, allocations: 59.16 kB / 0.5779 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.6286, allocations: 4 kB / 0.5779 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6287, allocations: 318.8 kB / 0.5782 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.629, allocations: 67.95 kB / 0.5783 GB, free: 436 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.6292, allocations: 74.77 kB / 0.5784 GB, free: 364 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.6295, allocations: 79.91 kB / 0.5785 GB, free: 284 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6295, allocations: 0 / 0.5785 GB, free: 284 kB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006303/0.6302, allocations: 209.4 kB / 0.5787 GB, free: 68 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.6302, allocations: 6.812 kB / 0.5787 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.6302, allocations: 4 kB / 0.5787 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6303, allocations: 0 / 0.5787 GB, free: 60 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.6306, allocations: 35.98 kB / 0.5787 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.6306, allocations: 0 / 0.5787 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.6308, allocations: 19.92 kB / 0.5787 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.6309, allocations: 4 kB / 0.5787 GB, free: 0 / 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 (17): * Single equations (assignments): 17 * 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.000373/0.6313, allocations: 189.7 kB / 0.5789 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.6314, allocations: 39.53 kB / 0.5789 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.6323, allocations: 289.3 kB / 0.5792 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6324, allocations: 4 kB / 0.5792 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6324, allocations: 0 / 0.5792 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6324, allocations: 0 / 0.5792 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.634, allocations: 0.7324 MB / 0.5799 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.6341, allocations: 0 / 0.5799 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.6343, allocations: 39.92 kB / 0.58 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.6344, allocations: 4 kB / 0.58 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.6344, allocations: 7.984 kB / 0.58 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.6344, allocations: 3.953 kB / 0.58 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6344, allocations: 4 kB / 0.58 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.6353, allocations: 337.6 kB / 0.5803 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.6355, allocations: 148.6 kB / 0.5805 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.6356, allocations: 8 kB / 0.5805 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.6358, allocations: 8 kB / 0.5805 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.6359, allocations: 11.94 kB / 0.5805 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.6359, allocations: 11.98 kB / 0.5805 GB, free: 14.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008032/0.6367, allocations: 407.1 kB / 0.5809 GB, free: 13.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.058e-06/0.6368, allocations: 7.938 kB / 0.5809 GB, free: 13.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005348/0.6373, allocations: 75.86 kB / 0.581 GB, free: 13.6 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.002075/0.6394, allocations: 0.6914 MB / 0.5816 GB, free: 13.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000691/0.6401, allocations: 179.7 kB / 0.5818 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6402, allocations: 0 / 0.5818 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.6405, allocations: 95.89 kB / 0.5819 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.6411, allocations: 69.38 kB / 0.582 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.643, allocations: 0.8144 MB / 0.5828 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.6436, allocations: 0.8262 MB / 0.5836 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.6438, allocations: 39.42 kB / 0.5836 GB, free: 10.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6439, allocations: 0 / 0.5836 GB, free: 10.95 MB / 410.7 MB Notification: Performance of Templates: time 0.01271/0.6566, allocations: 4.941 MB / 0.5884 GB, free: 6.008 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches