Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009907/0.0009902, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009712/0.0009712, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003296/0.0003296, allocations: 8 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1489, allocations: 63.57 MB / 483.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.002333/0.1513, allocations: 1.4 MB / 484.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1525, allocations: 0.5457 MB / 485 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.1525, allocations: 0 / 485 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005973/0.1531, allocations: 447.2 kB / 485.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.1536, allocations: 275.5 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.154, allocations: 131.3 kB / 485.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.1543, allocations: 163.7 kB / 486 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1544, allocations: 20.2 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1546, allocations: 115.6 kB / 486.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.1548, allocations: 207.6 kB / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1549, allocations: 0 / 486.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.155, allocations: 55.91 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1551, allocations: 79.69 kB / 486.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1553, allocations: 124.7 kB / 486.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1556, allocations: 266.9 kB / 486.9 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1556, allocations: 0 / 486.9 MB, free: 372 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1556, allocations: 0 / 486.9 MB, free: 372 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1556, allocations: 4 kB / 486.9 MB, free: 368 kB / 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.0007975/0.1564, allocations: 0.6109 MB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1565, allocations: 8.031 kB / 487.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.372e-05/0.1566, allocations: 44.38 kB / 487.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.1569, allocations: 296.2 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1569, allocations: 384 / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1569, allocations: 4.375 kB / 487.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.1571, allocations: 77.72 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1572, allocations: 0 / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1572, allocations: 4 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1572, allocations: 4 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1574, allocations: 43.97 kB / 488 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.1579, allocations: 404.6 kB / 488.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.1581, allocations: 62.58 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/0.1582, allocations: 36.91 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.1583, allocations: 4 kB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.1583, allocations: 30.56 kB / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.1583, allocations: 0 / 488.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.001623/0.1599, allocations: 0.5352 MB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.16, allocations: 59.28 kB / 489.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008686/0.1609, allocations: 0.8613 MB / 489.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1609, allocations: 33.7 kB / 490 MB, free: 13.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1611, allocations: 215.9 kB / 490.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.1611, allocations: 39.45 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.1612, allocations: 13.72 kB / 490.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1613, allocations: 362.8 kB / 490.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1615, allocations: 55.97 kB / 490.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1616, allocations: 51.91 kB / 490.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.1619, allocations: 125 kB / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1619, allocations: 0 / 490.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003529/0.1622, allocations: 189.1 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1623, allocations: 4 kB / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.1623, allocations: 0 / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1623, allocations: 0 / 491 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1624, allocations: 35.91 kB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1624, allocations: 0 / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.592e-05/0.1625, allocations: 27.89 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1626, allocations: 4 kB / 491.1 MB, free: 11.93 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.000197/0.1628, allocations: 209.8 kB / 491.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.245e-05/0.1628, allocations: 39.53 kB / 491.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004756/0.1633, allocations: 229.2 kB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1633, allocations: 7.938 kB / 491.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1633, allocations: 0 / 491.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1634, allocations: 3.984 kB / 491.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/0.1642, allocations: 0.5898 MB / 492.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1642, allocations: 0 / 492.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1643, allocations: 27.98 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1643, allocations: 0 / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1644, allocations: 4 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1644, allocations: 0 / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1644, allocations: 3.984 kB / 492.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.1648, allocations: 308.5 kB / 492.5 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.1649, allocations: 116.5 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1649, allocations: 4 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.165, allocations: 16.17 kB / 492.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/0.1651, allocations: 7.984 kB / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1651, allocations: 8 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006421/0.1658, allocations: 0.655 MB / 493.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1658, allocations: 0 / 493.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.166, allocations: 32 kB / 493.3 MB, free: 9.57 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.001105/0.1672, allocations: 455.5 kB / 493.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.1675, allocations: 127.9 kB / 493.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1676, allocations: 0 / 493.9 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.1677, allocations: 67.91 kB / 494 MB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.1681, allocations: 33.45 kB / 494 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1694, allocations: 0.9565 MB / 494.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1698, allocations: 0.8341 MB / 495.8 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.249e-05/0.1699, allocations: 8.562 kB / 495.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.1699, allocations: 19.42 kB / 495.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1699, allocations: 3.938 kB / 495.8 MB, free: 7.172 MB / 366.1 MB Notification: Performance of Templates: time 0.005084/0.175, allocations: 1.698 MB / 497.5 MB, free: 5.477 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches