Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009568/0.0009569, allocations: 171.9 kB / 16.76 MB, free: 4.902 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.677/1.677, allocations: 205.4 MB / 222.9 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.0008736/0.0008738, allocations: 93.08 kB / 271.3 MB, free: 8.277 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.4027/0.4027, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 19.98 kB / 432.6 MB, free: 5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1384, allocations: 58.84 MB / 491.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.5001, allocations: 86.47 MB / 0.5644 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.5004, allocations: 79.95 kB / 0.5645 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006917/0.5073, allocations: 3.163 MB / 0.5676 GB, free: 12.19 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5074, allocations: 0 / 0.5676 GB, free: 12.19 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.5074, allocations: 2.953 kB / 0.5676 GB, free: 12.19 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003113/0.5077, allocations: 355.2 kB / 0.5679 GB, free: 11.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5077, allocations: 8.031 kB / 0.5679 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.5078, allocations: 8.844 kB / 0.5679 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.5079, allocations: 176.2 kB / 0.5681 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5079, allocations: 16.36 kB / 0.5681 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.508, allocations: 4.375 kB / 0.5681 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.5082, allocations: 190.8 kB / 0.5683 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.5082, allocations: 192 / 0.5683 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.5082, allocations: 7.938 kB / 0.5683 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.5083, allocations: 12 kB / 0.5683 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/0.5083, allocations: 59.72 kB / 0.5684 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.5093, allocations: 1.705 MB / 0.57 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.5094, allocations: 169.1 kB / 0.5702 GB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.91e-05/0.5094, allocations: 81.44 kB / 0.5703 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.5094, allocations: 79.22 kB / 0.5703 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.5095, allocations: 113.7 kB / 0.5704 GB, free: 8.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.5095, allocations: 4 kB / 0.5704 GB, free: 8.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.503e-05/0.5096, allocations: 37.55 kB / 0.5705 GB, free: 8.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.5096, allocations: 134.5 kB / 0.5706 GB, free: 8.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.5098, allocations: 185.1 kB / 0.5708 GB, free: 8.594 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.5098, allocations: 29.7 kB / 0.5708 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.5099, allocations: 143.2 kB / 0.571 GB, free: 8.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-06/0.51, allocations: 7.984 kB / 0.571 GB, free: 8.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.51, allocations: 0 / 0.571 GB, free: 8.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5101, allocations: 322.8 kB / 0.5713 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.5101, allocations: 31.97 kB / 0.5713 GB, free: 8.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.5103, allocations: 153.2 kB / 0.5714 GB, free: 7.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.5105, allocations: 204.8 kB / 0.5716 GB, free: 7.578 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5105, allocations: 0 / 0.5716 GB, free: 7.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002977/0.5108, allocations: 201 kB / 0.5718 GB, free: 7.375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5108, allocations: 8.625 kB / 0.5718 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5108, allocations: 4 kB / 0.5718 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5108, allocations: 8 kB / 0.5719 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.511, allocations: 35.92 kB / 0.5719 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.511, allocations: 15.89 kB / 0.5719 GB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.5111, allocations: 23.75 kB / 0.5719 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5111, allocations: 8 kB / 0.5719 GB, free: 7.277 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001414/0.5112, allocations: 217 kB / 0.5721 GB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.5113, allocations: 116.8 kB / 0.5722 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.635e-05/0.5114, allocations: 116.8 kB / 0.5724 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.314e-05/0.5114, allocations: 180.2 kB / 0.5725 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-05/0.5115, allocations: 180.2 kB / 0.5727 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-05/0.5116, allocations: 184.3 kB / 0.5729 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/0.5118, allocations: 425.1 kB / 0.5733 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.365e-05/0.5118, allocations: 104.9 kB / 0.5734 GB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.5119, allocations: 105 kB / 0.5735 GB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.227e-05/0.5119, allocations: 182.1 kB / 0.5737 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/0.512, allocations: 184.3 kB / 0.5738 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-05/0.512, allocations: 184.2 kB / 0.574 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.888e-05/0.5121, allocations: 176.3 kB / 0.5742 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5122, allocations: 315.7 kB / 0.5745 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.5123, allocations: 193.9 kB / 0.5747 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.563e-05/0.5124, allocations: 184.2 kB / 0.5748 GB, free: 4.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.5125, allocations: 104.9 kB / 0.5749 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.5125, allocations: 180.3 kB / 0.5751 GB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/0.5126, allocations: 112.9 kB / 0.5752 GB, free: 3.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.5127, allocations: 129 kB / 0.5753 GB, free: 3.562 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5127, allocations: 0 / 0.5753 GB, free: 3.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002885/0.513, allocations: 16 kB / 0.5754 GB, free: 3.547 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 (0): * Single equations (assignments): 0 * 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.0004435/0.5134, allocations: 280.4 kB / 0.5756 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.5135, allocations: 75.78 kB / 0.5757 GB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5136, allocations: 0 / 0.5757 GB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.5136, allocations: 352 / 0.5757 GB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.5139, allocations: 0.5314 MB / 0.5762 GB, free: 2.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003402/0.5143, allocations: 281.2 kB / 0.5765 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.5145, allocations: 0.697 MB / 0.5772 GB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001383/0.5146, allocations: 49.02 kB / 0.5772 GB, free: 1.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.5147, allocations: 19.42 kB / 0.5772 GB, free: 1.629 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5147, allocations: 4 kB / 0.5772 GB, free: 1.625 MB / 394.7 MB Notification: Performance of Templates: time 0.002773/0.5175, allocations: 0.7009 MB / 0.5779 GB, free: 0.9297 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches