Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.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.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") translateModel(ModelicaTest.Tables.CombiTable2D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008842/0.0008841, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.264/1.264, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0009835/0.0009835, allocations: 99.78 kB / 271.9 MB, free: 8.242 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.3006/0.3006, allocations: 43.56 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 20 kB / 432.6 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1524, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4832, allocations: 88.64 MB / 0.5665 GB, free: 13.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.4834, allocations: 71.97 kB / 0.5666 GB, free: 13.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02107/0.5045, allocations: 8.398 MB / 0.5748 GB, free: 5.344 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5046, allocations: 3.984 kB / 0.5748 GB, free: 5.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.065e-05/0.5046, allocations: 11.98 kB / 0.5748 GB, free: 5.328 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.0007009/0.5053, allocations: 0.623 MB / 0.5754 GB, free: 4.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.5054, allocations: 12.03 kB / 0.5754 GB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.5054, allocations: 40.47 kB / 0.5754 GB, free: 4.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.5059, allocations: 358 kB / 0.5758 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.5059, allocations: 8.375 kB / 0.5758 GB, free: 4.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.506, allocations: 16.38 kB / 0.5758 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.5062, allocations: 105.3 kB / 0.5759 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.5062, allocations: 4.188 kB / 0.5759 GB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.5062, allocations: 3.938 kB / 0.5759 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5063, allocations: 4 kB / 0.5759 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.5065, allocations: 71.95 kB / 0.576 GB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006607/0.5072, allocations: 0.5003 MB / 0.5765 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.5073, allocations: 90.48 kB / 0.5765 GB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.5074, allocations: 40.84 kB / 0.5766 GB, free: 3.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.5075, allocations: 3.984 kB / 0.5766 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.5075, allocations: 38.56 kB / 0.5766 GB, free: 3.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.5075, allocations: 0 / 0.5766 GB, free: 3.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008657/0.5084, allocations: 396.8 kB / 0.577 GB, free: 2.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.5084, allocations: 55.34 kB / 0.5771 GB, free: 2.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.5091, allocations: 0.5292 MB / 0.5776 GB, free: 2.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5091, allocations: 25.7 kB / 0.5776 GB, free: 2.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.5092, allocations: 208.3 kB / 0.5778 GB, free: 2.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.5093, allocations: 55.19 kB / 0.5779 GB, free: 1.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.5093, allocations: 8 kB / 0.5779 GB, free: 1.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5094, allocations: 350.8 kB / 0.5782 GB, free: 1.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.5096, allocations: 55.88 kB / 0.5782 GB, free: 1.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.899e-05/0.5097, allocations: 55.97 kB / 0.5783 GB, free: 1.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.5099, allocations: 130.5 kB / 0.5784 GB, free: 1.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5099, allocations: 0 / 0.5784 GB, free: 1.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003266/0.5102, allocations: 211.9 kB / 0.5786 GB, free: 1.164 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5103, allocations: 4 kB / 0.5786 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5103, allocations: 4 kB / 0.5786 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5103, allocations: 0 / 0.5786 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.5104, allocations: 39.92 kB / 0.5787 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.5104, allocations: 0 / 0.5787 GB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.5105, allocations: 15.98 kB / 0.5787 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.5106, allocations: 4 kB / 0.5787 GB, free: 1.098 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 (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.0001538/0.5107, allocations: 177.7 kB / 0.5789 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.044e-05/0.5108, allocations: 51.41 kB / 0.5789 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.5113, allocations: 237.5 kB / 0.5791 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5113, allocations: 4 kB / 0.5791 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5113, allocations: 0 / 0.5791 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.5113, allocations: 4 kB / 0.5791 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.5122, allocations: 0.6777 MB / 0.5798 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5122, allocations: 0 / 0.5798 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5123, allocations: 39.92 kB / 0.5798 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.5123, allocations: 7.984 kB / 0.5799 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5123, allocations: 4 kB / 0.5799 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5124, allocations: 0 / 0.5799 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5124, allocations: 7.984 kB / 0.5799 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003614/0.5127, allocations: 305.5 kB / 0.5802 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.5129, allocations: 140.6 kB / 0.5803 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5129, allocations: 4 kB / 0.5803 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.513, allocations: 15.98 kB / 0.5803 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.5131, allocations: 11.98 kB / 0.5803 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.5131, allocations: 11.94 kB / 0.5803 GB, free: 15.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004469/0.5136, allocations: 399.1 kB / 0.5807 GB, free: 14.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.653e-06/0.5136, allocations: 4 kB / 0.5807 GB, free: 14.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000314/0.5139, allocations: 71.88 kB / 0.5808 GB, free: 14.84 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.001532/0.5155, allocations: 0.707 MB / 0.5815 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003724/0.5158, allocations: 143.8 kB / 0.5816 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5159, allocations: 4 kB / 0.5816 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.516, allocations: 75.84 kB / 0.5817 GB, free: 14.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.5165, allocations: 65.5 kB / 0.5818 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.5176, allocations: 0.7679 MB / 0.5825 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.518, allocations: 0.8105 MB / 0.5833 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-05/0.5181, allocations: 43.41 kB / 0.5833 GB, free: 12.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5181, allocations: 0 / 0.5833 GB, free: 12.29 MB / 410.7 MB Notification: Performance of Templates: time 0.006718/0.5249, allocations: 4.659 MB / 0.5879 GB, free: 7.629 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches