Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008379/0.0008381, allocations: 95.19 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3718/0.3718, allocations: 44.83 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004201, allocations: 8 kB / 467.9 MB, free: 12.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4152, allocations: 62.96 MB / 0.5184 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.5415, allocations: 90.33 MB / 0.6066 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.5417, allocations: 79.94 kB / 0.6067 GB, free: 14.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01566/0.5574, allocations: 5.458 MB / 0.612 GB, free: 9.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.5574, allocations: 4 kB / 0.612 GB, free: 9.441 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.563e-05/0.5575, allocations: 3.938 kB / 0.612 GB, free: 9.438 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.0006263/0.5581, allocations: 439.3 kB / 0.6125 GB, free: 8.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.5582, allocations: 12.88 kB / 0.6125 GB, free: 8.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.5582, allocations: 8.844 kB / 0.6125 GB, free: 8.938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.5585, allocations: 212 kB / 0.6127 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.5585, allocations: 8.375 kB / 0.6127 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.5586, allocations: 4.375 kB / 0.6127 GB, free: 8.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.5588, allocations: 70.16 kB / 0.6128 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.5588, allocations: 8.125 kB / 0.6128 GB, free: 8.598 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.5589, allocations: 7.938 kB / 0.6128 GB, free: 8.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5589, allocations: 8 kB / 0.6128 GB, free: 8.582 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.559, allocations: 43.97 kB / 0.6128 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.5597, allocations: 340.6 kB / 0.6132 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.56, allocations: 66.58 kB / 0.6132 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.5601, allocations: 32.97 kB / 0.6133 GB, free: 8.047 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.5601, allocations: 4 kB / 0.6133 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5602, allocations: 30.56 kB / 0.6133 GB, free: 8.004 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.034e-06/0.5602, allocations: 0 / 0.6133 GB, free: 8.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001618/0.5618, allocations: 484.9 kB / 0.6137 GB, free: 7.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.5619, allocations: 59.34 kB / 0.6138 GB, free: 7.453 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.5621, allocations: 184.1 kB / 0.614 GB, free: 7.266 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.5622, allocations: 29.64 kB / 0.614 GB, free: 7.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.5622, allocations: 108 kB / 0.6141 GB, free: 7.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.5623, allocations: 43.45 kB / 0.6142 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.5623, allocations: 0 / 0.6142 GB, free: 7.078 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5625, allocations: 326.8 kB / 0.6145 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.5626, allocations: 59.97 kB / 0.6145 GB, free: 6.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.5628, allocations: 65.81 kB / 0.6146 GB, free: 6.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.5631, allocations: 136.8 kB / 0.6147 GB, free: 6.492 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5631, allocations: 4 kB / 0.6147 GB, free: 6.488 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000367/0.5635, allocations: 174.6 kB / 0.6149 GB, free: 6.312 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5635, allocations: 15.92 kB / 0.6149 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5635, allocations: 4 kB / 0.6149 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5635, allocations: 0 / 0.6149 GB, free: 6.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.5637, allocations: 27.98 kB / 0.6149 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5637, allocations: 0 / 0.6149 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.359e-05/0.5638, allocations: 15.92 kB / 0.6149 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.5638, allocations: 4 kB / 0.615 GB, free: 6.246 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.0001104/0.5639, allocations: 133.8 kB / 0.6151 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.5639, allocations: 11.81 kB / 0.6151 GB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004265/0.5644, allocations: 202.2 kB / 0.6153 GB, free: 5.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5644, allocations: 4.562 kB / 0.6153 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5644, allocations: 3.938 kB / 0.6153 GB, free: 5.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.5644, allocations: 3.938 kB / 0.6153 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008413/0.5653, allocations: 0.5195 MB / 0.6158 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.5653, allocations: 4 kB / 0.6158 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5654, allocations: 43.95 kB / 0.6158 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.5654, allocations: 0 / 0.6158 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.5654, allocations: 8 kB / 0.6159 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5654, allocations: 0 / 0.6159 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5654, allocations: 0 / 0.6159 GB, free: 5.242 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.5659, allocations: 289.6 kB / 0.6161 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.5659, allocations: 88.95 kB / 0.6162 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.566, allocations: 8 kB / 0.6162 GB, free: 4.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.771e-05/0.5661, allocations: 15.98 kB / 0.6162 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.5661, allocations: 15.98 kB / 0.6163 GB, free: 4.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.5662, allocations: 3.938 kB / 0.6163 GB, free: 4.789 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.5663, allocations: 144 kB / 0.6164 GB, free: 4.648 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5663, allocations: 0 / 0.6164 GB, free: 4.648 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000288/0.5666, allocations: 35.94 kB / 0.6164 GB, free: 4.613 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.001035/0.5676, allocations: 466 kB / 0.6169 GB, free: 4.309 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.568, allocations: 147.8 kB / 0.617 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.568, allocations: 3.938 kB / 0.617 GB, free: 4.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.5682, allocations: 80.02 kB / 0.6171 GB, free: 4.082 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5685, allocations: 27.89 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.0006477/0.5692, allocations: 315.3 kB / 0.6174 GB, free: 3.715 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.5696, allocations: 0.7121 MB / 0.6181 GB, free: 2.977 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.5697, allocations: 36.53 kB / 0.6182 GB, free: 2.941 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.5697, allocations: 15.42 kB / 0.6182 GB, free: 2.926 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5698, allocations: 4 kB / 0.6182 GB, free: 2.922 MB / 426.7 MB Notification: Performance of Templates: time 0.004442/0.5742, allocations: 1.595 MB / 0.6197 GB, free: 1.332 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches