Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009519/0.0009519, allocations: 180.5 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.217/1.217, allocations: 221.3 MB / 236 MB, free: 3.004 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.0008388/0.0008388, allocations: 91.8 kB / 287 MB, free: 276 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.1704/0.1704, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.877e-05, allocations: 4 kB / 451.8 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4872, allocations: 90.97 MB / 0.5905 GB, free: 14.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4875, allocations: 75.95 kB / 0.5906 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0226/0.5101, allocations: 8.936 MB / 0.5993 GB, free: 5.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.5101, allocations: 0 / 0.5993 GB, free: 5.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.277e-05/0.5102, allocations: 20.16 kB / 0.5994 GB, free: 5.371 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.0006336/0.5108, allocations: 0.5405 MB / 0.5999 GB, free: 4.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5109, allocations: 12.03 kB / 0.5999 GB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.23e-05/0.511, allocations: 39.44 kB / 0.5999 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.5115, allocations: 357.1 kB / 0.6003 GB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5115, allocations: 11.94 kB / 0.6003 GB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.5116, allocations: 12 kB / 0.6003 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.5118, allocations: 117.6 kB / 0.6004 GB, free: 4.199 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5118, allocations: 4 kB / 0.6004 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.5118, allocations: 4 kB / 0.6004 GB, free: 4.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5119, allocations: 4 kB / 0.6004 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.512, allocations: 71.97 kB / 0.6005 GB, free: 4.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007309/0.5127, allocations: 0.5276 MB / 0.601 GB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.5129, allocations: 106.5 kB / 0.6011 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.513, allocations: 32.86 kB / 0.6011 GB, free: 3.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.513, allocations: 15.92 kB / 0.6012 GB, free: 3.375 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.5131, allocations: 34.55 kB / 0.6012 GB, free: 3.332 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.5131, allocations: 0 / 0.6012 GB, free: 3.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.000746/0.5138, allocations: 377 kB / 0.6015 GB, free: 2.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.5139, allocations: 55.39 kB / 0.6016 GB, free: 2.891 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.5144, allocations: 491.1 kB / 0.6021 GB, free: 2.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.5145, allocations: 33.7 kB / 0.6021 GB, free: 2.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.5146, allocations: 204.3 kB / 0.6023 GB, free: 2.156 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.5147, allocations: 55.19 kB / 0.6023 GB, free: 2.102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.5147, allocations: 4 kB / 0.6024 GB, free: 2.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5148, allocations: 354.8 kB / 0.6027 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.5149, allocations: 59.98 kB / 0.6027 GB, free: 1.684 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.515, allocations: 61.08 kB / 0.6028 GB, free: 1.625 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.5151, allocations: 65.53 kB / 0.6029 GB, free: 1.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5151, allocations: 7.891 kB / 0.6029 GB, free: 1.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002747/0.5154, allocations: 205.1 kB / 0.6031 GB, free: 1.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5154, allocations: 4 kB / 0.6031 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5154, allocations: 0 / 0.6031 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5154, allocations: 3.984 kB / 0.6031 GB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.5156, allocations: 35.98 kB / 0.6031 GB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.5156, allocations: 4 kB / 0.6031 GB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.5157, allocations: 12 kB / 0.6031 GB, free: 1.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.5157, allocations: 7.984 kB / 0.6031 GB, free: 1.281 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 6.189e-05/0.5158, allocations: 111 kB / 0.6032 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.5159, allocations: 43.48 kB / 0.6033 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004094/0.5163, allocations: 262.1 kB / 0.6035 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5163, allocations: 8 kB / 0.6035 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5163, allocations: 0 / 0.6035 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5163, allocations: 3.938 kB / 0.6035 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008183/0.5171, allocations: 0.7139 MB / 0.6042 GB, free: 84 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.5172, allocations: 4 kB / 0.6042 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.5173, allocations: 35.98 kB / 0.6043 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5173, allocations: 0 / 0.6043 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.5173, allocations: 0 / 0.6043 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5173, allocations: 7.984 kB / 0.6043 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5173, allocations: 0 / 0.6043 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.5177, allocations: 312.1 kB / 0.6046 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.5178, allocations: 148.5 kB / 0.6047 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.5178, allocations: 4 kB / 0.6047 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.5179, allocations: 16 kB / 0.6047 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.518, allocations: 11.97 kB / 0.6048 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.518, allocations: 8 kB / 0.6048 GB, free: 15.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004046/0.5184, allocations: 393.2 kB / 0.6051 GB, free: 15.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5184, allocations: 0 / 0.6051 GB, free: 15.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.5187, allocations: 75.92 kB / 0.6052 GB, free: 15.05 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.00137/0.5201, allocations: 0.6363 MB / 0.6058 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.5204, allocations: 140 kB / 0.606 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5204, allocations: 0 / 0.606 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.5205, allocations: 79.83 kB / 0.606 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.5209, allocations: 75.5 kB / 0.6061 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008537/0.5217, allocations: 0.552 MB / 0.6067 GB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.5222, allocations: 0.826 MB / 0.6075 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001541/0.5223, allocations: 66.03 kB / 0.6075 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.216e-05/0.5224, allocations: 39.36 kB / 0.6076 GB, free: 12.79 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5225, allocations: 0 / 0.6076 GB, free: 12.79 MB / 426.7 MB Notification: Performance of Templates: time 0.007294/0.5298, allocations: 3.641 MB / 0.6111 GB, free: 9.156 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches