Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 226.5 MB / 245.4 MB, free: 8.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008481/0.0008482, allocations: 102.3 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3587/0.3587, allocations: 44.82 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003133, allocations: 11.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.388, allocations: 62.95 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1164/0.5045, allocations: 90.12 MB / 0.6064 GB, free: 15.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.5047, allocations: 79.92 kB / 0.6065 GB, free: 15.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02048/0.5252, allocations: 8.88 MB / 0.6152 GB, free: 6.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.5253, allocations: 0 / 0.6152 GB, free: 6.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.517e-05/0.5254, allocations: 8 kB / 0.6152 GB, free: 6.195 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001031/0.5264, allocations: 0.638 MB / 0.6158 GB, free: 5.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5265, allocations: 8.031 kB / 0.6158 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5266, allocations: 44.38 kB / 0.6158 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/0.5272, allocations: 356.1 kB / 0.6162 GB, free: 5.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5272, allocations: 8.312 kB / 0.6162 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.5272, allocations: 4.359 kB / 0.6162 GB, free: 5.055 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.5274, allocations: 54.25 kB / 0.6163 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5274, allocations: 192 / 0.6163 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5274, allocations: 3.938 kB / 0.6163 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.5275, allocations: 7.938 kB / 0.6163 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.5276, allocations: 23.98 kB / 0.6163 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.5283, allocations: 444.7 kB / 0.6167 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.012e-05/0.5284, allocations: 34.56 kB / 0.6167 GB, free: 4.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.5285, allocations: 28.78 kB / 0.6168 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.5285, allocations: 0 / 0.6168 GB, free: 4.402 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5285, allocations: 30.56 kB / 0.6168 GB, free: 4.363 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5285, allocations: 4 kB / 0.6168 GB, free: 4.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003352/0.5289, allocations: 105.1 kB / 0.6169 GB, free: 4.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.5289, allocations: 51.41 kB / 0.617 GB, free: 4.188 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.5304, allocations: 0.8581 MB / 0.6178 GB, free: 3.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.5304, allocations: 25.7 kB / 0.6178 GB, free: 3.289 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.5306, allocations: 236.1 kB / 0.618 GB, free: 3.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.5306, allocations: 7.906 kB / 0.618 GB, free: 3.047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5307, allocations: 0 / 0.618 GB, free: 3.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.5308, allocations: 362.8 kB / 0.6184 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.5309, allocations: 11.94 kB / 0.6184 GB, free: 2.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.5309, allocations: 11.98 kB / 0.6184 GB, free: 2.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/0.531, allocations: 44.84 kB / 0.6185 GB, free: 2.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.531, allocations: 0 / 0.6185 GB, free: 2.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.5312, allocations: 93.12 kB / 0.6185 GB, free: 2.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5313, allocations: 4 kB / 0.6186 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5313, allocations: 0 / 0.6186 GB, free: 2.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5313, allocations: 4 kB / 0.6186 GB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.5314, allocations: 12.02 kB / 0.6186 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.5314, allocations: 0 / 0.6186 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.5315, allocations: 4 kB / 0.6186 GB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.5315, allocations: 0 / 0.6186 GB, free: 2.492 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 (2): * Single equations (assignments): 2 * 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.0002445/0.5318, allocations: 218.5 kB / 0.6188 GB, free: 2.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.5319, allocations: 39.53 kB / 0.6188 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5321, allocations: 120.2 kB / 0.6189 GB, free: 2.105 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5321, allocations: 7.922 kB / 0.6189 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5321, allocations: 0 / 0.6189 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5322, allocations: 0 / 0.6189 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.5325, allocations: 333.4 kB / 0.6193 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5325, allocations: 0 / 0.6193 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.5326, allocations: 8 kB / 0.6193 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5326, allocations: 0 / 0.6193 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.5326, allocations: 0 / 0.6193 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.5326, allocations: 0 / 0.6193 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5326, allocations: 4 kB / 0.6193 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.5329, allocations: 203 kB / 0.6195 GB, free: 1.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.5331, allocations: 160.5 kB / 0.6196 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.5332, allocations: 0 / 0.6196 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.5333, allocations: 4 kB / 0.6196 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.5333, allocations: 12.02 kB / 0.6196 GB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.5333, allocations: 3.938 kB / 0.6196 GB, free: 1.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008542/0.5342, allocations: 0.6433 MB / 0.6203 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5342, allocations: 0 / 0.6203 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003304/0.5345, allocations: 59.92 kB / 0.6203 GB, free: 0.6016 MB / 426.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 (2): * Single equations (assignments): 2 * 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.0009364/0.5355, allocations: 348.1 kB / 0.6207 GB, free: 388 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.5357, allocations: 35.84 kB / 0.6207 GB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5357, allocations: 0 / 0.6207 GB, free: 352 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.5358, allocations: 12 kB / 0.6207 GB, free: 340 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.5362, allocations: 37.23 kB / 0.6207 GB, free: 308 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.5376, allocations: 0.8881 MB / 0.6216 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.5381, allocations: 0.8262 MB / 0.6224 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.18e-05/0.5382, allocations: 44.22 kB / 0.6225 GB, free: 14.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.5383, allocations: 19.42 kB / 0.6225 GB, free: 14.47 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5383, allocations: 4 kB / 0.6225 GB, free: 14.46 MB / 442.7 MB Notification: Performance of Templates: time 0.006476/0.5448, allocations: 2.295 MB / 0.6247 GB, free: 12.16 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches