Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 195 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.374/1.374, allocations: 226.5 MB / 244.1 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007725/0.0007726, allocations: 101.4 kB / 296.1 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.3519/0.3519, allocations: 44.83 MB / 393 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002761, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3289, allocations: 62.96 MB / 0.5165 GB, free: 37.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4438, allocations: 89.77 MB / 0.6041 GB, free: 15.64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4441, allocations: 75.94 kB / 0.6042 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0191/0.4632, allocations: 8.755 MB / 0.6128 GB, free: 6.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4632, allocations: 3.938 kB / 0.6128 GB, free: 6.785 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.4633, allocations: 8 kB / 0.6128 GB, free: 6.777 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007392/0.464, allocations: 0.6574 MB / 0.6134 GB, free: 6.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4641, allocations: 8.031 kB / 0.6134 GB, free: 6.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.4642, allocations: 44.38 kB / 0.6135 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.4646, allocations: 356 kB / 0.6138 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4646, allocations: 8.375 kB / 0.6138 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.4647, allocations: 384 / 0.6138 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.4648, allocations: 66.22 kB / 0.6139 GB, free: 5.551 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.4648, allocations: 192 / 0.6139 GB, free: 5.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4649, allocations: 11.88 kB / 0.6139 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4649, allocations: 0 / 0.6139 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.465, allocations: 43.97 kB / 0.6139 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.4656, allocations: 436.7 kB / 0.6143 GB, free: 5.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4657, allocations: 54.48 kB / 0.6144 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.4658, allocations: 32.88 kB / 0.6144 GB, free: 4.922 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.4658, allocations: 0 / 0.6144 GB, free: 4.922 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4658, allocations: 34.56 kB / 0.6145 GB, free: 4.879 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.4659, allocations: 0 / 0.6145 GB, free: 4.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008199/0.4667, allocations: 323.7 kB / 0.6148 GB, free: 4.555 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.4667, allocations: 59.41 kB / 0.6148 GB, free: 4.484 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4679, allocations: 0.8503 MB / 0.6157 GB, free: 3.625 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.468, allocations: 25.7 kB / 0.6157 GB, free: 3.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.4681, allocations: 216.2 kB / 0.6159 GB, free: 3.379 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.631e-05/0.4682, allocations: 27.64 kB / 0.6159 GB, free: 3.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.4682, allocations: 0 / 0.6159 GB, free: 3.352 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4683, allocations: 366.7 kB / 0.6163 GB, free: 2.984 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.4684, allocations: 39.97 kB / 0.6163 GB, free: 2.945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.4686, allocations: 43.97 kB / 0.6163 GB, free: 2.902 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.4688, allocations: 84.81 kB / 0.6164 GB, free: 2.816 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4688, allocations: 0 / 0.6164 GB, free: 2.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003134/0.4691, allocations: 169 kB / 0.6166 GB, free: 2.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4691, allocations: 4 kB / 0.6166 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4692, allocations: 0 / 0.6166 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.4692, allocations: 0 / 0.6166 GB, free: 2.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4693, allocations: 31.97 kB / 0.6166 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.4693, allocations: 0 / 0.6166 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.4694, allocations: 8 kB / 0.6166 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4694, allocations: 7.984 kB / 0.6166 GB, free: 2.594 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 (7): * Single equations (assignments): 7 * 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.0001837/0.4696, allocations: 213.7 kB / 0.6168 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.4697, allocations: 43.44 kB / 0.6169 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.4701, allocations: 189.5 kB / 0.6171 GB, free: 2.141 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4701, allocations: 7.938 kB / 0.6171 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4701, allocations: 4 kB / 0.6171 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.4701, allocations: 0 / 0.6171 GB, free: 2.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008317/0.4709, allocations: 0.6427 MB / 0.6177 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4709, allocations: 288 / 0.6177 GB, free: 1.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.324e-05/0.471, allocations: 19.98 kB / 0.6177 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.471, allocations: 4 kB / 0.6177 GB, free: 1.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.4711, allocations: 3.938 kB / 0.6177 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4711, allocations: 0 / 0.6177 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4711, allocations: 4.406 kB / 0.6177 GB, free: 1.398 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.4714, allocations: 268.1 kB / 0.618 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4716, allocations: 164.5 kB / 0.6181 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.4716, allocations: 4 kB / 0.6181 GB, free: 0.9375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4718, allocations: 11.98 kB / 0.6182 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.4718, allocations: 15.92 kB / 0.6182 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4718, allocations: 0 / 0.6182 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006748/0.4725, allocations: 0.6432 MB / 0.6188 GB, free: 276 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4725, allocations: 0 / 0.6188 GB, free: 276 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.4728, allocations: 67.92 kB / 0.6189 GB, free: 208 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0008287/0.4737, allocations: 398.5 kB / 0.6192 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.474, allocations: 95.88 kB / 0.6193 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.474, allocations: 0 / 0.6193 GB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.4741, allocations: 51.91 kB / 0.6194 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4745, allocations: 31.25 kB / 0.6194 GB, free: 15.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.4757, allocations: 0.9797 MB / 0.6204 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.4761, allocations: 0.8262 MB / 0.6212 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.4762, allocations: 19.69 kB / 0.6212 GB, free: 13.88 MB / 442.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4762, allocations: 0 / 0.6212 GB, free: 13.88 MB / 442.7 MB Notification: Performance of Templates: time 0.007533/0.4838, allocations: 4.408 MB / 0.6255 GB, free: 9.461 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches