Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001484, allocations: 199 kB / 16.78 MB, free: 4.879 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007926/0.000793, allocations: 91.67 kB / 296.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3888/0.3888, allocations: 44.83 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.000307, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3676, allocations: 62.96 MB / 0.5165 GB, free: 37.1 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.498, allocations: 90.27 MB / 0.6046 GB, free: 15.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4982, allocations: 75.95 kB / 0.6047 GB, free: 15.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01945/0.5177, allocations: 8.806 MB / 0.6133 GB, free: 6.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5177, allocations: 0 / 0.6133 GB, free: 6.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.039e-05/0.5178, allocations: 8 kB / 0.6133 GB, free: 6.188 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.0007124/0.5185, allocations: 0.6341 MB / 0.6139 GB, free: 5.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5185, allocations: 12.03 kB / 0.6139 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.746e-05/0.5186, allocations: 44.38 kB / 0.614 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.5191, allocations: 371.9 kB / 0.6143 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-06/0.5191, allocations: 384 / 0.6143 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.5191, allocations: 12.36 kB / 0.6144 GB, free: 5.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.5193, allocations: 54.25 kB / 0.6144 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.5193, allocations: 192 / 0.6144 GB, free: 4.973 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5193, allocations: 7.938 kB / 0.6144 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.5193, allocations: 0 / 0.6144 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.5194, allocations: 31.97 kB / 0.6144 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.52, allocations: 460.6 kB / 0.6149 GB, free: 4.434 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.5202, allocations: 42.56 kB / 0.6149 GB, free: 4.383 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.5203, allocations: 20.94 kB / 0.6149 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.5203, allocations: 0 / 0.6149 GB, free: 4.359 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.5203, allocations: 38.56 kB / 0.615 GB, free: 4.312 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.5203, allocations: 3.938 kB / 0.615 GB, free: 4.309 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006117/0.521, allocations: 247.9 kB / 0.6152 GB, free: 4.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.521, allocations: 55.41 kB / 0.6153 GB, free: 3.992 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.5222, allocations: 0.8619 MB / 0.6161 GB, free: 3.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.5222, allocations: 25.7 kB / 0.6161 GB, free: 3.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.5224, allocations: 228.1 kB / 0.6164 GB, free: 2.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.5224, allocations: 19.66 kB / 0.6164 GB, free: 2.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-06/0.5224, allocations: 4 kB / 0.6164 GB, free: 2.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5226, allocations: 362.7 kB / 0.6167 GB, free: 2.477 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.5226, allocations: 31.97 kB / 0.6168 GB, free: 2.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.216e-05/0.5227, allocations: 23.98 kB / 0.6168 GB, free: 2.422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.5229, allocations: 60.83 kB / 0.6168 GB, free: 2.359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5229, allocations: 0 / 0.6168 GB, free: 2.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000219/0.5231, allocations: 129.2 kB / 0.617 GB, free: 2.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.5231, allocations: 4 kB / 0.617 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5231, allocations: 0 / 0.617 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.5231, allocations: 3.938 kB / 0.617 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.5232, allocations: 16 kB / 0.617 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.5232, allocations: 3.984 kB / 0.617 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.287e-05/0.5233, allocations: 16.17 kB / 0.617 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5233, allocations: 7.938 kB / 0.617 GB, free: 2.176 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.0001722/0.5235, allocations: 218.9 kB / 0.6172 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.5236, allocations: 43.44 kB / 0.6173 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.5239, allocations: 149.2 kB / 0.6174 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5239, allocations: 4 kB / 0.6174 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5239, allocations: 0 / 0.6174 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.5239, allocations: 3.938 kB / 0.6174 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007475/0.5246, allocations: 0.6076 MB / 0.618 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5247, allocations: 0 / 0.618 GB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.5247, allocations: 11.98 kB / 0.618 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5247, allocations: 4 kB / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.5247, allocations: 0 / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5247, allocations: 0 / 0.618 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5248, allocations: 3.938 kB / 0.618 GB, free: 1.062 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.525, allocations: 231 kB / 0.6182 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.5252, allocations: 160.5 kB / 0.6184 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.5252, allocations: 0 / 0.6184 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.375e-05/0.5253, allocations: 8 kB / 0.6184 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.5254, allocations: 15.92 kB / 0.6184 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.5254, allocations: 4.281 kB / 0.6184 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007011/0.5261, allocations: 0.6434 MB / 0.619 GB, free: 15.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5261, allocations: 0 / 0.619 GB, free: 15.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.5264, allocations: 59.98 kB / 0.6191 GB, free: 15.91 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.0008965/0.5273, allocations: 415.4 kB / 0.6195 GB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.5276, allocations: 67.91 kB / 0.6196 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5276, allocations: 0 / 0.6196 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.5277, allocations: 27.98 kB / 0.6196 GB, free: 15.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.5281, allocations: 29.81 kB / 0.6196 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.5295, allocations: 0.9719 MB / 0.6206 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.5299, allocations: 0.8262 MB / 0.6214 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.53, allocations: 19.69 kB / 0.6214 GB, free: 13.66 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.53, allocations: 0 / 0.6214 GB, free: 13.66 MB / 442.7 MB Notification: Performance of Templates: time 0.008196/0.5382, allocations: 4.354 MB / 0.6256 GB, free: 9.293 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches