Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001226/0.001226, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 76.53 kB / 418.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1406, allocations: 62.45 MB / 480.7 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003643/0.1443, allocations: 1.657 MB / 482.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.1454, allocations: 0.5533 MB / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.1455, allocations: 0 / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005751/0.146, allocations: 455.1 kB / 483.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.1466, allocations: 295.3 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.147, allocations: 131.6 kB / 483.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1473, allocations: 175.6 kB / 483.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1474, allocations: 15.98 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.1476, allocations: 111.8 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002557/0.1478, allocations: 215.6 kB / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1479, allocations: 11.94 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.148, allocations: 31.98 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1481, allocations: 87.67 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.211e-05/0.1482, allocations: 103 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1485, allocations: 255 kB / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1486, allocations: 0 / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1486, allocations: 0 / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1486, allocations: 0 / 484.8 MB, free: 1.207 MB / 350.1 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.0008236/0.1494, allocations: 0.6455 MB / 485.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1495, allocations: 8.031 kB / 485.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.1495, allocations: 48.38 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1498, allocations: 296.1 kB / 485.7 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1499, allocations: 4.375 kB / 485.8 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.1499, allocations: 4.375 kB / 485.8 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1501, allocations: 57.8 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1502, allocations: 4 kB / 485.8 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1502, allocations: 4 kB / 485.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1502, allocations: 4 kB / 485.8 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.1504, allocations: 43.89 kB / 485.9 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.1509, allocations: 376.8 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.151, allocations: 50.56 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.138e-05/0.1511, allocations: 24.94 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.1511, allocations: 11.92 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1512, allocations: 34.55 kB / 486.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1512, allocations: 3.938 kB / 486.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009545/0.1521, allocations: 295.9 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1522, allocations: 55.34 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/0.1531, allocations: 0.8574 MB / 487.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.1531, allocations: 33.7 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.1533, allocations: 212 kB / 487.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.1534, allocations: 23.64 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.1534, allocations: 21.72 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1536, allocations: 370.7 kB / 488.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1537, allocations: 27.98 kB / 488.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1538, allocations: 32.03 kB / 488.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.154, allocations: 76.8 kB / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.154, allocations: 0 / 488.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003052/0.1544, allocations: 153 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1544, allocations: 4 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1544, allocations: 4 kB / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1544, allocations: 0 / 488.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1545, allocations: 15.98 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.1546, allocations: 4 kB / 488.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.1546, allocations: 19.92 kB / 488.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1547, allocations: 4 kB / 488.5 MB, free: 13.19 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.1549, allocations: 213.8 kB / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.1549, allocations: 39.44 kB / 488.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.1553, allocations: 165.4 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1553, allocations: 0 / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1553, allocations: 11.98 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1553, allocations: 3.938 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.156, allocations: 490.4 kB / 489.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.156, allocations: 0 / 489.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/0.1561, allocations: 27.91 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1561, allocations: 0 / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1561, allocations: 7.938 kB / 489.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1561, allocations: 0 / 489.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1561, allocations: 3.938 kB / 489.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.1565, allocations: 239.3 kB / 489.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.1566, allocations: 104.6 kB / 489.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1566, allocations: 11.92 kB / 489.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1567, allocations: 16 kB / 489.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1568, allocations: 3.984 kB / 489.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1568, allocations: 4 kB / 489.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005932/0.1574, allocations: 0.6472 MB / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1574, allocations: 0 / 490.5 MB, free: 11.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1577, allocations: 27.98 kB / 490.5 MB, free: 11.1 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009502/0.1586, allocations: 401.2 kB / 490.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.1589, allocations: 83.92 kB / 491 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.159, allocations: 0 / 491 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.1591, allocations: 39.91 kB / 491 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1595, allocations: 29.33 kB / 491.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1607, allocations: 0.8557 MB / 491.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.1612, allocations: 0.826 MB / 492.7 MB, free: 8.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.1612, allocations: 15.44 kB / 492.8 MB, free: 8.934 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1612, allocations: 3.938 kB / 492.8 MB, free: 8.93 MB / 366.1 MB Notification: Performance of Templates: time 0.007576/0.1688, allocations: 3.831 MB / 496.6 MB, free: 5.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches