Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009078/0.000908, allocations: 97.97 kB / 17.01 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 192.2 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.18 MB / 344.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 8.219 kB / 418.8 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 63.57 MB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002175/0.1524, allocations: 1.345 MB / 483.8 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008445/0.1533, allocations: 0.6487 MB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.801e-05/0.1533, allocations: 0 / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.1535, allocations: 19.92 kB / 484.4 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1537, allocations: 35.89 kB / 484.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.797e-06/0.1538, allocations: 0 / 484.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1539, allocations: 39.84 kB / 484.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.154, allocations: 4 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.154, allocations: 15.91 kB / 484.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.66e-05/0.1541, allocations: 19.94 kB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1541, allocations: 0 / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.764e-05/0.1542, allocations: 8 kB / 484.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.1542, allocations: 19.92 kB / 484.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.1542, allocations: 33.7 kB / 484.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.1543, allocations: 48.19 kB / 484.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1544, allocations: 4 kB / 484.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1544, allocations: 0 / 484.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.1544, allocations: 0 / 484.7 MB, free: 2.25 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003337/0.1547, allocations: 363.1 kB / 485 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1548, allocations: 8.031 kB / 485 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.1548, allocations: 7.906 kB / 485 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1549, allocations: 178.9 kB / 485.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.155, allocations: 0 / 485.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.155, allocations: 7.984 kB / 485.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.1552, allocations: 122.8 kB / 485.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1552, allocations: 7.922 kB / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1552, allocations: 0 / 485.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.1553, allocations: 19.98 kB / 485.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.1554, allocations: 47.86 kB / 485.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.1563, allocations: 0.8945 MB / 486.3 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.1564, allocations: 173.2 kB / 486.5 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.1564, allocations: 80.14 kB / 486.5 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.1565, allocations: 79.28 kB / 486.6 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.1566, allocations: 109.8 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1566, allocations: 0 / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.334e-05/0.1567, allocations: 37.61 kB / 486.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.1568, allocations: 130.6 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.1571, allocations: 186 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.1571, allocations: 25.7 kB / 487.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1572, allocations: 151.1 kB / 487.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.723e-06/0.1572, allocations: 8 kB / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.1572, allocations: 0 / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1574, allocations: 326.8 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.697e-05/0.1574, allocations: 27.98 kB / 487.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1576, allocations: 155.9 kB / 487.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.306e-05/0.1577, allocations: 71.91 kB / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1577, allocations: 0 / 487.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003054/0.158, allocations: 193.6 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.158, allocations: 4 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1581, allocations: 8 kB / 488 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1581, allocations: 7.953 kB / 488 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1582, allocations: 43.92 kB / 488.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1582, allocations: 11.92 kB / 488.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.1583, allocations: 19.78 kB / 488.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.1583, allocations: 11.94 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001232/0.1585, allocations: 221.1 kB / 488.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.1585, allocations: 112.9 kB / 488.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.1586, allocations: 108.9 kB / 488.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/0.1587, allocations: 184.2 kB / 488.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.976e-05/0.1587, allocations: 192.2 kB / 488.9 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.595e-05/0.1588, allocations: 180.2 kB / 489.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.1591, allocations: 425.2 kB / 489.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.595e-05/0.1591, allocations: 101 kB / 489.6 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.74e-05/0.1591, allocations: 104.9 kB / 489.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.411e-05/0.1592, allocations: 184.3 kB / 489.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.1593, allocations: 180.2 kB / 490.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.019e-05/0.1594, allocations: 188.2 kB / 490.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.463e-05/0.1594, allocations: 188.2 kB / 490.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.1596, allocations: 307.7 kB / 490.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.79e-05/0.1597, allocations: 193.9 kB / 490.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.1597, allocations: 180.2 kB / 491.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.784e-05/0.1598, allocations: 108.9 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/0.1599, allocations: 176.3 kB / 491.4 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.16, allocations: 105 kB / 491.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1601, allocations: 135.2 kB / 491.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1601, allocations: 0 / 491.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1604, allocations: 15.91 kB / 491.6 MB, free: 10.73 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 (0): * Single equations (assignments): 0 * 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.000496/0.1609, allocations: 275.5 kB / 491.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.161, allocations: 75.78 kB / 492 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.161, allocations: 0 / 492 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.161, allocations: 1.25 kB / 492 MB, free: 10.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1614, allocations: 0.5341 MB / 492.5 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.1618, allocations: 271 kB / 492.8 MB, free: 9.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.1622, allocations: 0.697 MB / 493.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001661/0.1624, allocations: 49.02 kB / 493.5 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.1625, allocations: 19.42 kB / 493.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1625, allocations: 0 / 493.5 MB, free: 8.801 MB / 366.1 MB Notification: Performance of Templates: time 0.00283/0.1653, allocations: 0.6655 MB / 494.2 MB, free: 8.137 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches