Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 201.2 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.567/1.567, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008182/0.0008183, allocations: 89.34 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4768/0.4768, allocations: 44.83 MB / 394.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003168, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3975, allocations: 62.96 MB / 0.5184 GB, free: 37.59 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5518, allocations: 90.34 MB / 0.6066 GB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/0.5521, allocations: 79.95 kB / 0.6067 GB, free: 14.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.5715, allocations: 5.553 MB / 0.6121 GB, free: 9.344 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5715, allocations: 0 / 0.6121 GB, free: 9.344 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.5715, allocations: 4 kB / 0.6121 GB, free: 9.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007574/0.5723, allocations: 439.3 kB / 0.6126 GB, free: 8.859 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.5724, allocations: 12.81 kB / 0.6126 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.5725, allocations: 12.75 kB / 0.6126 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.5728, allocations: 216.8 kB / 0.6128 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.5729, allocations: 4.375 kB / 0.6128 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.5729, allocations: 12.31 kB / 0.6128 GB, free: 8.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.5732, allocations: 74.16 kB / 0.6129 GB, free: 8.488 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.5732, allocations: 192 / 0.6129 GB, free: 8.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.5732, allocations: 7.938 kB / 0.6129 GB, free: 8.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5732, allocations: 0 / 0.6129 GB, free: 8.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.5734, allocations: 47.97 kB / 0.6129 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006519/0.5741, allocations: 340.6 kB / 0.6133 GB, free: 8.051 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.5744, allocations: 70.53 kB / 0.6133 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.5745, allocations: 32.97 kB / 0.6133 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.5746, allocations: 0 / 0.6133 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.5746, allocations: 34.59 kB / 0.6134 GB, free: 7.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 3.206e-06/0.5746, allocations: 4 kB / 0.6134 GB, free: 7.891 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001923/0.5766, allocations: 485.2 kB / 0.6138 GB, free: 7.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.5766, allocations: 59.41 kB / 0.6139 GB, free: 7.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.5769, allocations: 200.4 kB / 0.6141 GB, free: 7.133 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.5769, allocations: 25.7 kB / 0.6141 GB, free: 7.102 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.577, allocations: 112 kB / 0.6142 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.5771, allocations: 39.45 kB / 0.6143 GB, free: 6.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.5771, allocations: 0 / 0.6143 GB, free: 6.949 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5773, allocations: 326.8 kB / 0.6146 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.5775, allocations: 63.95 kB / 0.6146 GB, free: 6.559 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.5776, allocations: 59.95 kB / 0.6147 GB, free: 6.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.578, allocations: 144.7 kB / 0.6148 GB, free: 6.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.578, allocations: 0 / 0.6148 GB, free: 6.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004706/0.5785, allocations: 181.4 kB / 0.615 GB, free: 6.172 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5785, allocations: 4 kB / 0.615 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5786, allocations: 8.172 kB / 0.615 GB, free: 6.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.5786, allocations: 3.984 kB / 0.615 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.5788, allocations: 35.98 kB / 0.6151 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.5788, allocations: 0 / 0.6151 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.5789, allocations: 19.92 kB / 0.6151 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.5789, allocations: 4 kB / 0.6151 GB, free: 6.098 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 (11): * Single equations (assignments): 11 * 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.0001408/0.579, allocations: 133.8 kB / 0.6152 GB, free: 5.957 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.5791, allocations: 7.906 kB / 0.6152 GB, free: 5.949 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/0.5797, allocations: 205.3 kB / 0.6154 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5797, allocations: 0 / 0.6154 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5797, allocations: 7.938 kB / 0.6154 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5797, allocations: 7.875 kB / 0.6154 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.5807, allocations: 0.5196 MB / 0.6159 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5807, allocations: 0 / 0.6159 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.5808, allocations: 39.84 kB / 0.616 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5809, allocations: 0 / 0.616 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.5809, allocations: 4 kB / 0.616 GB, free: 5.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5809, allocations: 4.062 kB / 0.616 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5809, allocations: 0 / 0.616 GB, free: 5.105 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000524/0.5814, allocations: 285.2 kB / 0.6163 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.5815, allocations: 100.9 kB / 0.6163 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.5816, allocations: 0 / 0.6163 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.5817, allocations: 16 kB / 0.6164 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.893e-05/0.5818, allocations: 15.92 kB / 0.6164 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.5818, allocations: 4 kB / 0.6164 GB, free: 4.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.582, allocations: 156.8 kB / 0.6165 GB, free: 4.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.582, allocations: 0 / 0.6165 GB, free: 4.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004064/0.5824, allocations: 35.94 kB / 0.6166 GB, free: 4.465 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001317/0.5837, allocations: 461.5 kB / 0.617 GB, free: 4.172 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004522/0.5842, allocations: 147.8 kB / 0.6171 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.5842, allocations: 0 / 0.6171 GB, free: 4.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.5844, allocations: 71.84 kB / 0.6172 GB, free: 3.957 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.5849, allocations: 24.94 kB / 0.6172 GB, free: 3.934 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007886/0.5857, allocations: 331.4 kB / 0.6176 GB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.5861, allocations: 0.72 MB / 0.6183 GB, free: 2.832 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.5863, allocations: 32.52 kB / 0.6183 GB, free: 2.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.643e-05/0.5863, allocations: 19.42 kB / 0.6183 GB, free: 2.785 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5863, allocations: 4 kB / 0.6183 GB, free: 2.781 MB / 426.7 MB Notification: Performance of Templates: time 0.005572/0.5919, allocations: 1.623 MB / 0.6199 GB, free: 1.168 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches