Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,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_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001018/0.001018, allocations: 197.5 kB / 16.78 MB, free: 5.031 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 226.5 MB / 244.1 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000951/0.000951, allocations: 99.16 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.31/0.31, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002451/0.0002451, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3888, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5223, allocations: 90.34 MB / 0.6047 GB, free: 15.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.5226, allocations: 71.97 kB / 0.6048 GB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02116/0.5437, allocations: 9.384 MB / 0.6139 GB, free: 5.57 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5438, allocations: 7.938 kB / 0.6139 GB, free: 5.562 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.075e-05/0.5438, allocations: 4 kB / 0.6139 GB, free: 5.559 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.0008245/0.5446, allocations: 0.6652 MB / 0.6146 GB, free: 4.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5447, allocations: 8.875 kB / 0.6146 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.33e-05/0.5448, allocations: 44.38 kB / 0.6146 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.5453, allocations: 364 kB / 0.615 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.5453, allocations: 4.375 kB / 0.615 GB, free: 4.391 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.5453, allocations: 4.375 kB / 0.615 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.5455, allocations: 66.23 kB / 0.6151 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5455, allocations: 4.188 kB / 0.6151 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.5456, allocations: 7.938 kB / 0.6151 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5456, allocations: 0 / 0.6151 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.5457, allocations: 55.88 kB / 0.6151 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.5464, allocations: 476.5 kB / 0.6156 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.5467, allocations: 66.58 kB / 0.6156 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.5468, allocations: 36.97 kB / 0.6157 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.5468, allocations: 3.984 kB / 0.6157 GB, free: 3.617 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5468, allocations: 30.56 kB / 0.6157 GB, free: 3.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.5468, allocations: 0 / 0.6157 GB, free: 3.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001586/0.5484, allocations: 0.5508 MB / 0.6162 GB, free: 3.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.5485, allocations: 59.34 kB / 0.6163 GB, free: 2.949 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.5498, allocations: 0.8619 MB / 0.6171 GB, free: 2.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5499, allocations: 33.7 kB / 0.6172 GB, free: 2.039 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.55, allocations: 219.9 kB / 0.6174 GB, free: 1.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.5501, allocations: 35.45 kB / 0.6174 GB, free: 1.785 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.5501, allocations: 4 kB / 0.6174 GB, free: 1.781 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5503, allocations: 370.7 kB / 0.6178 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.5504, allocations: 59.97 kB / 0.6178 GB, free: 1.352 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.5506, allocations: 59.95 kB / 0.6179 GB, free: 1.293 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.5509, allocations: 143.6 kB / 0.618 GB, free: 1.152 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5509, allocations: 0 / 0.618 GB, free: 1.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003951/0.5513, allocations: 217 kB / 0.6182 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.5513, allocations: 6.656 kB / 0.6182 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5513, allocations: 0 / 0.6182 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.5513, allocations: 4 kB / 0.6182 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.5515, allocations: 36.05 kB / 0.6183 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5515, allocations: 0 / 0.6183 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.891e-05/0.5516, allocations: 19.92 kB / 0.6183 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.5516, allocations: 8 kB / 0.6183 GB, free: 0.8633 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.00022/0.5518, allocations: 217.8 kB / 0.6185 GB, free: 0.6406 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.5519, allocations: 43.44 kB / 0.6186 GB, free: 0.5977 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.5524, allocations: 249.4 kB / 0.6188 GB, free: 356 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5524, allocations: 4 kB / 0.6188 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.5524, allocations: 0 / 0.6188 GB, free: 352 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5524, allocations: 3.938 kB / 0.6188 GB, free: 348 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.5535, allocations: 0.7459 MB / 0.6195 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5535, allocations: 0 / 0.6195 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.5536, allocations: 35.91 kB / 0.6196 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5536, allocations: 4 kB / 0.6196 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5537, allocations: 4 kB / 0.6196 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5537, allocations: 4 kB / 0.6196 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5537, allocations: 0 / 0.6196 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.5541, allocations: 323.8 kB / 0.6199 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.5543, allocations: 164.5 kB / 0.62 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.5544, allocations: 8 kB / 0.62 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5545, allocations: 20.02 kB / 0.6201 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.5545, allocations: 11.92 kB / 0.6201 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.5546, allocations: 8 kB / 0.6201 GB, free: 14.92 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000709/0.5553, allocations: 0.6433 MB / 0.6207 GB, free: 14.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5553, allocations: 0 / 0.6207 GB, free: 14.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.5556, allocations: 71.92 kB / 0.6208 GB, free: 14.21 MB / 442.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.001021/0.5567, allocations: 460.9 kB / 0.6212 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000343/0.557, allocations: 143.8 kB / 0.6214 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.557, allocations: 4 kB / 0.6214 GB, free: 13.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.5572, allocations: 75.89 kB / 0.6214 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.5576, allocations: 37.33 kB / 0.6215 GB, free: 13.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.559, allocations: 1.048 MB / 0.6225 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.5595, allocations: 0.8419 MB / 0.6233 GB, free: 11.71 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.5596, allocations: 23.69 kB / 0.6233 GB, free: 11.69 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5596, allocations: 0 / 0.6233 GB, free: 11.69 MB / 442.7 MB Notification: Performance of Templates: time 0.008153/0.5677, allocations: 4.81 MB / 0.628 GB, free: 6.867 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches