Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.2 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.001056/0.001056, 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.687/1.687, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2598/0.2598, allocations: 43.53 MB / 314.1 MB, free: 472 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.001408/0.001408, allocations: 63.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1523, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.004081/0.1564, allocations: 1.662 MB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.1571, allocations: 343.4 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.677e-05/0.1572, allocations: 8 kB / 0.4899 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.1574, allocations: 23.86 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.1577, allocations: 43.7 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.158, allocations: 119.7 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.1582, allocations: 83.75 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.1583, allocations: 16.23 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.954e-05/0.1584, allocations: 31.86 kB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.1585, allocations: 43.81 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1585, allocations: 4 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1586, allocations: 51.92 kB / 0.4903 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.029e-05/0.1587, allocations: 19.92 kB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.1587, allocations: 35.78 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.159, allocations: 111.7 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.159, allocations: 4 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.159, allocations: 0 / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.159, allocations: 0 / 0.4904 GB, free: 9.203 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.0007143/0.1597, allocations: 419.1 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1598, allocations: 12.03 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1598, allocations: 8.844 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.1601, allocations: 192.1 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.1601, allocations: 384 / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.1601, allocations: 8.375 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.1604, allocations: 99.47 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1604, allocations: 0 / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1604, allocations: 0 / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1604, allocations: 0 / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1608, allocations: 79.86 kB / 0.4912 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.1612, allocations: 300.7 kB / 0.4915 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1615, allocations: 70.53 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1617, allocations: 48.88 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1617, allocations: 0 / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1618, allocations: 34.5 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.1618, allocations: 3.938 kB / 0.4916 GB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001674/0.1634, allocations: 373.2 kB / 0.492 GB, free: 7.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1636, allocations: 81.09 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.1638, allocations: 144.4 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/0.1638, allocations: 29.7 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.625e-05/0.1639, allocations: 92.14 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.164, allocations: 31.55 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.164, allocations: 17.72 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1642, allocations: 330.8 kB / 0.4927 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.1645, allocations: 63.92 kB / 0.4927 GB, free: 6.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002819/0.1648, allocations: 85.64 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.1653, allocations: 144.8 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1653, allocations: 0 / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005914/0.1659, allocations: 185.4 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.166, allocations: 4 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.166, allocations: 0 / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.166, allocations: 0 / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.1662, allocations: 35.97 kB / 0.4932 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1662, allocations: 3.984 kB / 0.4932 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1664, allocations: 31.91 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1664, allocations: 0 / 0.4932 GB, free: 6.094 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.0001511/0.1666, allocations: 121.8 kB / 0.4933 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1666, allocations: 7.906 kB / 0.4933 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.1673, allocations: 198.2 kB / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1673, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1673, allocations: 0 / 0.4935 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1673, allocations: 7.938 kB / 0.4935 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.1682, allocations: 474.3 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1682, allocations: 0 / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.1683, allocations: 35.97 kB / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1684, allocations: 0 / 0.494 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1684, allocations: 7.938 kB / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1684, allocations: 480 / 0.494 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1684, allocations: 3.938 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.169, allocations: 287.3 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.169, allocations: 85.02 kB / 0.4944 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1691, allocations: 3.938 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.1692, allocations: 23.97 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.1693, allocations: 15.92 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1693, allocations: 4 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.861e-05/0.1694, allocations: 115.9 kB / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1694, allocations: 0 / 0.4945 GB, free: 4.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1697, allocations: 31.94 kB / 0.4946 GB, free: 4.59 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.001138/0.1709, allocations: 455.4 kB / 0.495 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.1715, allocations: 147.8 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1715, allocations: 3.938 kB / 0.4952 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.1718, allocations: 83.86 kB / 0.4952 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.1723, allocations: 27.28 kB / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.1728, allocations: 189.9 kB / 0.4954 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1731, allocations: 0.7041 MB / 0.4961 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.559e-05/0.1731, allocations: 16.95 kB / 0.4961 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.874e-05/0.1732, allocations: 19.42 kB / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1732, allocations: 0 / 0.4962 GB, free: 2.949 MB / 382.1 MB Notification: Performance of Templates: time 0.004993/0.1782, allocations: 2.024 MB / 0.4981 GB, free: 0.9258 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches