Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000859/0.0008589, allocations: 181.5 kB / 17.41 MB, free: 4.402 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.372/1.372, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007204/0.0007205, allocations: 89.36 kB / 271.9 MB, free: 8.246 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.3606/0.3606, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004057/0.0004057, allocations: 16 kB / 432.6 MB, free: 5.656 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 58.85 MB / 491.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.484, allocations: 89.02 MB / 0.5669 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4843, allocations: 71.95 kB / 0.5669 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02106/0.5054, allocations: 8.607 MB / 0.5753 GB, free: 4.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5054, allocations: 0 / 0.5753 GB, free: 4.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.5054, allocations: 12.22 kB / 0.5753 GB, free: 4.602 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.000763/0.5062, allocations: 0.6344 MB / 0.576 GB, free: 3.918 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5063, allocations: 8.031 kB / 0.576 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.5063, allocations: 40.47 kB / 0.576 GB, free: 3.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.5068, allocations: 374 kB / 0.5764 GB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.5068, allocations: 8.375 kB / 0.5764 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.5069, allocations: 8.375 kB / 0.5764 GB, free: 3.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.5071, allocations: 133.2 kB / 0.5765 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5071, allocations: 192 / 0.5765 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5072, allocations: 7.938 kB / 0.5765 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.5072, allocations: 4 kB / 0.5765 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.5074, allocations: 84.97 kB / 0.5766 GB, free: 3.223 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007032/0.5081, allocations: 0.5315 MB / 0.5771 GB, free: 2.641 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.5083, allocations: 118.5 kB / 0.5772 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.5084, allocations: 41.06 kB / 0.5773 GB, free: 2.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.5084, allocations: 7.938 kB / 0.5773 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.5084, allocations: 34.55 kB / 0.5773 GB, free: 2.422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.5084, allocations: 0 / 0.5773 GB, free: 2.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001001/0.5095, allocations: 453.4 kB / 0.5778 GB, free: 1.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5095, allocations: 59.31 kB / 0.5778 GB, free: 1.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.5101, allocations: 0.5369 MB / 0.5783 GB, free: 1.359 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.5102, allocations: 33.7 kB / 0.5784 GB, free: 1.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.5103, allocations: 204.3 kB / 0.5786 GB, free: 1.117 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.5104, allocations: 55.25 kB / 0.5786 GB, free: 1.062 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.5104, allocations: 3.938 kB / 0.5786 GB, free: 1.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5105, allocations: 354.8 kB / 0.579 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.5107, allocations: 67.95 kB / 0.579 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.5108, allocations: 71.95 kB / 0.5791 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.5111, allocations: 170.4 kB / 0.5793 GB, free: 408 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.5111, allocations: 0 / 0.5793 GB, free: 408 kB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003682/0.5115, allocations: 245 kB / 0.5795 GB, free: 156 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5115, allocations: 6.812 kB / 0.5795 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5115, allocations: 0 / 0.5795 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.5115, allocations: 0 / 0.5795 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.5117, allocations: 39.92 kB / 0.5795 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.5117, allocations: 0 / 0.5795 GB, free: 112 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.5118, allocations: 19.92 kB / 0.5795 GB, free: 92 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.5118, allocations: 4 kB / 0.5796 GB, free: 88 kB / 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.0001839/0.512, allocations: 181.8 kB / 0.5797 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.5121, allocations: 39.47 kB / 0.5798 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004989/0.5126, allocations: 281.4 kB / 0.58 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5126, allocations: 8 kB / 0.58 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5126, allocations: 3.984 kB / 0.58 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5126, allocations: 0 / 0.58 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009256/0.5135, allocations: 0.7401 MB / 0.5808 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5136, allocations: 0 / 0.5808 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.5137, allocations: 31.98 kB / 0.5808 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5137, allocations: 4 kB / 0.5808 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.5137, allocations: 3.984 kB / 0.5808 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5137, allocations: 4 kB / 0.5808 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5137, allocations: 0 / 0.5808 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/0.5141, allocations: 345.4 kB / 0.5811 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.5143, allocations: 140.6 kB / 0.5813 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.5143, allocations: 7.984 kB / 0.5813 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5144, allocations: 15.98 kB / 0.5813 GB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.5145, allocations: 11.92 kB / 0.5813 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.5145, allocations: 11.94 kB / 0.5813 GB, free: 14.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004389/0.515, allocations: 407.1 kB / 0.5817 GB, free: 13.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.515, allocations: 0 / 0.5817 GB, free: 13.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003313/0.5153, allocations: 71.92 kB / 0.5818 GB, free: 13.7 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.001476/0.5168, allocations: 0.7157 MB / 0.5825 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.5171, allocations: 171.8 kB / 0.5826 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5172, allocations: 0 / 0.5826 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.5173, allocations: 95.89 kB / 0.5827 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.5178, allocations: 65.48 kB / 0.5828 GB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.5189, allocations: 0.8221 MB / 0.5836 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.5193, allocations: 0.8184 MB / 0.5844 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.5194, allocations: 43.42 kB / 0.5844 GB, free: 11.03 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.5194, allocations: 0 / 0.5844 GB, free: 11.03 MB / 410.7 MB Notification: Performance of Templates: time 0.006929/0.5264, allocations: 4.928 MB / 0.5892 GB, free: 6.102 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches