Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 201.5 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.358/1.358, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009021/0.0009021, allocations: 98.98 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4103/0.4103, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.4432, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1246/0.5679, allocations: 89.88 MB / 0.6062 GB, free: 15.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5682, allocations: 79.94 kB / 0.6063 GB, free: 15.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01955/0.5877, allocations: 5.603 MB / 0.6117 GB, free: 9.742 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5878, allocations: 0 / 0.6117 GB, free: 9.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.5878, allocations: 0 / 0.6117 GB, free: 9.742 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.0007783/0.5886, allocations: 447.3 kB / 0.6122 GB, free: 9.254 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.5887, allocations: 8.875 kB / 0.6122 GB, free: 9.246 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.5887, allocations: 16.75 kB / 0.6122 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.5891, allocations: 225.7 kB / 0.6124 GB, free: 8.973 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.5891, allocations: 4.375 kB / 0.6124 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.5892, allocations: 4.375 kB / 0.6124 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.5894, allocations: 66.22 kB / 0.6125 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.5894, allocations: 4.188 kB / 0.6125 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.5895, allocations: 3.938 kB / 0.6125 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.5895, allocations: 0 / 0.6125 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.5897, allocations: 51.91 kB / 0.6125 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005403/0.5902, allocations: 316.7 kB / 0.6128 GB, free: 8.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.5905, allocations: 66.58 kB / 0.6129 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.5907, allocations: 28.97 kB / 0.6129 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.5907, allocations: 0 / 0.6129 GB, free: 8.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.5907, allocations: 34.56 kB / 0.613 GB, free: 8.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.5907, allocations: 4 kB / 0.613 GB, free: 8.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.002026/0.5928, allocations: 460.8 kB / 0.6134 GB, free: 7.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.5928, allocations: 55.41 kB / 0.6135 GB, free: 7.801 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.5932, allocations: 219.3 kB / 0.6137 GB, free: 7.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.5932, allocations: 29.7 kB / 0.6137 GB, free: 7.543 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.5933, allocations: 116 kB / 0.6138 GB, free: 7.426 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.5934, allocations: 39.45 kB / 0.6138 GB, free: 7.387 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.5934, allocations: 0 / 0.6138 GB, free: 7.387 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.5936, allocations: 326.8 kB / 0.6141 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.5938, allocations: 55.97 kB / 0.6142 GB, free: 7.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.5939, allocations: 47.97 kB / 0.6142 GB, free: 6.957 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.5943, allocations: 118 kB / 0.6144 GB, free: 6.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5943, allocations: 0 / 0.6144 GB, free: 6.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000502/0.5949, allocations: 163.2 kB / 0.6145 GB, free: 6.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5949, allocations: 4 kB / 0.6145 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.5949, allocations: 0.5625 kB / 0.6145 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5949, allocations: 4 kB / 0.6145 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.5951, allocations: 35.92 kB / 0.6146 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.5951, allocations: 0 / 0.6146 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.5953, allocations: 23.92 kB / 0.6146 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.5953, allocations: 7.984 kB / 0.6146 GB, free: 6.602 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.0001435/0.5955, allocations: 133.8 kB / 0.6147 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.536e-05/0.5955, allocations: 15.81 kB / 0.6147 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005577/0.5961, allocations: 179 kB / 0.6149 GB, free: 6.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.5961, allocations: 4 kB / 0.6149 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5961, allocations: 0 / 0.6149 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5962, allocations: 7.938 kB / 0.6149 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.5972, allocations: 0.4922 MB / 0.6154 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5972, allocations: 0 / 0.6154 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.5974, allocations: 31.92 kB / 0.6154 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.5974, allocations: 0 / 0.6154 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5974, allocations: 12.06 kB / 0.6154 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.5974, allocations: 0 / 0.6154 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5975, allocations: 0 / 0.6154 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005233/0.598, allocations: 269 kB / 0.6157 GB, free: 5.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.5981, allocations: 104.8 kB / 0.6158 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.5981, allocations: 7.984 kB / 0.6158 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.5983, allocations: 19.98 kB / 0.6158 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.5984, allocations: 11.98 kB / 0.6158 GB, free: 5.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.5984, allocations: 4 kB / 0.6158 GB, free: 5.211 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002167/0.5986, allocations: 155.2 kB / 0.616 GB, free: 5.059 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5986, allocations: 0 / 0.616 GB, free: 5.059 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.5991, allocations: 44.02 kB / 0.616 GB, free: 5.016 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.001483/0.6006, allocations: 460.2 kB / 0.6165 GB, free: 4.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004556/0.6011, allocations: 115.9 kB / 0.6166 GB, free: 4.605 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.6011, allocations: 0 / 0.6166 GB, free: 4.605 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.6013, allocations: 71.84 kB / 0.6166 GB, free: 4.535 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.6019, allocations: 28.05 kB / 0.6167 GB, free: 4.508 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008146/0.6027, allocations: 323.8 kB / 0.617 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.6031, allocations: 0.716 MB / 0.6177 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001583/0.6033, allocations: 28.52 kB / 0.6177 GB, free: 3.383 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.6033, allocations: 19.44 kB / 0.6177 GB, free: 3.367 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6034, allocations: 0 / 0.6177 GB, free: 3.367 MB / 426.7 MB Notification: Performance of Templates: time 0.004839/0.6082, allocations: 1.59 MB / 0.6193 GB, free: 1.785 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches