Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 97.23 kB / 16.99 MB, free: 5.941 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.001355/0.001355, allocations: 183.6 kB / 17.88 MB, free: 5.609 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.462/1.462, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2219/0.2219, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003106/0.0003106, allocations: 14.97 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1534, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.002627/0.1561, allocations: 1.517 MB / 473 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1575, allocations: 0.6862 MB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.98e-05/0.1576, allocations: 0 / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004441/0.1581, allocations: 235.4 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.1584, allocations: 167.6 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009646/0.1594, allocations: 433.7 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.1597, allocations: 163.6 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1598, allocations: 44.31 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1599, allocations: 99.58 kB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.1602, allocations: 127.5 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1602, allocations: 4 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.985e-05/0.1603, allocations: 31.92 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.86e-05/0.1604, allocations: 71.73 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.244e-05/0.1605, allocations: 65.52 kB / 475.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.1607, allocations: 207.8 kB / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1607, allocations: 0 / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1607, allocations: 0 / 475.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1607, allocations: 0 / 475.3 MB, free: 9.918 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007175/0.1615, allocations: 0.5718 MB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1615, allocations: 8.031 kB / 475.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.1616, allocations: 35.53 kB / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.162, allocations: 289.4 kB / 476.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.162, allocations: 8 kB / 476.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.162, allocations: 4 kB / 476.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1622, allocations: 89.5 kB / 476.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1622, allocations: 0 / 476.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1623, allocations: 7.984 kB / 476.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1623, allocations: 0 / 476.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.1624, allocations: 51.97 kB / 476.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006545/0.1631, allocations: 444.5 kB / 476.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.1632, allocations: 58.56 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.1632, allocations: 3.984 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1633, allocations: 38.5 kB / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1633, allocations: 0 / 476.9 MB, free: 8.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003217/0.1636, allocations: 137.5 kB / 477 MB, free: 8.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.1638, allocations: 51.41 kB / 477 MB, free: 7.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008585/0.1646, allocations: 0.5409 MB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.1647, allocations: 25.7 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.1649, allocations: 204.3 kB / 477.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.1649, allocations: 19.72 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1649, allocations: 0 / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.1651, allocations: 354.8 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.1652, allocations: 19.98 kB / 478.2 MB, free: 6.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.112e-05/0.1653, allocations: 24.05 kB / 478.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.1653, allocations: 24 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1653, allocations: 0 / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001968/0.1655, allocations: 117.1 kB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1656, allocations: 4 kB / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.1656, allocations: 0 / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.1656, allocations: 0 / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1657, allocations: 15.98 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.241e-05/0.1658, allocations: 3.984 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.1659, allocations: 15.94 kB / 478.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.1659, allocations: 3.938 kB / 478.4 MB, free: 6.574 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 (6): * Single equations (assignments): 6 * 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.0001909/0.1661, allocations: 174.3 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.504e-05/0.1662, allocations: 35.53 kB / 478.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.1664, allocations: 128.9 kB / 478.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1665, allocations: 0 / 478.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1665, allocations: 4 kB / 478.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1665, allocations: 0 / 478.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.1668, allocations: 289.4 kB / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1668, allocations: 0 / 479 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.1669, allocations: 15.98 kB / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1669, allocations: 0 / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.1669, allocations: 0 / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1669, allocations: 0 / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.1669, allocations: 0 / 479 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1672, allocations: 219.3 kB / 479.2 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1673, allocations: 124.6 kB / 479.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.1673, allocations: 8 kB / 479.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/0.1674, allocations: 11.98 kB / 479.4 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1675, allocations: 4 kB / 479.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1675, allocations: 0 / 479.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000567/0.1681, allocations: 411.1 kB / 479.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1681, allocations: 0 / 479.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1684, allocations: 35.92 kB / 479.8 MB, free: 5.047 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 (6): * Single equations (assignments): 6 * 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.001575/0.1699, allocations: 0.5851 MB / 480.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1701, allocations: 43.98 kB / 480.5 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1702, allocations: 4 kB / 480.5 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.1702, allocations: 35.92 kB / 480.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.1707, allocations: 61.45 kB / 480.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009784/0.1717, allocations: 0.5948 MB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.1721, allocations: 0.7985 MB / 481.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1723, allocations: 41.5 kB / 482 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.453e-05/0.1723, allocations: 27.42 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1723, allocations: 3.938 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of Templates: time 0.006942/0.1793, allocations: 2.642 MB / 484.7 MB, free: 448 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches