Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001489, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 96.09 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5166/0.5166, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000759/0.000759, allocations: 15.98 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1748, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5021/0.677, allocations: 86.45 MB / 0.5632 GB, free: 288 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.6773, allocations: 71.97 kB / 0.5632 GB, free: 216 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.6928, allocations: 3.631 MB / 0.5668 GB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6929, allocations: 0 / 0.5668 GB, free: 12.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.6929, allocations: 0 / 0.5668 GB, free: 12.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004845/0.6934, allocations: 387.7 kB / 0.5671 GB, free: 12.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.6935, allocations: 16.02 kB / 0.5672 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.6935, allocations: 8.781 kB / 0.5672 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.6938, allocations: 198.4 kB / 0.5673 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.6938, allocations: 4 kB / 0.5674 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.6938, allocations: 0 / 0.5674 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.694, allocations: 53.62 kB / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.6941, allocations: 4 kB / 0.5674 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.6941, allocations: 4 kB / 0.5674 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.6941, allocations: 1.594 kB / 0.5674 GB, free: 11.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.6943, allocations: 27.97 kB / 0.5674 GB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.6947, allocations: 288.9 kB / 0.5677 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.695, allocations: 50.48 kB / 0.5678 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.6951, allocations: 0 / 0.5678 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.6951, allocations: 34.56 kB / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.6951, allocations: 7.469 kB / 0.5678 GB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008333/0.696, allocations: 169.2 kB / 0.568 GB, free: 11.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.696, allocations: 59.41 kB / 0.568 GB, free: 11.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.6963, allocations: 149.8 kB / 0.5682 GB, free: 11.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.6963, allocations: 25.7 kB / 0.5682 GB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.6964, allocations: 158.6 kB / 0.5683 GB, free: 10.82 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.6964, allocations: 19.73 kB / 0.5684 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.6964, allocations: 4 kB / 0.5684 GB, free: 10.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6966, allocations: 310.8 kB / 0.5687 GB, free: 10.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.6967, allocations: 28.17 kB / 0.5687 GB, free: 10.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.6968, allocations: 23.98 kB / 0.5687 GB, free: 10.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.697, allocations: 27.92 kB / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.697, allocations: 0 / 0.5687 GB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003215/0.6973, allocations: 97.59 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.6974, allocations: 4 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6974, allocations: 0 / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6974, allocations: 3.953 kB / 0.5688 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.6975, allocations: 15.98 kB / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6975, allocations: 0 / 0.5689 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.6976, allocations: 12 kB / 0.5689 GB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.6976, allocations: 0 / 0.5689 GB, free: 10.27 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001114/0.6978, allocations: 125.8 kB / 0.569 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.6978, allocations: 7.906 kB / 0.569 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.6982, allocations: 105.9 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.6982, allocations: 8 kB / 0.5691 GB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.6983, allocations: 3.953 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.6983, allocations: 3.984 kB / 0.5691 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.6989, allocations: 366.8 kB / 0.5695 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.699, allocations: 0 / 0.5695 GB, free: 9.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.6991, allocations: 27.98 kB / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6991, allocations: 0 / 0.5695 GB, free: 9.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.6991, allocations: 3.953 kB / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.6991, allocations: 0 / 0.5695 GB, free: 9.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6991, allocations: 4 kB / 0.5695 GB, free: 9.559 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.6995, allocations: 195.4 kB / 0.5697 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.6996, allocations: 85.02 kB / 0.5698 GB, free: 9.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.6996, allocations: 4 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.6997, allocations: 12.69 kB / 0.5698 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.6998, allocations: 4.281 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.6998, allocations: 4 kB / 0.5698 GB, free: 9.227 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001437/0.7, allocations: 127 kB / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7, allocations: 4 kB / 0.5699 GB, free: 9.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000381/0.7004, allocations: 23.98 kB / 0.5699 GB, free: 9.078 MB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.001153/0.7015, allocations: 415.7 kB / 0.5703 GB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.7019, allocations: 55.95 kB / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.7019, allocations: 4 kB / 0.5704 GB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.7021, allocations: 31.98 kB / 0.5704 GB, free: 8.676 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.7024, allocations: 11.98 kB / 0.5704 GB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.703, allocations: 237.2 kB / 0.5707 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.7034, allocations: 0.7043 MB / 0.5713 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.7034, allocations: 19.36 kB / 0.5714 GB, free: 7.652 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.7034, allocations: 0 / 0.5714 GB, free: 7.652 MB / 394.7 MB Notification: Performance of Templates: time 0.004286/0.7077, allocations: 1.468 MB / 0.5728 GB, free: 6.184 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches