Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001829/0.00183, allocations: 100.5 kB / 16.4 MB, free: 6 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.00165/0.00165, allocations: 192.3 kB / 17.34 MB, free: 5.582 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.654/1.654, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2554/0.2554, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 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.00183/0.00183, allocations: 74.08 kB / 441.8 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1628, allocations: 57.79 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.003561/0.1664, allocations: 1.542 MB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.1672, allocations: 331.5 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.1673, allocations: 4 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.1676, allocations: 75.77 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.1679, allocations: 63.81 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1683, allocations: 91.73 kB / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.1685, allocations: 63.89 kB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1686, allocations: 27.91 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.1687, allocations: 35.84 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1688, allocations: 51.88 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.1688, allocations: 0 / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.1689, allocations: 27.94 kB / 0.4901 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.169, allocations: 19.92 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.169, allocations: 31.73 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1693, allocations: 87.59 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1693, allocations: 0 / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1693, allocations: 0 / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1693, allocations: 4 kB / 0.4903 GB, free: 9.301 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005468/0.1698, allocations: 398.9 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1699, allocations: 11.89 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.17, allocations: 12.84 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1702, allocations: 200.1 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1702, allocations: 384 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1702, allocations: 384 / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.1704, allocations: 53.8 kB / 0.4909 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.1704, allocations: 0 / 0.4909 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1704, allocations: 4 kB / 0.4909 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1705, allocations: 4 kB / 0.4909 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1706, allocations: 23.98 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.171, allocations: 296.8 kB / 0.4912 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1712, allocations: 42.56 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1713, allocations: 32.86 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1714, allocations: 0 / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1714, allocations: 30.56 kB / 0.4913 GB, free: 8.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.1714, allocations: 0 / 0.4913 GB, free: 8.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006157/0.172, allocations: 153.4 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.1721, allocations: 59.41 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.1723, allocations: 202.2 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1723, allocations: 25.7 kB / 0.4918 GB, free: 7.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.1724, allocations: 100.1 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1724, allocations: 23.83 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1724, allocations: 13.72 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1726, allocations: 330.8 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.018e-05/0.1727, allocations: 19.92 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.974e-05/0.1727, allocations: 27.98 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.1729, allocations: 44.83 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1729, allocations: 0 / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002037/0.1731, allocations: 89.61 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1731, allocations: 4 kB / 0.4924 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1731, allocations: 3.938 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1731, allocations: 4 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1733, allocations: 15.98 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.1733, allocations: 3.938 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.1733, allocations: 4 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1734, allocations: 4 kB / 0.4924 GB, free: 6.883 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 (5): * Single equations (assignments): 5 * 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.0001002/0.1735, allocations: 133.7 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1735, allocations: 11.91 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.1738, allocations: 106.2 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1738, allocations: 0 / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1738, allocations: 0 / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1738, allocations: 0 / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.1742, allocations: 362.4 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1743, allocations: 0 / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.003e-05/0.1743, allocations: 15.98 kB / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1743, allocations: 0 / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.1743, allocations: 4 kB / 0.493 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.1744, allocations: 7.875 kB / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1744, allocations: 0 / 0.493 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1746, allocations: 183.4 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.1747, allocations: 89.02 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.1747, allocations: 0 / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.1748, allocations: 15.92 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1748, allocations: 4 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.1748, allocations: 4 kB / 0.4933 GB, free: 5.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001299/0.175, allocations: 164 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.175, allocations: 0 / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1752, allocations: 12 kB / 0.4935 GB, free: 5.684 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 (5): * Single equations (assignments): 5 * 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.0009392/0.1762, allocations: 407 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1764, allocations: 55.95 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1764, allocations: 0 / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.1765, allocations: 27.92 kB / 0.4939 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.1769, allocations: 23.78 kB / 0.494 GB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.1773, allocations: 221.8 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1777, allocations: 0.7041 MB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.215e-05/0.1778, allocations: 19.92 kB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.1778, allocations: 15.42 kB / 0.4949 GB, free: 4.207 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1778, allocations: 0 / 0.4949 GB, free: 4.207 MB / 382.1 MB Notification: Performance of Templates: time 0.003978/0.1818, allocations: 1.128 MB / 0.496 GB, free: 3.082 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches