Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009836/0.0009836, allocations: 195.7 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.5 MB / 245.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008124/0.0008122, allocations: 101 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3782/0.3782, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 8.219 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3901, allocations: 62.96 MB / 0.5184 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.5206, allocations: 90.33 MB / 0.6066 GB, free: 14.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.5209, allocations: 83.94 kB / 0.6067 GB, free: 14.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01489/0.5358, allocations: 5.443 MB / 0.612 GB, free: 9.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5359, allocations: 0 / 0.612 GB, free: 9.434 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.5359, allocations: 7.938 kB / 0.612 GB, free: 9.426 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.0006032/0.5365, allocations: 443.2 kB / 0.6125 GB, free: 8.941 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.5365, allocations: 8.875 kB / 0.6125 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.5366, allocations: 8.844 kB / 0.6125 GB, free: 8.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.5369, allocations: 220 kB / 0.6127 GB, free: 8.672 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5369, allocations: 4.375 kB / 0.6127 GB, free: 8.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.537, allocations: 8.375 kB / 0.6127 GB, free: 8.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5371, allocations: 78.11 kB / 0.6128 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5372, allocations: 192 / 0.6128 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5372, allocations: 3.938 kB / 0.6128 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5372, allocations: 0 / 0.6128 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.5374, allocations: 51.95 kB / 0.6128 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000503/0.5379, allocations: 336.6 kB / 0.6132 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.5381, allocations: 66.58 kB / 0.6132 GB, free: 8.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.281e-05/0.5382, allocations: 28.97 kB / 0.6132 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.5383, allocations: 0 / 0.6132 GB, free: 8.039 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.5383, allocations: 42.55 kB / 0.6133 GB, free: 7.988 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.5383, allocations: 0 / 0.6133 GB, free: 7.988 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001462/0.5398, allocations: 492.2 kB / 0.6138 GB, free: 7.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5398, allocations: 51.41 kB / 0.6138 GB, free: 7.441 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.5401, allocations: 184.1 kB / 0.614 GB, free: 7.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.5401, allocations: 33.64 kB / 0.614 GB, free: 7.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.5402, allocations: 108 kB / 0.6141 GB, free: 7.105 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/0.5402, allocations: 39.44 kB / 0.6141 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-06/0.5402, allocations: 4 kB / 0.6142 GB, free: 7.062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5404, allocations: 322.8 kB / 0.6145 GB, free: 6.738 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.5405, allocations: 63.95 kB / 0.6145 GB, free: 6.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.5407, allocations: 63.95 kB / 0.6146 GB, free: 6.613 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.541, allocations: 136.8 kB / 0.6147 GB, free: 6.477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.541, allocations: 0 / 0.6147 GB, free: 6.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003403/0.5413, allocations: 181.4 kB / 0.6149 GB, free: 6.293 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5414, allocations: 8 kB / 0.6149 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5414, allocations: 0 / 0.6149 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.5414, allocations: 0 / 0.6149 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.5415, allocations: 35.97 kB / 0.6149 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.5415, allocations: 4 kB / 0.6149 GB, free: 6.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.5416, allocations: 15.94 kB / 0.6149 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.5416, allocations: 0.5625 kB / 0.6149 GB, free: 6.23 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.0001135/0.5417, allocations: 129.8 kB / 0.6151 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.5418, allocations: 11.81 kB / 0.6151 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.5422, allocations: 210.2 kB / 0.6153 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.5422, allocations: 3.984 kB / 0.6153 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5423, allocations: 3.938 kB / 0.6153 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5423, allocations: 3.938 kB / 0.6153 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.543, allocations: 0.5234 MB / 0.6158 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.543, allocations: 0 / 0.6158 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.5431, allocations: 31.92 kB / 0.6158 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.5431, allocations: 4 kB / 0.6158 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5432, allocations: 4 kB / 0.6158 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5432, allocations: 0 / 0.6158 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5432, allocations: 4 kB / 0.6158 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.5436, allocations: 291.6 kB / 0.6161 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.5437, allocations: 96.94 kB / 0.6162 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.5437, allocations: 4 kB / 0.6162 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/0.5438, allocations: 15.98 kB / 0.6162 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.5438, allocations: 7.984 kB / 0.6162 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.5439, allocations: 7.938 kB / 0.6163 GB, free: 4.777 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000115/0.544, allocations: 148 kB / 0.6164 GB, free: 4.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.544, allocations: 0 / 0.6164 GB, free: 4.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.5443, allocations: 35.94 kB / 0.6164 GB, free: 4.598 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.001141/0.5454, allocations: 463.7 kB / 0.6169 GB, free: 4.297 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.5458, allocations: 143.8 kB / 0.617 GB, free: 4.156 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5458, allocations: 3.938 kB / 0.617 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.546, allocations: 75.91 kB / 0.6171 GB, free: 4.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.5463, allocations: 22.11 kB / 0.6171 GB, free: 4.059 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.5469, allocations: 323.4 kB / 0.6174 GB, free: 3.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.5472, allocations: 0.716 MB / 0.6181 GB, free: 2.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.959e-05/0.5473, allocations: 28.53 kB / 0.6181 GB, free: 2.938 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.5474, allocations: 15.44 kB / 0.6182 GB, free: 2.922 MB / 426.7 MB Notification: Performance of SimCode: time 4e-07/0.5474, allocations: 0 / 0.6182 GB, free: 2.922 MB / 426.7 MB Notification: Performance of Templates: time 0.003997/0.5514, allocations: 1.601 MB / 0.6197 GB, free: 1.324 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches