Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,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_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 195.2 kB / 16.78 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 226.5 MB / 244.1 MB, free: 8.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007945/0.0007944, allocations: 97.44 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3586/0.3586, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002816/0.0002817, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3632, allocations: 62.96 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.4832, allocations: 92.45 MB / 0.6068 GB, free: 12.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4835, allocations: 75.97 kB / 0.6068 GB, free: 12.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.5091, allocations: 10.24 MB / 0.6168 GB, free: 2.613 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5091, allocations: 0 / 0.6168 GB, free: 2.613 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.5091, allocations: 11.94 kB / 0.6168 GB, free: 2.602 MB / 426.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.0008548/0.51, allocations: 0.6861 MB / 0.6175 GB, free: 1.863 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.51, allocations: 8.031 kB / 0.6175 GB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/0.5101, allocations: 52.28 kB / 0.6176 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005964/0.5107, allocations: 405.8 kB / 0.618 GB, free: 1.367 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5108, allocations: 8.375 kB / 0.618 GB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.5108, allocations: 12.38 kB / 0.618 GB, free: 1.348 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.511, allocations: 118.1 kB / 0.6181 GB, free: 1.227 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.5111, allocations: 4.188 kB / 0.6181 GB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5111, allocations: 7.938 kB / 0.6181 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5111, allocations: 3.938 kB / 0.6181 GB, free: 1.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.5113, allocations: 99.92 kB / 0.6182 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.512, allocations: 0.5354 MB / 0.6187 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.5122, allocations: 122.4 kB / 0.6188 GB, free: 408 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.433e-05/0.5123, allocations: 36.84 kB / 0.6189 GB, free: 368 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5123, allocations: 0 / 0.6189 GB, free: 368 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.5124, allocations: 42.55 kB / 0.6189 GB, free: 316 kB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.5124, allocations: 0 / 0.6189 GB, free: 316 kB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.000989/0.5134, allocations: 461.1 kB / 0.6193 GB, free: 15.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.5134, allocations: 59.34 kB / 0.6194 GB, free: 15.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.5141, allocations: 0.5877 MB / 0.62 GB, free: 15.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.5141, allocations: 29.7 kB / 0.62 GB, free: 15.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5143, allocations: 216.4 kB / 0.6202 GB, free: 14.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.5143, allocations: 63.09 kB / 0.6203 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/0.5143, allocations: 0 / 0.6203 GB, free: 14.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5145, allocations: 354.8 kB / 0.6206 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.5146, allocations: 67.95 kB / 0.6207 GB, free: 14.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.5147, allocations: 75.95 kB / 0.6207 GB, free: 14.38 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.515, allocations: 160.7 kB / 0.6209 GB, free: 14.22 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.515, allocations: 0 / 0.6209 GB, free: 14.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003832/0.5154, allocations: 248.6 kB / 0.6211 GB, free: 13.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5154, allocations: 7.938 kB / 0.6211 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5154, allocations: 0 / 0.6211 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5154, allocations: 0 / 0.6211 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.5156, allocations: 39.97 kB / 0.6212 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.5156, allocations: 0 / 0.6212 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.5157, allocations: 16 kB / 0.6212 GB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.5157, allocations: 4 kB / 0.6212 GB, free: 13.91 MB / 442.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.000169/0.5159, allocations: 185.7 kB / 0.6214 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.516, allocations: 47.38 kB / 0.6214 GB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004939/0.5165, allocations: 289.7 kB / 0.6217 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5165, allocations: 4 kB / 0.6217 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5165, allocations: 0 / 0.6217 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5165, allocations: 0 / 0.6217 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009545/0.5175, allocations: 0.7557 MB / 0.6224 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5175, allocations: 0 / 0.6224 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.5176, allocations: 39.92 kB / 0.6225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5176, allocations: 0 / 0.6225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.5176, allocations: 15.92 kB / 0.6225 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5176, allocations: 0 / 0.6225 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5176, allocations: 0 / 0.6225 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.5181, allocations: 349.7 kB / 0.6228 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5182, allocations: 144.6 kB / 0.623 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.5183, allocations: 4 kB / 0.623 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5184, allocations: 12 kB / 0.623 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.5185, allocations: 15.89 kB / 0.623 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.5185, allocations: 11.92 kB / 0.623 GB, free: 11.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004728/0.519, allocations: 434.8 kB / 0.6234 GB, free: 11.53 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.519, allocations: 0 / 0.6234 GB, free: 11.53 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.5193, allocations: 79.92 kB / 0.6235 GB, free: 11.45 MB / 442.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.001534/0.5208, allocations: 0.691 MB / 0.6242 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003636/0.5212, allocations: 178.8 kB / 0.6243 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5212, allocations: 3.938 kB / 0.6244 GB, free: 10.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.5214, allocations: 95.89 kB / 0.6244 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.5219, allocations: 70.55 kB / 0.6245 GB, free: 10.69 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.5232, allocations: 0.8707 MB / 0.6254 GB, free: 9.785 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.5236, allocations: 0.8301 MB / 0.6262 GB, free: 8.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.5237, allocations: 39.42 kB / 0.6262 GB, free: 8.891 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5237, allocations: 0 / 0.6262 GB, free: 8.891 MB / 442.7 MB Notification: Performance of Templates: time 0.007533/0.5312, allocations: 5.186 MB / 0.6313 GB, free: 3.711 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches