Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 198.3 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.5 MB / 244.1 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007867/0.0007866, allocations: 105.7 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.3425/0.3425, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002987, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3753, allocations: 62.95 MB / 0.5165 GB, free: 37.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.5008, allocations: 90.29 MB / 0.6046 GB, free: 15.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5011, allocations: 75.97 kB / 0.6047 GB, free: 15.03 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02063/0.5218, allocations: 8.802 MB / 0.6133 GB, free: 6.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5218, allocations: 0 / 0.6133 GB, free: 6.207 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.5218, allocations: 4 kB / 0.6133 GB, free: 6.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008053/0.5227, allocations: 0.6419 MB / 0.6139 GB, free: 5.508 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.5227, allocations: 12.03 kB / 0.6139 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.5228, allocations: 44.38 kB / 0.614 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.5234, allocations: 375.9 kB / 0.6143 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5234, allocations: 384 / 0.6143 GB, free: 5.047 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.5234, allocations: 4.375 kB / 0.6144 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.5236, allocations: 58.23 kB / 0.6144 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5236, allocations: 192 / 0.6144 GB, free: 4.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5237, allocations: 3.938 kB / 0.6144 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.5237, allocations: 0 / 0.6144 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.5238, allocations: 39.97 kB / 0.6144 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007493/0.5245, allocations: 452.6 kB / 0.6149 GB, free: 4.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.5248, allocations: 46.56 kB / 0.6149 GB, free: 4.391 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.333e-05/0.5248, allocations: 24.92 kB / 0.6149 GB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.5249, allocations: 0 / 0.6149 GB, free: 4.363 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5249, allocations: 38.56 kB / 0.615 GB, free: 4.316 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.5249, allocations: 3.938 kB / 0.615 GB, free: 4.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006862/0.5256, allocations: 243.9 kB / 0.6152 GB, free: 4.066 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.5257, allocations: 63.39 kB / 0.6153 GB, free: 3.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.527, allocations: 0.8541 MB / 0.6161 GB, free: 3.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.527, allocations: 29.7 kB / 0.6161 GB, free: 3.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.5272, allocations: 232.1 kB / 0.6164 GB, free: 2.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.5272, allocations: 15.72 kB / 0.6164 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5272, allocations: 4 kB / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5274, allocations: 362.7 kB / 0.6167 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.745e-05/0.5275, allocations: 23.98 kB / 0.6168 GB, free: 2.457 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.5276, allocations: 23.98 kB / 0.6168 GB, free: 2.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.5277, allocations: 61.02 kB / 0.6168 GB, free: 2.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.5277, allocations: 4 kB / 0.6168 GB, free: 2.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002492/0.528, allocations: 133.2 kB / 0.617 GB, free: 2.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.528, allocations: 7.938 kB / 0.617 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.528, allocations: 0 / 0.617 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5281, allocations: 3.938 kB / 0.617 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.5281, allocations: 12 kB / 0.617 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.639e-06/0.5281, allocations: 3.984 kB / 0.617 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.5282, allocations: 15.94 kB / 0.617 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.5282, allocations: 0 / 0.617 GB, free: 2.188 MB / 426.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.0002112/0.5285, allocations: 222.8 kB / 0.6172 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.5286, allocations: 47.44 kB / 0.6173 GB, free: 1.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.5289, allocations: 149.2 kB / 0.6174 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5289, allocations: 0 / 0.6174 GB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5289, allocations: 4 kB / 0.6174 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5289, allocations: 3.938 kB / 0.6174 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008213/0.5297, allocations: 0.5998 MB / 0.618 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5297, allocations: 0 / 0.618 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.5298, allocations: 15.98 kB / 0.618 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.5298, allocations: 8 kB / 0.618 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.5298, allocations: 0 / 0.618 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5298, allocations: 0 / 0.618 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5298, allocations: 3.938 kB / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.5301, allocations: 227.2 kB / 0.6182 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.5303, allocations: 164.5 kB / 0.6184 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/0.5303, allocations: 4 kB / 0.6184 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.5304, allocations: 8 kB / 0.6184 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.5305, allocations: 7.922 kB / 0.6184 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.5305, allocations: 4 kB / 0.6184 GB, free: 0.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00071/0.5312, allocations: 0.6434 MB / 0.6191 GB, free: 15.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5312, allocations: 0 / 0.6191 GB, free: 15.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.5315, allocations: 63.98 kB / 0.6191 GB, free: 15.92 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 (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.0008892/0.5324, allocations: 407 kB / 0.6195 GB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.5326, allocations: 63.91 kB / 0.6196 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5327, allocations: 0 / 0.6196 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.5327, allocations: 31.98 kB / 0.6196 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.5332, allocations: 28.48 kB / 0.6196 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.5345, allocations: 0.9682 MB / 0.6206 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.5349, allocations: 0.8302 MB / 0.6214 GB, free: 13.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.535, allocations: 23.69 kB / 0.6214 GB, free: 13.67 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.535, allocations: 0 / 0.6214 GB, free: 13.67 MB / 442.7 MB Notification: Performance of Templates: time 0.007883/0.5429, allocations: 4.353 MB / 0.6256 GB, free: 9.301 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches