Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108.7 kB / 16.41 MB, free: 6.449 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.001119/0.001119, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.544/1.544, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2277/0.2277, allocations: 43.53 MB / 314.1 MB, free: 448 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.002114/0.002114, allocations: 66.03 kB / 441.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.16, allocations: 57.8 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.00378/0.1638, allocations: 1.692 MB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1655, allocations: 0.8078 MB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1657, allocations: 4 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.1661, allocations: 51.75 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.1665, allocations: 63.69 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.1669, allocations: 95.75 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1672, allocations: 87.7 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.1673, allocations: 16.22 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.1675, allocations: 47.77 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.1676, allocations: 31.8 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.1676, allocations: 4 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.1678, allocations: 43.98 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.1679, allocations: 31.84 kB / 0.4909 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.339e-05/0.168, allocations: 47.67 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.1682, allocations: 119.6 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1683, allocations: 0 / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1683, allocations: 0 / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1683, allocations: 3.938 kB / 0.491 GB, free: 8.566 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007379/0.169, allocations: 446.7 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1691, allocations: 11.89 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.1692, allocations: 12.84 kB / 0.4915 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.1695, allocations: 215.7 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1696, allocations: 8.375 kB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.1696, allocations: 4.125 kB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.1698, allocations: 53.67 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1698, allocations: 3.906 kB / 0.4917 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1698, allocations: 4 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1698, allocations: 3.938 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1699, allocations: 19.98 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.1704, allocations: 300.8 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1706, allocations: 50.69 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.1706, allocations: 24.78 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1707, allocations: 4 kB / 0.4921 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.1708, allocations: 67.39 kB / 0.4922 GB, free: 7.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.1708, allocations: 3.938 kB / 0.4922 GB, free: 7.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005999/0.1715, allocations: 185.4 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.1715, allocations: 55.41 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.1718, allocations: 258.5 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1718, allocations: 25.7 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.1719, allocations: 120 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1719, allocations: 19.75 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.1719, allocations: 25.7 kB / 0.4929 GB, free: 6.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1721, allocations: 330.8 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.1722, allocations: 24.05 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.1722, allocations: 41.64 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.1724, allocations: 61.66 kB / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1724, allocations: 0 / 0.4933 GB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002109/0.1726, allocations: 105.4 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1726, allocations: 4 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1726, allocations: 4 kB / 0.4934 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.1726, allocations: 3.984 kB / 0.4934 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.1727, allocations: 15.98 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1728, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.623e-05/0.1728, allocations: 15.97 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1728, allocations: 4 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001274/0.173, allocations: 133.8 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.173, allocations: 15.81 kB / 0.4936 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.484e-05/0.1731, allocations: 21.39 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1731, allocations: 0 / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1731, allocations: 3.938 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1731, allocations: 7.938 kB / 0.4936 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.1736, allocations: 407.3 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1736, allocations: 0 / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.1737, allocations: 11.94 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1737, allocations: 0 / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1737, allocations: 3.938 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1737, allocations: 4 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1737, allocations: 0 / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.174, allocations: 208.2 kB / 0.4942 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.1741, allocations: 92.91 kB / 0.4943 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1741, allocations: 3.938 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.1742, allocations: 4 kB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.1742, allocations: 11.92 kB / 0.4943 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1743, allocations: 8 kB / 0.4943 GB, free: 4.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1744, allocations: 188.5 kB / 0.4945 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1745, allocations: 4 kB / 0.4945 GB, free: 4.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1748, allocations: 31.98 kB / 0.4945 GB, free: 4.594 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001071/0.1758, allocations: 467.8 kB / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.176, allocations: 55.92 kB / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.176, allocations: 0 / 0.495 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.1762, allocations: 31.98 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1766, allocations: 35.27 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005955/0.1772, allocations: 291.5 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1776, allocations: 0.7237 MB / 0.4961 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.481e-05/0.1776, allocations: 8.891 kB / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.1777, allocations: 19.42 kB / 0.4961 GB, free: 2.961 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1777, allocations: 0 / 0.4961 GB, free: 2.961 MB / 382.1 MB Notification: Performance of Templates: time 0.005104/0.1828, allocations: 1.735 MB / 0.4978 GB, free: 1.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches