Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 169.7 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.549/1.549, allocations: 221.5 MB / 230.7 MB, free: 7.57 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.000947/0.000947, allocations: 89.83 kB / 281.6 MB, free: 5.328 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.2428/0.2428, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.792e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5291, allocations: 88.45 MB / 0.581 GB, free: 8.082 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5294, allocations: 75.95 kB / 0.5811 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01255/0.542, allocations: 4.4 MB / 0.5854 GB, free: 3.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.5421, allocations: 3.984 kB / 0.5854 GB, free: 3.609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5421, allocations: 4 kB / 0.5854 GB, free: 3.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004626/0.5426, allocations: 386.2 kB / 0.5858 GB, free: 3.184 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.5426, allocations: 11.98 kB / 0.5858 GB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.5427, allocations: 8 kB / 0.5858 GB, free: 3.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.5429, allocations: 190.9 kB / 0.586 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.543, allocations: 7.953 kB / 0.586 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.543, allocations: 0 / 0.586 GB, free: 2.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.789e-05/0.5431, allocations: 20 kB / 0.586 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.5433, allocations: 63.33 kB / 0.5861 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.5433, allocations: 0 / 0.5861 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5433, allocations: 0 / 0.5861 GB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5433, allocations: 4 kB / 0.5861 GB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.5438, allocations: 289.3 kB / 0.5864 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.5439, allocations: 42.52 kB / 0.5864 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.117e-05/0.544, allocations: 15.81 kB / 0.5864 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.544, allocations: 8 kB / 0.5864 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.544, allocations: 34.64 kB / 0.5865 GB, free: 2.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.544, allocations: 0 / 0.5865 GB, free: 2.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005263/0.5446, allocations: 149.4 kB / 0.5866 GB, free: 2.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.325e-05/0.5446, allocations: 77.11 kB / 0.5867 GB, free: 2.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.5448, allocations: 135.2 kB / 0.5868 GB, free: 2.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.5448, allocations: 25.7 kB / 0.5868 GB, free: 1.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/0.5449, allocations: 100.8 kB / 0.5869 GB, free: 1.875 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.5449, allocations: 23.62 kB / 0.5869 GB, free: 1.852 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.5449, allocations: 0 / 0.5869 GB, free: 1.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.545, allocations: 318.8 kB / 0.5872 GB, free: 1.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.5451, allocations: 20 kB / 0.5873 GB, free: 1.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-05/0.5451, allocations: 37.77 kB / 0.5873 GB, free: 1.469 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.5452, allocations: 28.02 kB / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.5452, allocations: 0 / 0.5873 GB, free: 1.441 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001201/0.5453, allocations: 89.52 kB / 0.5874 GB, free: 1.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5453, allocations: 4 kB / 0.5874 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5453, allocations: 0 / 0.5874 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5454, allocations: 0 / 0.5874 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.5455, allocations: 27.92 kB / 0.5874 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5455, allocations: 0 / 0.5874 GB, free: 1.316 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.913e-05/0.5456, allocations: 19.98 kB / 0.5875 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.5456, allocations: 0 / 0.5875 GB, free: 1.297 MB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.131e-05/0.5457, allocations: 112.9 kB / 0.5876 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.5457, allocations: 8.047 kB / 0.5876 GB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.5459, allocations: 102.2 kB / 0.5877 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5459, allocations: 3.938 kB / 0.5877 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.546, allocations: 3.938 kB / 0.5877 GB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.546, allocations: 4 kB / 0.5877 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.5463, allocations: 343.1 kB / 0.588 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5463, allocations: 0 / 0.588 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.5464, allocations: 27.98 kB / 0.588 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.5465, allocations: 0 / 0.588 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.5465, allocations: 0 / 0.588 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.5465, allocations: 3.984 kB / 0.588 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5465, allocations: 4 kB / 0.588 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.5467, allocations: 179.7 kB / 0.5882 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.95e-05/0.5467, allocations: 89 kB / 0.5883 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.5468, allocations: 0 / 0.5883 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.754e-05/0.5469, allocations: 15.98 kB / 0.5883 GB, free: 332 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.5469, allocations: 11.98 kB / 0.5883 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.5469, allocations: 4 kB / 0.5883 GB, free: 316 kB / 394.7 MB Notification: Performance of sorting global known variables: time 7.02e-05/0.547, allocations: 104.8 kB / 0.5884 GB, free: 212 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.547, allocations: 0 / 0.5884 GB, free: 212 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.5473, allocations: 28 kB / 0.5885 GB, free: 184 kB / 394.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 (7): * Single equations (assignments): 7 * 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.0008822/0.5482, allocations: 391.9 kB / 0.5888 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.5483, allocations: 51.98 kB / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5483, allocations: 0 / 0.5889 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.5484, allocations: 27.98 kB / 0.5889 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.5486, allocations: 11.95 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.5489, allocations: 140.1 kB / 0.5891 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.5492, allocations: 0.7079 MB / 0.5897 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.688e-05/0.5493, allocations: 20.97 kB / 0.5898 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.5493, allocations: 23.42 kB / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5494, allocations: 0 / 0.5898 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Templates: time 0.004072/0.5534, allocations: 1.402 MB / 0.5912 GB, free: 13.45 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches