Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 180.1 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007832, allocations: 91.67 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1743/0.1743, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.817e-05, allocations: 11.94 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 61.9 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4734, allocations: 90.68 MB / 0.5902 GB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4736, allocations: 75.94 kB / 0.5903 GB, free: 14.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.4968, allocations: 9.517 MB / 0.5996 GB, free: 5.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4969, allocations: 0 / 0.5996 GB, free: 5.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.4969, allocations: 8 kB / 0.5996 GB, free: 5.02 MB / 410.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.0005448/0.4975, allocations: 0.5638 MB / 0.6002 GB, free: 4.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4975, allocations: 8.031 kB / 0.6002 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.4976, allocations: 39.53 kB / 0.6002 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.498, allocations: 345.2 kB / 0.6005 GB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4981, allocations: 12 kB / 0.6006 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.4981, allocations: 15.91 kB / 0.6006 GB, free: 3.957 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.4983, allocations: 89.67 kB / 0.6007 GB, free: 3.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4983, allocations: 4 kB / 0.6007 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4983, allocations: 0 / 0.6007 GB, free: 3.859 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4983, allocations: 4 kB / 0.6007 GB, free: 3.855 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.4985, allocations: 55.98 kB / 0.6007 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.4991, allocations: 0.508 MB / 0.6012 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4992, allocations: 82.5 kB / 0.6013 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.4992, allocations: 32.86 kB / 0.6013 GB, free: 3.117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.4993, allocations: 7.938 kB / 0.6013 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4993, allocations: 34.56 kB / 0.6014 GB, free: 3.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.4993, allocations: 4 kB / 0.6014 GB, free: 3.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006403/0.5, allocations: 324.1 kB / 0.6017 GB, free: 2.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.5, allocations: 51.41 kB / 0.6017 GB, free: 2.676 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/0.5005, allocations: 487.1 kB / 0.6022 GB, free: 2.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.5006, allocations: 29.7 kB / 0.6022 GB, free: 2.156 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.5007, allocations: 204.3 kB / 0.6024 GB, free: 1.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.538e-05/0.5007, allocations: 55.2 kB / 0.6025 GB, free: 1.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.5008, allocations: 4 kB / 0.6025 GB, free: 1.895 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.5009, allocations: 354.7 kB / 0.6028 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-05/0.5009, allocations: 40 kB / 0.6029 GB, free: 1.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.501, allocations: 45.39 kB / 0.6029 GB, free: 1.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/0.5011, allocations: 45.45 kB / 0.6029 GB, free: 1.414 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5011, allocations: 11.89 kB / 0.6029 GB, free: 1.402 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002332/0.5013, allocations: 165.2 kB / 0.6031 GB, free: 1.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.5014, allocations: 4.938 kB / 0.6031 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5014, allocations: 0 / 0.6031 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5014, allocations: 4 kB / 0.6031 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.5016, allocations: 39.92 kB / 0.6032 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5016, allocations: 0 / 0.6032 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.862e-05/0.5017, allocations: 19.89 kB / 0.6032 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.5017, allocations: 4 kB / 0.6032 GB, free: 1.164 MB / 410.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 () * 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 7.106e-05/0.5018, allocations: 109 kB / 0.6033 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.5018, allocations: 39.48 kB / 0.6033 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003417/0.5022, allocations: 226.2 kB / 0.6035 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5022, allocations: 0 / 0.6035 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5022, allocations: 4 kB / 0.6035 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.5022, allocations: 0 / 0.6035 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007466/0.503, allocations: 0.6632 MB / 0.6042 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.503, allocations: 4 kB / 0.6042 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.5031, allocations: 31.98 kB / 0.6042 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5031, allocations: 0 / 0.6042 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.5031, allocations: 4 kB / 0.6042 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.5031, allocations: 4 kB / 0.6042 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5031, allocations: 0 / 0.6042 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.5034, allocations: 284.2 kB / 0.6045 GB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5036, allocations: 148.6 kB / 0.6046 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.5036, allocations: 8 kB / 0.6046 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.5037, allocations: 12 kB / 0.6047 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.5038, allocations: 7.984 kB / 0.6047 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.5038, allocations: 7.984 kB / 0.6047 GB, free: 15.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003988/0.5042, allocations: 393.2 kB / 0.605 GB, free: 15.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5042, allocations: 0 / 0.605 GB, free: 15.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.5045, allocations: 71.92 kB / 0.6051 GB, free: 15.07 MB / 426.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 () * 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.001345/0.5059, allocations: 0.63 MB / 0.6057 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.5061, allocations: 111.8 kB / 0.6058 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5061, allocations: 4.844 kB / 0.6058 GB, free: 14.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.5062, allocations: 62.75 kB / 0.6059 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.5066, allocations: 72.44 kB / 0.606 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.5073, allocations: 0.5014 MB / 0.6065 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5077, allocations: 0.8143 MB / 0.6073 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.5078, allocations: 54.03 kB / 0.6073 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.878e-05/0.5079, allocations: 39.36 kB / 0.6073 GB, free: 12.93 MB / 426.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5079, allocations: 4 kB / 0.6074 GB, free: 12.93 MB / 426.7 MB Notification: Performance of Templates: time 0.006738/0.5146, allocations: 3.539 MB / 0.6108 GB, free: 9.398 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches