Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,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.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001502/0.001502, allocations: 185.9 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.015/2.015, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001101/0.001101, allocations: 92.42 kB / 270.9 MB, free: 8.383 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.503/0.5031, allocations: 43.55 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000484/0.000484, allocations: 16 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4859/0.6112, allocations: 88.8 MB / 0.5654 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6115, allocations: 74.12 kB / 0.5655 GB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03542/0.647, allocations: 8.455 MB / 0.5738 GB, free: 5.281 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.647, allocations: 0 / 0.5738 GB, free: 5.281 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.214e-05/0.6471, allocations: 8.75 kB / 0.5738 GB, free: 5.273 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001061/0.6482, allocations: 0.6214 MB / 0.5744 GB, free: 4.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.6482, allocations: 8.031 kB / 0.5744 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.6484, allocations: 35.53 kB / 0.5744 GB, free: 4.566 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007219/0.6491, allocations: 341.2 kB / 0.5748 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.6491, allocations: 4 kB / 0.5748 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.6492, allocations: 8 kB / 0.5748 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.6495, allocations: 97.56 kB / 0.5749 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.6495, allocations: 4.969 kB / 0.5749 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.6495, allocations: 4 kB / 0.5749 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.6495, allocations: 8 kB / 0.5749 GB, free: 4.062 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.6498, allocations: 71.84 kB / 0.5749 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.6509, allocations: 480.5 kB / 0.5754 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.6511, allocations: 82.5 kB / 0.5755 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.6512, allocations: 11.97 kB / 0.5755 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.6512, allocations: 34.69 kB / 0.5755 GB, free: 3.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.6513, allocations: 0 / 0.5755 GB, free: 3.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005727/0.6518, allocations: 161.1 kB / 0.5757 GB, free: 3.164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.6519, allocations: 55.41 kB / 0.5757 GB, free: 3.098 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.6529, allocations: 0.4894 MB / 0.5762 GB, free: 2.602 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.653, allocations: 25.7 kB / 0.5762 GB, free: 2.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.6532, allocations: 230.6 kB / 0.5765 GB, free: 2.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.6533, allocations: 23.66 kB / 0.5765 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.6533, allocations: 0 / 0.5765 GB, free: 2.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6534, allocations: 314.8 kB / 0.5768 GB, free: 2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.6536, allocations: 35.97 kB / 0.5768 GB, free: 1.965 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.6537, allocations: 23.98 kB / 0.5768 GB, free: 1.941 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.6539, allocations: 31.98 kB / 0.5769 GB, free: 1.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6539, allocations: 4 kB / 0.5769 GB, free: 1.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003495/0.6542, allocations: 101.5 kB / 0.577 GB, free: 1.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.6543, allocations: 4 kB / 0.577 GB, free: 1.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.6543, allocations: 4 kB / 0.577 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6543, allocations: 0 / 0.577 GB, free: 1.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.6545, allocations: 15.98 kB / 0.577 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.6545, allocations: 0 / 0.577 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.6547, allocations: 8 kB / 0.577 GB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.6547, allocations: 0 / 0.577 GB, free: 1.77 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 (6): * Single equations (assignments): 6 * 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.0002826/0.655, allocations: 173.8 kB / 0.5772 GB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6551, allocations: 47.42 kB / 0.5772 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.6556, allocations: 160.8 kB / 0.5774 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6556, allocations: 4 kB / 0.5774 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.6556, allocations: 0 / 0.5774 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6556, allocations: 0 / 0.5774 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004804/0.6561, allocations: 301.5 kB / 0.5776 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.6562, allocations: 4 kB / 0.5777 GB, free: 1.031 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.6563, allocations: 12.48 kB / 0.5777 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.6563, allocations: 4 kB / 0.5777 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6563, allocations: 7.953 kB / 0.5777 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.6564, allocations: 4 kB / 0.5777 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6564, allocations: 0 / 0.5777 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.6569, allocations: 227 kB / 0.5779 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.6571, allocations: 144.5 kB / 0.578 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.6572, allocations: 11.98 kB / 0.578 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.6573, allocations: 7.953 kB / 0.5781 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.6574, allocations: 4 kB / 0.5781 GB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.6574, allocations: 0 / 0.5781 GB, free: 0.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008693/0.6583, allocations: 407.1 kB / 0.5784 GB, free: 192 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6583, allocations: 0 / 0.5784 GB, free: 192 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004567/0.6588, allocations: 47.94 kB / 0.5785 GB, free: 144 kB / 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 (6): * Single equations (assignments): 6 * 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.001844/0.6606, allocations: 0.6083 MB / 0.5791 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003792/0.661, allocations: 63.97 kB / 0.5791 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6611, allocations: 0 / 0.5791 GB, free: 15.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.6612, allocations: 40.03 kB / 0.5792 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006788/0.6619, allocations: 61.62 kB / 0.5792 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.6636, allocations: 0.7157 MB / 0.5799 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.6641, allocations: 0.8063 MB / 0.5807 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.6643, allocations: 31.42 kB / 0.5808 GB, free: 13.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6643, allocations: 0 / 0.5808 GB, free: 13.88 MB / 410.7 MB Notification: Performance of Templates: time 0.01063/0.6749, allocations: 4.15 MB / 0.5848 GB, free: 9.727 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches