Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009304/0.0009304, allocations: 177.3 kB / 17.41 MB, free: 4.418 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.511/1.511, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.000739/0.000739, allocations: 83.53 kB / 271.9 MB, free: 8.273 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.3738/0.3738, allocations: 43.56 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003747, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1813, allocations: 58.85 MB / 491.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.5137, allocations: 86.53 MB / 0.5644 GB, free: 15.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.514, allocations: 67.97 kB / 0.5645 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01065/0.5247, allocations: 4.173 MB / 0.5686 GB, free: 11.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5247, allocations: 0 / 0.5686 GB, free: 11.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.5248, allocations: 4 kB / 0.5686 GB, free: 11.72 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.0004409/0.5252, allocations: 429.8 kB / 0.569 GB, free: 11.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5252, allocations: 8.031 kB / 0.569 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.5253, allocations: 16.75 kB / 0.569 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.5255, allocations: 217.4 kB / 0.5692 GB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5256, allocations: 4.375 kB / 0.5692 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.5256, allocations: 4.359 kB / 0.5692 GB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.5257, allocations: 55.45 kB / 0.5693 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5257, allocations: 192 / 0.5693 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5258, allocations: 3.938 kB / 0.5693 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5258, allocations: 4 kB / 0.5693 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.062e-05/0.5259, allocations: 31.92 kB / 0.5693 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.5263, allocations: 312.9 kB / 0.5696 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.5265, allocations: 46.5 kB / 0.5697 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.487e-05/0.5266, allocations: 20.94 kB / 0.5697 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.5266, allocations: 0 / 0.5697 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.5266, allocations: 38.5 kB / 0.5697 GB, free: 10.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.5266, allocations: 0 / 0.5697 GB, free: 10.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000587/0.5272, allocations: 177.4 kB / 0.5699 GB, free: 10.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.5273, allocations: 55.34 kB / 0.5699 GB, free: 10.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.5275, allocations: 258 kB / 0.5702 GB, free: 9.887 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.5276, allocations: 25.7 kB / 0.5702 GB, free: 9.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.5276, allocations: 112.1 kB / 0.5703 GB, free: 9.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.5277, allocations: 27.64 kB / 0.5703 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.5277, allocations: 0 / 0.5703 GB, free: 9.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5278, allocations: 330.8 kB / 0.5707 GB, free: 9.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.5279, allocations: 27.98 kB / 0.5707 GB, free: 9.355 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.698e-05/0.528, allocations: 23.98 kB / 0.5707 GB, free: 9.332 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.5281, allocations: 56.83 kB / 0.5708 GB, free: 9.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5281, allocations: 4 kB / 0.5708 GB, free: 9.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.5283, allocations: 94.44 kB / 0.5709 GB, free: 9.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5283, allocations: 4 kB / 0.5709 GB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5283, allocations: 3.938 kB / 0.5709 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.5284, allocations: 4 kB / 0.5709 GB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.089e-05/0.5284, allocations: 15.98 kB / 0.5709 GB, free: 9.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5284, allocations: 4 kB / 0.5709 GB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.5285, allocations: 8.25 kB / 0.5709 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5285, allocations: 0 / 0.5709 GB, free: 9.133 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.0001059/0.5286, allocations: 141.8 kB / 0.571 GB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.5287, allocations: 15.81 kB / 0.571 GB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.5289, allocations: 118.6 kB / 0.5712 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5289, allocations: 0 / 0.5712 GB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5289, allocations: 7.938 kB / 0.5712 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5289, allocations: 0 / 0.5712 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.5294, allocations: 406.5 kB / 0.5716 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5294, allocations: 0 / 0.5716 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.5295, allocations: 8 kB / 0.5716 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.5295, allocations: 4 kB / 0.5716 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5295, allocations: 0 / 0.5716 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5295, allocations: 4.828 kB / 0.5716 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5295, allocations: 0 / 0.5716 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.5298, allocations: 199.2 kB / 0.5718 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.61e-05/0.5298, allocations: 104.9 kB / 0.5719 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.5299, allocations: 0 / 0.5719 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.5299, allocations: 7.984 kB / 0.5719 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.53, allocations: 12.22 kB / 0.5719 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.53, allocations: 4 kB / 0.5719 GB, free: 8.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.5302, allocations: 204.2 kB / 0.5721 GB, free: 7.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5302, allocations: 3.938 kB / 0.5721 GB, free: 7.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002353/0.5304, allocations: 24 kB / 0.5721 GB, free: 7.789 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.0008477/0.5313, allocations: 404.6 kB / 0.5725 GB, free: 7.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002/0.5315, allocations: 71.89 kB / 0.5726 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5315, allocations: 0 / 0.5726 GB, free: 7.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.5316, allocations: 27.98 kB / 0.5726 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.5319, allocations: 19.92 kB / 0.5726 GB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.5324, allocations: 337.7 kB / 0.5729 GB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.5327, allocations: 0.716 MB / 0.5736 GB, free: 6.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.5328, allocations: 19.44 kB / 0.5736 GB, free: 6.25 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5328, allocations: 3.938 kB / 0.5736 GB, free: 6.246 MB / 394.7 MB Notification: Performance of Templates: time 0.0032/0.536, allocations: 1.748 MB / 0.5754 GB, free: 4.5 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches