Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 97.58 kB / 17 MB, free: 6.07 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.001122/0.001122, allocations: 174.1 kB / 17.89 MB, free: 5.668 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.575/1.575, allocations: 223.3 MB / 241.9 MB, free: 344 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.2045/0.2045, allocations: 44.26 MB / 337.3 MB, free: 2.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 8 kB / 409.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1715, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002502/0.174, allocations: 1.309 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.1758, allocations: 0.9961 MB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.42e-05/0.1759, allocations: 3.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1761, allocations: 27.91 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1764, allocations: 31.84 kB / 474 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.1769, allocations: 159 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1771, allocations: 55.83 kB / 474.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.1772, allocations: 12 kB / 474.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.055e-05/0.1773, allocations: 23.86 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1775, allocations: 27.84 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.1776, allocations: 4 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.1778, allocations: 39.98 kB / 474.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.136e-05/0.1778, allocations: 19.97 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.066e-05/0.1779, allocations: 33.64 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.1781, allocations: 64.17 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1781, allocations: 3.938 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1782, allocations: 4 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1782, allocations: 0 / 474.4 MB, free: 10.91 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.0007378/0.1789, allocations: 383.1 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.179, allocations: 12.56 kB / 474.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.179, allocations: 7.906 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.1793, allocations: 190.9 kB / 475 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1793, allocations: 4 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.1793, allocations: 0 / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1796, allocations: 87.33 kB / 475.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1796, allocations: 4 kB / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1796, allocations: 0 / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1797, allocations: 0 / 475.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.1799, allocations: 43.97 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005626/0.1804, allocations: 312.7 kB / 475.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1806, allocations: 46.56 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.421e-05/0.1807, allocations: 32.94 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1807, allocations: 3.984 kB / 475.5 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.1807, allocations: 34.56 kB / 475.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1807, allocations: 4 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007997/0.1815, allocations: 257.2 kB / 475.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.1817, allocations: 81.11 kB / 475.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1818, allocations: 137.8 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1818, allocations: 29.7 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.1819, allocations: 88.14 kB / 476.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1819, allocations: 27.64 kB / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-06/0.1819, allocations: 0 / 476.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.182, allocations: 326.8 kB / 476.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1822, allocations: 47.95 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.1823, allocations: 61.69 kB / 476.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1824, allocations: 43.97 kB / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1824, allocations: 0 / 476.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000285/0.1827, allocations: 141.6 kB / 476.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1828, allocations: 8 kB / 476.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1828, allocations: 3.938 kB / 476.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1828, allocations: 0 / 476.8 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.1829, allocations: 31.92 kB / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1829, allocations: 0 / 476.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.183, allocations: 11.98 kB / 476.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.183, allocations: 4.281 kB / 476.8 MB, free: 8.254 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 (7): * Single equations (assignments): 7 * 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 8.837e-05/0.1831, allocations: 117.8 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.1831, allocations: 7.906 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.1835, allocations: 166.2 kB / 477.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1835, allocations: 7.938 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1835, allocations: 4 kB / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1835, allocations: 0 / 477.1 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.1841, allocations: 426.4 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1841, allocations: 0 / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.1842, allocations: 23.98 kB / 477.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1842, allocations: 0 / 477.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1842, allocations: 4 kB / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1842, allocations: 0 / 477.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1842, allocations: 3.938 kB / 477.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1845, allocations: 239.3 kB / 477.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.1846, allocations: 81.02 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.1846, allocations: 8 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.747e-05/0.1847, allocations: 15.98 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.1848, allocations: 11.98 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.1848, allocations: 0 / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.011e-05/0.1849, allocations: 105.9 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1849, allocations: 0 / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1852, allocations: 31.98 kB / 478 MB, free: 6.922 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 (7): * Single equations (assignments): 7 * 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.001279/0.1864, allocations: 447.3 kB / 478.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1868, allocations: 107.9 kB / 478.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1868, allocations: 0 / 478.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.187, allocations: 59.95 kB / 478.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.1874, allocations: 11.95 kB / 478.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.1879, allocations: 225.4 kB / 478.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.1882, allocations: 0.7004 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.941e-05/0.1883, allocations: 28.22 kB / 479.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.501e-05/0.1884, allocations: 19.42 kB / 479.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of SimCode: time 4.098e-06/0.1884, allocations: 0 / 479.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Templates: time 0.00453/0.1929, allocations: 1.413 MB / 481 MB, free: 4.043 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches