Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008916/0.0008918, allocations: 91.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.7 MB / 246.8 MB, free: 11.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.18 MB / 345.2 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003999, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1572, allocations: 63.56 MB / 483.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00231/0.1596, allocations: 1.392 MB / 484.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1607, allocations: 0.5418 MB / 485 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.1608, allocations: 4 kB / 485 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002653/0.161, allocations: 43.81 kB / 485.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002882/0.1613, allocations: 75.8 kB / 485.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1618, allocations: 115.8 kB / 485.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.162, allocations: 71.77 kB / 485.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1621, allocations: 24.23 kB / 485.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.095e-05/0.1622, allocations: 31.78 kB / 485.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.1623, allocations: 35.84 kB / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.1624, allocations: 0 / 485.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1625, allocations: 47.97 kB / 485.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.218e-05/0.1626, allocations: 19.92 kB / 485.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.1626, allocations: 57.5 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1629, allocations: 103.7 kB / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1629, allocations: 0 / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1629, allocations: 4 kB / 485.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.163, allocations: 0 / 485.6 MB, free: 1.605 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006424/0.1636, allocations: 403.3 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1637, allocations: 8.031 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.1637, allocations: 8.844 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.164, allocations: 208.7 kB / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.164, allocations: 384 / 486.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.164, allocations: 7.938 kB / 486.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1642, allocations: 65.61 kB / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1643, allocations: 0 / 486.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.1643, allocations: 11.97 kB / 486.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1643, allocations: 4 kB / 486.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.1645, allocations: 43.97 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/0.1649, allocations: 308.6 kB / 486.7 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1652, allocations: 58.56 kB / 486.7 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.662e-05/0.1653, allocations: 36.95 kB / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.1654, allocations: 0 / 486.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1654, allocations: 38.56 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1654, allocations: 0 / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001658/0.1671, allocations: 477.2 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.1671, allocations: 59.34 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.1673, allocations: 174.5 kB / 487.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.1674, allocations: 29.7 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.47e-05/0.1674, allocations: 104 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1675, allocations: 43.44 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1675, allocations: 13.72 kB / 487.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1677, allocations: 322.8 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.1678, allocations: 51.97 kB / 488.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.168, allocations: 47.97 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1683, allocations: 120.8 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1683, allocations: 0 / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003441/0.1686, allocations: 165.4 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1686, allocations: 4 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.1687, allocations: 4.125 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1687, allocations: 0 / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1689, allocations: 39.97 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1689, allocations: 0 / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.169, allocations: 12 kB / 488.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.169, allocations: 7.984 kB / 488.5 MB, free: 14.56 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 (11): * Single equations (assignments): 11 * 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.0001137/0.1691, allocations: 121.8 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.1691, allocations: 7.906 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1696, allocations: 182.1 kB / 488.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1696, allocations: 8 kB / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1696, allocations: 0 / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1696, allocations: 0 / 488.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007094/0.1703, allocations: 491.9 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1703, allocations: 4 kB / 489.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1704, allocations: 27.98 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1704, allocations: 0 / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1705, allocations: 4.156 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1705, allocations: 7.938 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1705, allocations: 3.984 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1709, allocations: 265 kB / 489.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.1709, allocations: 92.91 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.171, allocations: 8 kB / 489.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.676e-05/0.1711, allocations: 15.92 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.1711, allocations: 11.98 kB / 489.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1711, allocations: 4 kB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1713, allocations: 138.5 kB / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1713, allocations: 0 / 489.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1715, allocations: 24 kB / 489.8 MB, free: 13.06 MB / 366.1 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 (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.001119/0.1727, allocations: 460.2 kB / 490.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003637/0.173, allocations: 127.8 kB / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1731, allocations: 0 / 490.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.1732, allocations: 67.91 kB / 490.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1736, allocations: 20.11 kB / 490.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.1744, allocations: 314.9 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1747, allocations: 0.7121 MB / 491.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.445e-05/0.1748, allocations: 20.55 kB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.1749, allocations: 19.42 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1749, allocations: 0 / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of Templates: time 0.004392/0.1793, allocations: 1.443 MB / 493 MB, free: 10 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches