Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.5 MB / 230.7 MB, free: 7.516 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.0009278/0.0009278, allocations: 88.41 kB / 281.6 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1999/0.1999, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.214e-05, allocations: 4.219 kB / 444.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 61.92 MB / 0.4947 GB, free: 1.266 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5685, allocations: 90.47 MB / 0.583 GB, free: 6.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.5688, allocations: 67.97 kB / 0.5831 GB, free: 5.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02363/0.5924, allocations: 9.656 MB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5924, allocations: 0 / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.531e-05/0.5925, allocations: 16.16 kB / 0.5925 GB, free: 12.32 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.000666/0.5932, allocations: 0.556 MB / 0.5931 GB, free: 11.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5932, allocations: 8.031 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.5933, allocations: 47.38 kB / 0.5931 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005686/0.5939, allocations: 355.3 kB / 0.5935 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.5939, allocations: 4 kB / 0.5935 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.564e-05/0.594, allocations: 12 kB / 0.5935 GB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001771/0.5941, allocations: 71.97 kB / 0.5936 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.5943, allocations: 93.59 kB / 0.5936 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.5944, allocations: 7.922 kB / 0.5936 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.5944, allocations: 0 / 0.5936 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.5944, allocations: 4 kB / 0.5937 GB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.5951, allocations: 0.5047 MB / 0.5941 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.5953, allocations: 90.55 kB / 0.5942 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.5953, allocations: 32.84 kB / 0.5943 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.5954, allocations: 4 kB / 0.5943 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5954, allocations: 38.52 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.5954, allocations: 4 kB / 0.5943 GB, free: 10.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007582/0.5962, allocations: 365.2 kB / 0.5947 GB, free: 9.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.5962, allocations: 51.41 kB / 0.5947 GB, free: 9.922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.5967, allocations: 485.1 kB / 0.5952 GB, free: 9.445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.5968, allocations: 25.7 kB / 0.5952 GB, free: 9.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.5969, allocations: 200.3 kB / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.597, allocations: 59.19 kB / 0.5954 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-06/0.597, allocations: 0 / 0.5954 GB, free: 9.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5971, allocations: 354.8 kB / 0.5958 GB, free: 8.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.5972, allocations: 51.98 kB / 0.5958 GB, free: 8.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.5973, allocations: 55.89 kB / 0.5959 GB, free: 8.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.252e-05/0.5974, allocations: 61.38 kB / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5974, allocations: 0 / 0.5959 GB, free: 8.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002933/0.5977, allocations: 197 kB / 0.5961 GB, free: 8.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.5977, allocations: 13.08 kB / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.5977, allocations: 0 / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.5978, allocations: 0 / 0.5961 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.598, allocations: 39.92 kB / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.598, allocations: 0 / 0.5962 GB, free: 8.387 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.617e-05/0.5981, allocations: 11.98 kB / 0.5962 GB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5981, allocations: 8 kB / 0.5962 GB, free: 8.367 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 0.0001017/0.5982, allocations: 105 kB / 0.5963 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.5983, allocations: 39.48 kB / 0.5963 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.5987, allocations: 258.8 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5987, allocations: 4 kB / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5988, allocations: 0 / 0.5966 GB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5988, allocations: 3.938 kB / 0.5966 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/0.5997, allocations: 0.6626 MB / 0.5972 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.5997, allocations: 0 / 0.5972 GB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.5998, allocations: 43.97 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5999, allocations: 4 kB / 0.5973 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.5999, allocations: 4 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5999, allocations: 0 / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5999, allocations: 4 kB / 0.5973 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.6003, allocations: 307.8 kB / 0.5976 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.6004, allocations: 140.6 kB / 0.5977 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.6005, allocations: 8 kB / 0.5977 GB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6006, allocations: 7.984 kB / 0.5977 GB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.327e-05/0.6006, allocations: 11.98 kB / 0.5977 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.6007, allocations: 4 kB / 0.5977 GB, free: 6.684 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004487/0.6011, allocations: 382.9 kB / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6011, allocations: 0 / 0.5981 GB, free: 6.312 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.6015, allocations: 63.94 kB / 0.5982 GB, free: 6.25 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 () * 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.001335/0.6028, allocations: 0.581 MB / 0.5987 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.6031, allocations: 132 kB / 0.5989 GB, free: 5.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6031, allocations: 4 kB / 0.5989 GB, free: 5.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.6032, allocations: 79.81 kB / 0.5989 GB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.6037, allocations: 59.2 kB / 0.599 GB, free: 5.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009816/0.6047, allocations: 0.5427 MB / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.6051, allocations: 0.8257 MB / 0.6003 GB, free: 4.098 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.6052, allocations: 77.94 kB / 0.6004 GB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-05/0.6053, allocations: 35.42 kB / 0.6004 GB, free: 3.984 MB / 410.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6053, allocations: 0 / 0.6004 GB, free: 3.984 MB / 410.7 MB Notification: Performance of Templates: time 0.006837/0.6122, allocations: 3.422 MB / 0.6038 GB, free: 0.5703 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches