Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 102.1 kB / 17.01 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001213, allocations: 193.7 kB / 17.91 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2342/0.2342, allocations: 46.19 MB / 344.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002885, allocations: 8.219 kB / 418.8 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1571, allocations: 63.56 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test14): time 0.002028/0.1592, allocations: 1.361 MB / 483.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1607, allocations: 1.093 MB / 484.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.1608, allocations: 3.938 kB / 484.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.161, allocations: 23.86 kB / 484.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.1612, allocations: 59.81 kB / 484.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1615, allocations: 115.7 kB / 485.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1617, allocations: 67.77 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.678e-05/0.1618, allocations: 11.98 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.994e-05/0.1618, allocations: 23.86 kB / 485.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.162, allocations: 31.41 kB / 485.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.162, allocations: 0 / 485.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1622, allocations: 91.88 kB / 485.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.1622, allocations: 15.92 kB / 485.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.1623, allocations: 37.7 kB / 485.3 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1624, allocations: 99.78 kB / 485.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1624, allocations: 4 kB / 485.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1625, allocations: 0 / 485.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1625, allocations: 0 / 485.4 MB, free: 1.488 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.0004867/0.163, allocations: 407.3 kB / 485.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.163, allocations: 8.031 kB / 485.8 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.163, allocations: 7.906 kB / 485.8 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1632, allocations: 194 kB / 486 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1633, allocations: 8 kB / 486 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1633, allocations: 0 / 486 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.1635, allocations: 79.33 kB / 486.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1635, allocations: 3.938 kB / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1635, allocations: 0 / 486.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.1635, allocations: 4 kB / 486.1 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.1637, allocations: 47.95 kB / 486.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/0.1641, allocations: 292.8 kB / 486.5 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1642, allocations: 50.5 kB / 486.5 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.1643, allocations: 24.94 kB / 486.5 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.1643, allocations: 8.062 kB / 486.5 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1644, allocations: 34.56 kB / 486.6 MB, free: 180 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1644, allocations: 4 kB / 486.6 MB, free: 176 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008071/0.1652, allocations: 241.2 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.1653, allocations: 85.06 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1654, allocations: 144.2 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1655, allocations: 25.7 kB / 487.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.1655, allocations: 100 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.1656, allocations: 23.66 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.1656, allocations: 0 / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1657, allocations: 322.8 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1658, allocations: 47.97 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1659, allocations: 49.69 kB / 487.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.1661, allocations: 40.02 kB / 487.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1661, allocations: 7.984 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002667/0.1663, allocations: 129.5 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1664, allocations: 8 kB / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1664, allocations: 0 / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1664, allocations: 0 / 487.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.1665, allocations: 27.98 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1665, allocations: 0 / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.7e-05/0.1666, allocations: 19.94 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.1666, allocations: 4 kB / 487.8 MB, free: 14.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.31e-05/0.1667, allocations: 114.4 kB / 487.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1668, allocations: 7.906 kB / 487.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/0.1671, allocations: 142.6 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.1671, allocations: 3.984 kB / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1671, allocations: 0 / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1671, allocations: 0 / 488.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.1676, allocations: 418.5 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1677, allocations: 4 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.555e-05/0.1677, allocations: 23.98 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1678, allocations: 0 / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1678, allocations: 12 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1678, allocations: 0 / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1678, allocations: 7.891 kB / 488.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.1681, allocations: 223.4 kB / 488.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.1681, allocations: 85.02 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.1682, allocations: 0 / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.1683, allocations: 23.98 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.1683, allocations: 11.88 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.1683, allocations: 4 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.1684, allocations: 107.3 kB / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1684, allocations: 0 / 489 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1687, allocations: 47.92 kB / 489 MB, free: 13.54 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 (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.001087/0.1698, allocations: 479.2 kB / 489.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.1701, allocations: 95.94 kB / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1701, allocations: 0 / 489.6 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1703, allocations: 55.91 kB / 489.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.1706, allocations: 16.23 kB / 489.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.1711, allocations: 241.2 kB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.1714, allocations: 0.6983 MB / 490.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.09e-05/0.1715, allocations: 11.98 kB / 490.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.1715, allocations: 19.44 kB / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1715, allocations: 0 / 490.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of Templates: time 0.004298/0.1758, allocations: 1.797 MB / 492.4 MB, free: 10.25 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches