Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008431/0.0008433, allocations: 98 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007628/0.0007627, allocations: 180 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.3 MB / 241.9 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.24 MB / 337.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 8.625 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.002704/0.1477, allocations: 1.302 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000896/0.1487, allocations: 395.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.067e-05/0.1488, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.1494, allocations: 435.3 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.1498, allocations: 243.5 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003917/0.1502, allocations: 110.9 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.1505, allocations: 131.7 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.1506, allocations: 12.17 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1508, allocations: 99.73 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002226/0.151, allocations: 167.7 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.151, allocations: 4 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1511, allocations: 27.98 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1513, allocations: 83.69 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.233e-05/0.1513, allocations: 61.52 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1516, allocations: 175.8 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1516, allocations: 0 / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1516, allocations: 4 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1516, allocations: 0 / 474.8 MB, free: 10.45 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.0007356/0.1523, allocations: 0.5951 MB / 475.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.1524, allocations: 8.562 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.689e-05/0.1525, allocations: 43.52 kB / 475.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1528, allocations: 267.3 kB / 475.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1528, allocations: 0 / 475.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1528, allocations: 4 kB / 475.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.153, allocations: 57.62 kB / 475.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.153, allocations: 7.938 kB / 475.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1531, allocations: 4 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1531, allocations: 0 / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1532, allocations: 31.92 kB / 475.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005413/0.1537, allocations: 380.7 kB / 476.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.154, allocations: 50.56 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.154, allocations: 20.88 kB / 476.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.1541, allocations: 3.938 kB / 476.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.1541, allocations: 38.56 kB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.273e-06/0.1541, allocations: 0 / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006885/0.1548, allocations: 232.1 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1549, allocations: 51.41 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.1558, allocations: 0.869 MB / 477.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1558, allocations: 25.7 kB / 477.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.156, allocations: 216.1 kB / 477.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.156, allocations: 19.8 kB / 477.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.156, allocations: 0 / 477.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1562, allocations: 362.8 kB / 478.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.1563, allocations: 19.98 kB / 478.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.1564, allocations: 23.98 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.1565, allocations: 23.98 kB / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1565, allocations: 0 / 478.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002578/0.1567, allocations: 133.2 kB / 478.3 MB, free: 6.777 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1568, allocations: 8 kB / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1568, allocations: 0 / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1568, allocations: 0 / 478.3 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.1569, allocations: 15.98 kB / 478.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1569, allocations: 0 / 478.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.1569, allocations: 7.984 kB / 478.3 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.157, allocations: 0 / 478.3 MB, free: 6.746 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.1572, allocations: 217.7 kB / 478.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.1573, allocations: 39.53 kB / 478.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.1576, allocations: 141 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1576, allocations: 0 / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1576, allocations: 4 kB / 478.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1576, allocations: 4 kB / 478.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.1582, allocations: 462.3 kB / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1582, allocations: 288 / 479.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.633e-05/0.1583, allocations: 12 kB / 479.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.1583, allocations: 7.984 kB / 479.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1583, allocations: 4 kB / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1583, allocations: 0 / 479.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.1584, allocations: 11.88 kB / 479.2 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.1587, allocations: 222.9 kB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.1588, allocations: 116.5 kB / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1589, allocations: 256 / 479.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.45e-05/0.1589, allocations: 8 kB / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.159, allocations: 11.98 kB / 479.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.159, allocations: 0 / 479.5 MB, free: 5.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.1597, allocations: 0.6472 MB / 480.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1597, allocations: 0 / 480.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.16, allocations: 19.98 kB / 480.2 MB, free: 4.734 MB / 350.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 (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.001057/0.161, allocations: 404.8 kB / 480.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.1613, allocations: 55.91 kB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1613, allocations: 7.938 kB / 480.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.1614, allocations: 35.97 kB / 480.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1618, allocations: 17.92 kB / 480.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1631, allocations: 0.8294 MB / 481.5 MB, free: 3.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.1635, allocations: 0.8185 MB / 482.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1636, allocations: 16.23 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.1637, allocations: 15.42 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of SimCode: time 3.536e-06/0.1637, allocations: 0 / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of Templates: time 0.005117/0.1688, allocations: 1.328 MB / 483.7 MB, free: 1.324 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches