Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009896/0.0009941, allocations: 97.39 kB / 17 MB, free: 6.043 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.00138/0.001381, allocations: 181.8 kB / 17.89 MB, free: 5.641 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.539/1.539, allocations: 223.3 MB / 241.9 MB, free: 324 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.2514/0.2514, allocations: 44.24 MB / 337.3 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004855, allocations: 13.22 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.166, allocations: 61.93 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.0028/0.1688, allocations: 1.266 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1699, allocations: 371.6 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.17, allocations: 4 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1704, allocations: 75.83 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.1706, allocations: 43.88 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.171, allocations: 79.83 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1713, allocations: 71.81 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1714, allocations: 8.188 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.81e-05/0.1715, allocations: 31.84 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1716, allocations: 39.89 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1717, allocations: 0 / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1718, allocations: 35.98 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.1719, allocations: 23.92 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.1719, allocations: 37.64 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1722, allocations: 79.81 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1722, allocations: 0 / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1722, allocations: 0 / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1722, allocations: 0 / 473.8 MB, free: 11.52 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.0006156/0.1728, allocations: 391.2 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1729, allocations: 8.562 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.173, allocations: 11.91 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.1732, allocations: 198.9 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1733, allocations: 4 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.1733, allocations: 7.938 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.1736, allocations: 57.64 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.1736, allocations: 3.906 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1736, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1736, allocations: 0 / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.1738, allocations: 39.91 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.1744, allocations: 288.8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.1745, allocations: 46.56 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.1746, allocations: 16.94 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.1747, allocations: 4 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1747, allocations: 38.5 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.1747, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001299/0.176, allocations: 253.1 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1761, allocations: 55.41 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.1764, allocations: 210.2 kB / 475.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.1765, allocations: 25.7 kB / 475.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1766, allocations: 108 kB / 475.5 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.1766, allocations: 19.66 kB / 475.5 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/0.1767, allocations: 4 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1769, allocations: 326.8 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.177, allocations: 27.98 kB / 475.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1771, allocations: 40.03 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1773, allocations: 24 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1773, allocations: 0 / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003677/0.1777, allocations: 113.4 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1777, allocations: 8 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1777, allocations: 0 / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1777, allocations: 0 / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1779, allocations: 19.98 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1779, allocations: 0 / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.178, allocations: 12 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.178, allocations: 4 kB / 476.1 MB, free: 8.984 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 (8): * Single equations (assignments): 8 * 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.0001608/0.1782, allocations: 125.8 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.1783, allocations: 11.91 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.1787, allocations: 130.3 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1787, allocations: 4 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1788, allocations: 0 / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1788, allocations: 432 / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008302/0.1796, allocations: 415.2 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.1796, allocations: 4 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1797, allocations: 15.98 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1798, allocations: 4 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1798, allocations: 3.938 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1798, allocations: 0 / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.1798, allocations: 7.984 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003888/0.1802, allocations: 216.2 kB / 477 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.1803, allocations: 88.92 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1803, allocations: 3.938 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.1805, allocations: 15.98 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.1805, allocations: 4 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1806, allocations: 11.95 kB / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1808, allocations: 159.2 kB / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1808, allocations: 0 / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.1813, allocations: 16 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001653/0.1829, allocations: 463.6 kB / 477.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003489/0.1833, allocations: 67.91 kB / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1833, allocations: 0 / 477.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.1835, allocations: 47.91 kB / 477.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.184, allocations: 19.66 kB / 477.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.1849, allocations: 266.4 kB / 478.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.1855, allocations: 0.7004 MB / 478.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.97e-05/0.1856, allocations: 12.66 kB / 478.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.1857, allocations: 11.44 kB / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1857, allocations: 0 / 478.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Templates: time 0.006818/0.1925, allocations: 1.244 MB / 480.1 MB, free: 4.969 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches