Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007963/0.0007965, 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.001175/0.001175, allocations: 183 kB / 16.91 MB, free: 6.914 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.937/1.937, allocations: 205.4 MB / 223.1 MB, free: 5.758 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.467/0.467, allocations: 43.57 MB / 315 MB, free: 9 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.0005263/0.0005263, allocations: 16 kB / 384.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1647, allocations: 58.87 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.002751/0.1675, allocations: 1.333 MB / 444.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007671/0.1683, allocations: 311.6 kB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.584e-05/0.1684, allocations: 0 / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.1686, allocations: 59.86 kB / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1688, allocations: 63.8 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1691, allocations: 99.88 kB / 445.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1693, allocations: 71.75 kB / 445.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1694, allocations: 20.17 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.079e-05/0.1695, allocations: 19.92 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1696, allocations: 51.81 kB / 445.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1696, allocations: 0 / 445.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.1697, allocations: 35.94 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.468e-05/0.1698, allocations: 19.91 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.1699, allocations: 57.44 kB / 445.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1701, allocations: 91.92 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1701, allocations: 0 / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1701, allocations: 0 / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1701, allocations: 0 / 445.7 MB, free: 10.69 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.0005686/0.1707, allocations: 395.1 kB / 446 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1707, allocations: 8.031 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.1708, allocations: 8.844 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.171, allocations: 204 kB / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.171, allocations: 384 / 446.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1711, allocations: 4.375 kB / 446.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1713, allocations: 65.61 kB / 446.3 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1713, allocations: 4 kB / 446.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1713, allocations: 0 / 446.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1713, allocations: 0 / 446.3 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.1715, allocations: 43.97 kB / 446.4 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.1719, allocations: 300.6 kB / 446.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.172, allocations: 46.56 kB / 446.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.1721, allocations: 36.88 kB / 446.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1721, allocations: 3.984 kB / 446.8 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1722, allocations: 30.56 kB / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1722, allocations: 0 / 446.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008321/0.173, allocations: 241.2 kB / 447 MB, free: 9.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.1731, allocations: 55.41 kB / 447.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.1733, allocations: 206.2 kB / 447.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1733, allocations: 33.64 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.1734, allocations: 96.14 kB / 447.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.1735, allocations: 27.64 kB / 447.4 MB, free: 8.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1735, allocations: 13.72 kB / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1736, allocations: 330.8 kB / 447.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.1738, allocations: 35.97 kB / 447.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.1739, allocations: 43.97 kB / 447.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.1741, allocations: 84.81 kB / 447.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1741, allocations: 4 kB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002929/0.1744, allocations: 141.7 kB / 448.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1745, allocations: 4 kB / 448.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1745, allocations: 4 kB / 448.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.1745, allocations: 0 / 448.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1746, allocations: 27.92 kB / 448.1 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1747, allocations: 4 kB / 448.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.1747, allocations: 15.92 kB / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.1747, allocations: 4 kB / 448.1 MB, free: 7.988 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.0001086/0.1749, allocations: 133.8 kB / 448.3 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1749, allocations: 11.91 kB / 448.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.1753, allocations: 138.3 kB / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1753, allocations: 288 / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1753, allocations: 0 / 448.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.1753, allocations: 7.938 kB / 448.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.1759, allocations: 410.4 kB / 448.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1759, allocations: 0 / 448.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.199e-05/0.176, allocations: 23.98 kB / 448.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.176, allocations: 0 / 448.8 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.176, allocations: 3.938 kB / 448.8 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.176, allocations: 11.98 kB / 448.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.176, allocations: 0 / 448.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.1764, allocations: 227.2 kB / 449.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.1764, allocations: 85.02 kB / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1765, allocations: 7.938 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.1766, allocations: 15.98 kB / 449.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.1766, allocations: 3.984 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.1766, allocations: 11.88 kB / 449.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1768, allocations: 168 kB / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1768, allocations: 0 / 449.4 MB, free: 6.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000241/0.177, allocations: 16 kB / 449.4 MB, free: 6.637 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.001026/0.1781, allocations: 409.9 kB / 449.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003256/0.1784, allocations: 95.88 kB / 449.9 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1784, allocations: 0 / 449.9 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1786, allocations: 51.97 kB / 449.9 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.179, allocations: 12 kB / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.1795, allocations: 281.4 kB / 450.2 MB, free: 5.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.1799, allocations: 0.7121 MB / 450.9 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.542e-05/0.1799, allocations: 8.297 kB / 450.9 MB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.139e-05/0.18, allocations: 19.44 kB / 450.9 MB, free: 5.039 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.18, allocations: 0 / 450.9 MB, free: 5.039 MB / 382.1 MB Notification: Performance of Templates: time 0.004202/0.1842, allocations: 1.147 MB / 452.1 MB, free: 3.891 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches