Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002271/0.002271, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.1 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 72.25 kB / 417.6 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.145, allocations: 62.45 MB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003516/0.1486, allocations: 1.649 MB / 481.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1496, allocations: 0.5571 MB / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.1497, allocations: 0 / 482.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.1503, allocations: 455.1 kB / 482.7 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004657/0.1508, allocations: 299.3 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.1512, allocations: 127 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1514, allocations: 171.6 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1515, allocations: 19.98 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.1517, allocations: 107.8 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.1519, allocations: 203.6 kB / 483.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1519, allocations: 4 kB / 483.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.152, allocations: 39.98 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1522, allocations: 87.67 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.1523, allocations: 102.9 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.1526, allocations: 255 kB / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1526, allocations: 0 / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1526, allocations: 0 / 484.1 MB, free: 1.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1526, allocations: 0 / 484.1 MB, free: 1.262 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.0007307/0.1533, allocations: 0.6377 MB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1534, allocations: 8.031 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.621e-05/0.1535, allocations: 40.47 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1538, allocations: 296.1 kB / 485 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1538, allocations: 8.375 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.1538, allocations: 4.375 kB / 485 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.154, allocations: 61.72 kB / 485.1 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.154, allocations: 0 / 485.1 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.1541, allocations: 4 kB / 485.1 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.1541, allocations: 4 kB / 485.1 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.878e-05/0.1542, allocations: 19.98 kB / 485.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005861/0.1548, allocations: 392.6 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.155, allocations: 42.5 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.1551, allocations: 20.86 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1551, allocations: 0 / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.1551, allocations: 34.64 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1551, allocations: 4 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000677/0.1558, allocations: 223.9 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.1559, allocations: 55.41 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.1567, allocations: 0.8652 MB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1567, allocations: 29.7 kB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.1569, allocations: 224 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.1569, allocations: 19.8 kB / 487 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.157, allocations: 17.72 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1571, allocations: 362.7 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.1572, allocations: 15.98 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.1573, allocations: 19.98 kB / 487.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.1574, allocations: 48.77 kB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1574, allocations: 4 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001941/0.1576, allocations: 125 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1576, allocations: 4 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1576, allocations: 256 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1577, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.1577, allocations: 16 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1578, allocations: 3.984 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.714e-05/0.1578, allocations: 11.88 kB / 487.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1578, allocations: 4 kB / 487.6 MB, free: 13.45 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 (5): * Single equations (assignments): 5 * 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.0001727/0.158, allocations: 213.7 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.1581, allocations: 43.52 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.1584, allocations: 125.1 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1584, allocations: 0 / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1584, allocations: 0 / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1584, allocations: 7.938 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1589, allocations: 474.4 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1589, allocations: 0 / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.229e-05/0.159, allocations: 8 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.159, allocations: 3.984 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.159, allocations: 3.938 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.159, allocations: 4 kB / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.159, allocations: 0 / 488.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1593, allocations: 207.1 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.1593, allocations: 108.5 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.1594, allocations: 7.922 kB / 488.8 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.812e-05/0.1594, allocations: 7.938 kB / 488.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.1595, allocations: 8 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1595, allocations: 0 / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006027/0.1601, allocations: 0.655 MB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1601, allocations: 0 / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1604, allocations: 24 kB / 489.5 MB, free: 11.46 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 (5): * Single equations (assignments): 5 * 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.001071/0.1615, allocations: 405.9 kB / 489.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1618, allocations: 43.97 kB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1618, allocations: 0 / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.693e-05/0.1619, allocations: 39.91 kB / 490 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.1624, allocations: 18.31 kB / 490 MB, free: 11.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1637, allocations: 0.7991 MB / 490.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.1641, allocations: 0.8182 MB / 491.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1642, allocations: 19.97 kB / 491.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.1643, allocations: 11.44 kB / 491.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1643, allocations: 0 / 491.7 MB, free: 9.402 MB / 366.1 MB Notification: Performance of Templates: time 0.005395/0.1697, allocations: 1.476 MB / 493.1 MB, free: 7.93 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches