Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 180.2 kB / 17.41 MB, free: 4.281 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.479/1.479, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0009001/0.0008995, allocations: 95.69 kB / 271.9 MB, free: 8.25 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.3537/0.3537, allocations: 43.56 MB / 363.8 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006302/0.0006304, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1497, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3235/0.4733, allocations: 89.18 MB / 0.567 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.4736, allocations: 68.91 kB / 0.5671 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02264/0.4962, allocations: 9.126 MB / 0.576 GB, free: 4.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4963, allocations: 0 / 0.576 GB, free: 4.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.705e-05/0.4963, allocations: 12 kB / 0.576 GB, free: 4.078 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008776/0.4972, allocations: 0.6339 MB / 0.5766 GB, free: 3.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4973, allocations: 8.781 kB / 0.5766 GB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4974, allocations: 44.47 kB / 0.5767 GB, free: 3.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005384/0.498, allocations: 370 kB / 0.577 GB, free: 2.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.498, allocations: 8.375 kB / 0.577 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.498, allocations: 12.38 kB / 0.577 GB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.4983, allocations: 117.3 kB / 0.5772 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.4983, allocations: 4.188 kB / 0.5772 GB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.4984, allocations: 7.938 kB / 0.5772 GB, free: 2.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4984, allocations: 11.94 kB / 0.5772 GB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.4986, allocations: 91.92 kB / 0.5773 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007961/0.4994, allocations: 0.5353 MB / 0.5778 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.4996, allocations: 110.5 kB / 0.5779 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.4997, allocations: 44.83 kB / 0.5779 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.4997, allocations: 4.219 kB / 0.5779 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.4998, allocations: 34.5 kB / 0.578 GB, free: 1.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.4998, allocations: 0 / 0.578 GB, free: 1.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001009/0.5008, allocations: 460.8 kB / 0.5784 GB, free: 1.438 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.5008, allocations: 55.31 kB / 0.5785 GB, free: 1.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006489/0.5015, allocations: 0.5408 MB / 0.579 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5015, allocations: 29.7 kB / 0.579 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5017, allocations: 204.3 kB / 0.5792 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.5017, allocations: 51.27 kB / 0.5793 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.918e-06/0.5017, allocations: 4 kB / 0.5793 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5019, allocations: 350.8 kB / 0.5796 GB, free: 184 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.502, allocations: 67.95 kB / 0.5797 GB, free: 116 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.5022, allocations: 75.89 kB / 0.5797 GB, free: 40 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.5025, allocations: 167.6 kB / 0.5799 GB, free: 15.87 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5025, allocations: 0 / 0.5799 GB, free: 15.87 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000391/0.5029, allocations: 244.9 kB / 0.5801 GB, free: 15.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5029, allocations: 4 kB / 0.5801 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.5029, allocations: 0 / 0.5801 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.5029, allocations: 0 / 0.5801 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.5031, allocations: 35.97 kB / 0.5802 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.5031, allocations: 4 kB / 0.5802 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.226e-05/0.5032, allocations: 19.94 kB / 0.5802 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.5032, allocations: 4 kB / 0.5802 GB, free: 15.56 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001771/0.5034, allocations: 181.7 kB / 0.5804 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.5035, allocations: 39.47 kB / 0.5804 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.504, allocations: 285.5 kB / 0.5807 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.504, allocations: 0 / 0.5807 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.504, allocations: 4 kB / 0.5807 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.504, allocations: 0 / 0.5807 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009502/0.505, allocations: 0.7426 MB / 0.5814 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.505, allocations: 0 / 0.5814 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.5051, allocations: 35.92 kB / 0.5814 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5051, allocations: 0 / 0.5814 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5051, allocations: 11.94 kB / 0.5815 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5051, allocations: 0 / 0.5815 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5051, allocations: 0 / 0.5815 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.5056, allocations: 338.8 kB / 0.5818 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.5057, allocations: 144.6 kB / 0.5819 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.5058, allocations: 0 / 0.5819 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.5059, allocations: 15.98 kB / 0.5819 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.5059, allocations: 15.98 kB / 0.5819 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.506, allocations: 11.94 kB / 0.582 GB, free: 13.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004734/0.5064, allocations: 407 kB / 0.5823 GB, free: 13.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5065, allocations: 3.938 kB / 0.5824 GB, free: 13.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.5068, allocations: 67.94 kB / 0.5824 GB, free: 13.18 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001441/0.5082, allocations: 0.7241 MB / 0.5831 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003499/0.5086, allocations: 175.8 kB / 0.5833 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5086, allocations: 0 / 0.5833 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.5088, allocations: 95.89 kB / 0.5834 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.5093, allocations: 57.52 kB / 0.5834 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.5104, allocations: 0.826 MB / 0.5842 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.5109, allocations: 0.8185 MB / 0.585 GB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.511, allocations: 39.42 kB / 0.5851 GB, free: 10.51 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.511, allocations: 0 / 0.5851 GB, free: 10.51 MB / 410.7 MB Notification: Performance of Templates: time 0.007863/0.5189, allocations: 4.932 MB / 0.5899 GB, free: 5.574 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches