Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 97.8 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 182.7 kB / 16.92 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 223.1 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4843/0.4843, allocations: 43.57 MB / 315 MB, free: 8.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006459/0.0006463, allocations: 16 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1672, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.00219/0.1694, allocations: 1.341 MB / 444.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1708, allocations: 0.9026 MB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.022e-05/0.1709, allocations: 4 kB / 445.7 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001894/0.1711, allocations: 11.94 kB / 445.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.1712, allocations: 39.84 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1715, allocations: 103.8 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1716, allocations: 55.84 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1718, allocations: 16.17 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.1718, allocations: 27.86 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.172, allocations: 23.86 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.172, allocations: 4 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1721, allocations: 47.95 kB / 446 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1722, allocations: 11.94 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.1722, allocations: 45.56 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.1724, allocations: 95.97 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1724, allocations: 4 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1724, allocations: 0 / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1724, allocations: 3.938 kB / 446.2 MB, free: 10.16 MB / 382.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.0005152/0.173, allocations: 387.2 kB / 446.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.173, allocations: 8.031 kB / 446.6 MB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.1731, allocations: 8.844 kB / 446.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1733, allocations: 184.3 kB / 446.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.1733, allocations: 384 / 446.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.1733, allocations: 4.375 kB / 446.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1735, allocations: 87.31 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1735, allocations: 3.938 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1735, allocations: 0 / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1735, allocations: 0 / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1737, allocations: 39.97 kB / 446.9 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003782/0.1741, allocations: 288.7 kB / 447.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.1742, allocations: 50.56 kB / 447.2 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.485e-05/0.1743, allocations: 32.88 kB / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1743, allocations: 0 / 447.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1744, allocations: 34.56 kB / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1744, allocations: 0 / 447.3 MB, free: 8.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008185/0.1752, allocations: 233.5 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.1753, allocations: 85.19 kB / 447.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.1755, allocations: 133.7 kB / 447.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1755, allocations: 29.7 kB / 447.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.602e-05/0.1756, allocations: 96.11 kB / 447.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.1756, allocations: 23.66 kB / 447.9 MB, free: 8.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.1757, allocations: 9.719 kB / 447.9 MB, free: 8.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1759, allocations: 322.8 kB / 448.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.176, allocations: 39.97 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1761, allocations: 57.69 kB / 448.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1764, allocations: 93.08 kB / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1764, allocations: 0 / 448.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003347/0.1767, allocations: 129.5 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1768, allocations: 8 kB / 448.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1768, allocations: 3.984 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1768, allocations: 3.938 kB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1769, allocations: 23.98 kB / 448.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1769, allocations: 0 / 448.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.177, allocations: 19.92 kB / 448.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.177, allocations: 8 kB / 448.6 MB, free: 7.523 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001249/0.1772, allocations: 117.8 kB / 448.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.1772, allocations: 11.89 kB / 448.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.1776, allocations: 145.9 kB / 448.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1776, allocations: 0 / 448.8 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1776, allocations: 3.938 kB / 448.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1776, allocations: 3.938 kB / 448.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.1782, allocations: 402.5 kB / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1783, allocations: 0 / 449.2 MB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.208e-05/0.1784, allocations: 23.98 kB / 449.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1784, allocations: 4 kB / 449.3 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1784, allocations: 11.94 kB / 449.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.1784, allocations: 0 / 449.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1784, allocations: 0 / 449.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1787, allocations: 219.4 kB / 449.5 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.1788, allocations: 89 kB / 449.6 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.1788, allocations: 3.938 kB / 449.6 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.1789, allocations: 15.98 kB / 449.6 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.179, allocations: 11.92 kB / 449.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.179, allocations: 8 kB / 449.6 MB, free: 6.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.864e-05/0.1791, allocations: 103.3 kB / 449.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1791, allocations: 0 / 449.7 MB, free: 6.266 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1794, allocations: 24 kB / 449.7 MB, free: 6.242 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001053/0.1804, allocations: 448.3 kB / 450.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003299/0.1808, allocations: 91.92 kB / 450.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1808, allocations: 4 kB / 450.3 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1809, allocations: 51.91 kB / 450.3 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003627/0.1813, allocations: 15.98 kB / 450.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.1818, allocations: 213.5 kB / 450.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.1821, allocations: 0.6965 MB / 451.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.315e-05/0.1822, allocations: 4 kB / 451.2 MB, free: 4.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1822, allocations: 23.42 kB / 451.3 MB, free: 4.688 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1822, allocations: 0 / 451.3 MB, free: 4.688 MB / 382.1 MB Notification: Performance of Templates: time 0.004627/0.1869, allocations: 1.408 MB / 452.7 MB, free: 3.277 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches