Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 110.8 kB / 16.41 MB, free: 6.027 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.001763/0.001763, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.26 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.2478/0.2478, allocations: 43.53 MB / 314.1 MB, free: 460 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.001382/0.001382, allocations: 71.88 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1568, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003546/0.1604, allocations: 1.662 MB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007986/0.1612, allocations: 383.4 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.1613, allocations: 0 / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1616, allocations: 23.84 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1619, allocations: 47.72 kB / 0.49 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.1623, allocations: 155.6 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1625, allocations: 95.69 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1627, allocations: 24.2 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.1628, allocations: 35.84 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.1629, allocations: 35.84 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1629, allocations: 8 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.163, allocations: 55.91 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.083e-05/0.1631, allocations: 23.92 kB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.1632, allocations: 31.8 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.1634, allocations: 115.7 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.1634, allocations: 0 / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1634, allocations: 0 / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1635, allocations: 0 / 0.4905 GB, free: 9.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007431/0.1642, allocations: 426.4 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1643, allocations: 12.03 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.1643, allocations: 8.844 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.1646, allocations: 192.2 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1646, allocations: 4.375 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1646, allocations: 4.375 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.1649, allocations: 103.5 kB / 0.4912 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.165, allocations: 4 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.165, allocations: 0 / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.165, allocations: 0 / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.1653, allocations: 79.86 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.1659, allocations: 328.7 kB / 0.4916 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.1662, allocations: 78.5 kB / 0.4917 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1663, allocations: 44.95 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.1664, allocations: 3.938 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.1664, allocations: 34.56 kB / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1664, allocations: 0 / 0.4918 GB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001633/0.1681, allocations: 396.9 kB / 0.4922 GB, free: 7.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1681, allocations: 77.11 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1683, allocations: 142.2 kB / 0.4924 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1683, allocations: 25.7 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1684, allocations: 104 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1684, allocations: 27.64 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.744e-05/0.1685, allocations: 17.72 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1686, allocations: 326.8 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.1689, allocations: 71.92 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.1692, allocations: 89.62 kB / 0.493 GB, free: 6.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.1697, allocations: 156.7 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1697, allocations: 0 / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005835/0.1703, allocations: 201.4 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.1703, allocations: 6.656 kB / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1703, allocations: 0 / 0.4933 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1703, allocations: 3.938 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.1706, allocations: 31.97 kB / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.1706, allocations: 0 / 0.4934 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.1707, allocations: 40.27 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.1708, allocations: 0 / 0.4934 GB, free: 5.887 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 (8): * Single equations (assignments): 8 * 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.0001121/0.1709, allocations: 121.8 kB / 0.4935 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.1709, allocations: 7.906 kB / 0.4935 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000668/0.1716, allocations: 226.4 kB / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1716, allocations: 0 / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1716, allocations: 0 / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.1716, allocations: 3.938 kB / 0.4938 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009118/0.1725, allocations: 498.3 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1726, allocations: 0 / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.1727, allocations: 31.97 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1727, allocations: 0 / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.1728, allocations: 7.938 kB / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1728, allocations: 0 / 0.4943 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.1728, allocations: 7.984 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.1734, allocations: 287.3 kB / 0.4946 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1735, allocations: 85.02 kB / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1735, allocations: 3.938 kB / 0.4946 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.1737, allocations: 23.97 kB / 0.4947 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.19e-05/0.1737, allocations: 15.92 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1737, allocations: 0 / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.068e-05/0.1738, allocations: 111.2 kB / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1739, allocations: 0 / 0.4948 GB, free: 4.375 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1741, allocations: 32 kB / 0.4948 GB, free: 4.344 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 (8): * Single equations (assignments): 8 * 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.001056/0.1752, allocations: 456 kB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006366/0.1758, allocations: 171.8 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1759, allocations: 0 / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.1762, allocations: 91.84 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.1766, allocations: 23.59 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.1771, allocations: 217.9 kB / 0.4957 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1774, allocations: 0.7002 MB / 0.4964 GB, free: 2.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.181e-05/0.1775, allocations: 20.42 kB / 0.4964 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.1776, allocations: 19.42 kB / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1776, allocations: 0 / 0.4964 GB, free: 2.652 MB / 382.1 MB Notification: Performance of Templates: time 0.005461/0.1831, allocations: 2.067 MB / 0.4985 GB, free: 0.5859 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches