Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001586, 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.882/1.882, 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.001113/0.001113, allocations: 96.36 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.5769/0.5769, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004552/0.0004547, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4467/0.568, allocations: 86.48 MB / 0.5632 GB, free: 252 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.5683, allocations: 75.95 kB / 0.5633 GB, free: 176 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01738/0.5857, allocations: 4.173 MB / 0.5673 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5858, allocations: 0 / 0.5673 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.712e-05/0.5858, allocations: 4 kB / 0.5673 GB, free: 12.04 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.0005598/0.5864, allocations: 421.7 kB / 0.5677 GB, free: 11.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5864, allocations: 23.89 kB / 0.5678 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.5865, allocations: 15.25 kB / 0.5678 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.5869, allocations: 216.2 kB / 0.568 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5869, allocations: 4 kB / 0.568 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.5869, allocations: 0 / 0.568 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.5871, allocations: 45.69 kB / 0.568 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5871, allocations: 4 kB / 0.568 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5871, allocations: 4 kB / 0.568 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.5872, allocations: 1.031 kB / 0.568 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.5873, allocations: 27.97 kB / 0.5681 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.5879, allocations: 316.7 kB / 0.5684 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.5882, allocations: 46.66 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.5882, allocations: 3.984 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5882, allocations: 34.56 kB / 0.5685 GB, free: 10.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.5882, allocations: 0 / 0.5685 GB, free: 10.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008815/0.5891, allocations: 177.3 kB / 0.5686 GB, free: 10.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5892, allocations: 51.41 kB / 0.5687 GB, free: 10.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004084/0.5896, allocations: 238.5 kB / 0.5689 GB, free: 10.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.5896, allocations: 37.64 kB / 0.5689 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.5898, allocations: 162.6 kB / 0.5691 GB, free: 10.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.5898, allocations: 23.73 kB / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.5898, allocations: 0 / 0.5691 GB, free: 10.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.59, allocations: 315 kB / 0.5694 GB, free: 9.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5901, allocations: 23.98 kB / 0.5694 GB, free: 9.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.5903, allocations: 27.98 kB / 0.5695 GB, free: 9.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.5904, allocations: 27.98 kB / 0.5695 GB, free: 9.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5904, allocations: 3.984 kB / 0.5695 GB, free: 9.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003304/0.5908, allocations: 90.23 kB / 0.5696 GB, free: 9.543 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.5908, allocations: 4 kB / 0.5696 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5908, allocations: 0 / 0.5696 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5908, allocations: 4.031 kB / 0.5696 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.591, allocations: 15.98 kB / 0.5696 GB, free: 9.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.591, allocations: 5.078 kB / 0.5696 GB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.188e-05/0.5911, allocations: 8 kB / 0.5696 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.5911, allocations: 0 / 0.5696 GB, free: 9.508 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.0001531/0.5913, allocations: 145.8 kB / 0.5698 GB, free: 9.355 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.171e-05/0.5913, allocations: 11.81 kB / 0.5698 GB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.5917, allocations: 106.7 kB / 0.5699 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.5917, allocations: 0 / 0.5699 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5918, allocations: 0 / 0.5699 GB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5918, allocations: 15.88 kB / 0.5699 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.5925, allocations: 402.5 kB / 0.5703 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5926, allocations: 3.938 kB / 0.5703 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.5927, allocations: 15.98 kB / 0.5703 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.5927, allocations: 4 kB / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.5927, allocations: 0 / 0.5703 GB, free: 8.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.5927, allocations: 7.953 kB / 0.5703 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.5928, allocations: 0 / 0.5703 GB, free: 8.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.5932, allocations: 203.3 kB / 0.5705 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.5933, allocations: 100.9 kB / 0.5706 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.5933, allocations: 4 kB / 0.5706 GB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.5934, allocations: 7.984 kB / 0.5706 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.5935, allocations: 7.953 kB / 0.5706 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.5935, allocations: 3.938 kB / 0.5706 GB, free: 8.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002981/0.5938, allocations: 200.2 kB / 0.5708 GB, free: 8.191 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5938, allocations: 0 / 0.5708 GB, free: 8.191 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003367/0.5942, allocations: 24 kB / 0.5708 GB, free: 8.168 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.001143/0.5953, allocations: 415.6 kB / 0.5712 GB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.5957, allocations: 55.95 kB / 0.5713 GB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5957, allocations: 0 / 0.5713 GB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.5959, allocations: 39.92 kB / 0.5713 GB, free: 7.766 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.5962, allocations: 12.17 kB / 0.5713 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.597, allocations: 341.7 kB / 0.5716 GB, free: 7.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.5974, allocations: 0.716 MB / 0.5723 GB, free: 6.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.5975, allocations: 15.44 kB / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of SimCode: time 7.41e-07/0.5975, allocations: 0 / 0.5724 GB, free: 6.633 MB / 394.7 MB Notification: Performance of Templates: time 0.00514/0.6026, allocations: 1.771 MB / 0.5741 GB, free: 4.859 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches