Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, 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.233/1.233, 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.0008316/0.0008317, allocations: 87.86 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.1939/0.1939, allocations: 44.15 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.405e-05, allocations: 8.219 kB / 451.8 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 61.92 MB / 0.5017 GB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3833/0.4884, allocations: 88.97 MB / 0.5886 GB, free: 404 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.4887, allocations: 67.97 kB / 0.5887 GB, free: 336 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.499, allocations: 4.149 MB / 0.5927 GB, free: 12.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4991, allocations: 0 / 0.5927 GB, free: 12.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.4991, allocations: 0 / 0.5927 GB, free: 12.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005109/0.4996, allocations: 418.2 kB / 0.5931 GB, free: 11.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4997, allocations: 8.031 kB / 0.5931 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.4997, allocations: 7.906 kB / 0.5931 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.5, allocations: 198.5 kB / 0.5933 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5, allocations: 7.953 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.5001, allocations: 4 kB / 0.5933 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.5003, allocations: 71.39 kB / 0.5934 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5003, allocations: 0 / 0.5934 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.5003, allocations: 7.828 kB / 0.5934 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5003, allocations: 0 / 0.5934 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.5004, allocations: 27.94 kB / 0.5934 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/0.5011, allocations: 352.8 kB / 0.5938 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.5013, allocations: 54.56 kB / 0.5938 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.5014, allocations: 32.92 kB / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.5014, allocations: 0 / 0.5938 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.5014, allocations: 34.55 kB / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.5014, allocations: 0 / 0.5939 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008265/0.5023, allocations: 257 kB / 0.5941 GB, free: 10.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5023, allocations: 77.11 kB / 0.5942 GB, free: 10.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.5025, allocations: 138.1 kB / 0.5943 GB, free: 10.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.5025, allocations: 33.7 kB / 0.5944 GB, free: 10.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.5026, allocations: 96.23 kB / 0.5945 GB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.5026, allocations: 31.55 kB / 0.5945 GB, free: 10.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.5026, allocations: 8 kB / 0.5945 GB, free: 10.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.962e-05/0.5027, allocations: 322.8 kB / 0.5948 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.335e-05/0.5028, allocations: 28 kB / 0.5948 GB, free: 9.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.5029, allocations: 53.64 kB / 0.5949 GB, free: 9.734 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.5029, allocations: 35.98 kB / 0.5949 GB, free: 9.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5029, allocations: 4.031 kB / 0.5949 GB, free: 9.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001781/0.5031, allocations: 117.5 kB / 0.595 GB, free: 9.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5031, allocations: 8 kB / 0.595 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5032, allocations: 0 / 0.595 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.5032, allocations: 0 / 0.595 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.5034, allocations: 47.95 kB / 0.5951 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5034, allocations: 4 kB / 0.5951 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.5036, allocations: 31.97 kB / 0.5951 GB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.5036, allocations: 8 kB / 0.5951 GB, free: 9.477 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 (10): * Single equations (assignments): 10 * 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.27e-05/0.5037, allocations: 105.3 kB / 0.5952 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.5037, allocations: 11.91 kB / 0.5952 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.5039, allocations: 134.1 kB / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5039, allocations: 0 / 0.5954 GB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.504, allocations: 7.938 kB / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.504, allocations: 0 / 0.5954 GB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.5044, allocations: 438.5 kB / 0.5958 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.5044, allocations: 7.984 kB / 0.5958 GB, free: 8.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.5046, allocations: 47.97 kB / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.5046, allocations: 0 / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5046, allocations: 0 / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.5046, allocations: 0 / 0.5958 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5047, allocations: 3.953 kB / 0.5958 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.5049, allocations: 215.4 kB / 0.596 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.5049, allocations: 85.02 kB / 0.5961 GB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.5049, allocations: 7.984 kB / 0.5961 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.5051, allocations: 35.97 kB / 0.5962 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.5052, allocations: 7.984 kB / 0.5962 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5052, allocations: 11.95 kB / 0.5962 GB, free: 8.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.5053, allocations: 115.2 kB / 0.5963 GB, free: 8.164 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5053, allocations: 0 / 0.5963 GB, free: 8.164 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002491/0.5055, allocations: 43.92 kB / 0.5963 GB, free: 8.121 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 (9): * Single equations (assignments): 9 * 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.0008602/0.5064, allocations: 424.2 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.5066, allocations: 79.92 kB / 0.5968 GB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5066, allocations: 0 / 0.5968 GB, free: 7.734 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.5067, allocations: 47.92 kB / 0.5969 GB, free: 7.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.5069, allocations: 18.05 kB / 0.5969 GB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.5072, allocations: 161.6 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.5075, allocations: 0.712 MB / 0.5977 GB, free: 6.754 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.5076, allocations: 24.53 kB / 0.5978 GB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.5076, allocations: 27.42 kB / 0.5978 GB, free: 6.703 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5076, allocations: 0 / 0.5978 GB, free: 6.703 MB / 410.7 MB Notification: Performance of Templates: time 0.004069/0.5117, allocations: 1.939 MB / 0.5997 GB, free: 4.773 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches