Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.001531, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002187/0.002188, allocations: 185.5 kB / 16.92 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.533/0.533, allocations: 43.57 MB / 315 MB, free: 9.059 MB / 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.0006856/0.0006856, allocations: 23.98 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1662, allocations: 58.86 MB / 443.5 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.002376/0.1686, allocations: 1.271 MB / 444.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.1693, allocations: 323.6 kB / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.1694, allocations: 0 / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.1697, allocations: 119.8 kB / 445.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.1699, allocations: 83.83 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1702, allocations: 79.84 kB / 445.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1704, allocations: 83.8 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1705, allocations: 15.97 kB / 445.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.574e-05/0.1706, allocations: 39.83 kB / 445.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1707, allocations: 75.86 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1708, allocations: 0 / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.611e-05/0.1708, allocations: 31.98 kB / 445.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.5e-05/0.1709, allocations: 27.86 kB / 445.6 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.171, allocations: 53.44 kB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.1712, allocations: 107.8 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1712, allocations: 3.984 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1712, allocations: 0 / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1712, allocations: 0 / 445.7 MB, free: 10.59 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.0005897/0.1718, allocations: 407 kB / 446.1 MB, free: 10.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1718, allocations: 8.031 kB / 446.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.735e-05/0.1719, allocations: 12.84 kB / 446.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1721, allocations: 207.7 kB / 446.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1722, allocations: 4.375 kB / 446.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.1722, allocations: 4.375 kB / 446.4 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1723, allocations: 49.81 kB / 446.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1724, allocations: 0 / 446.4 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1724, allocations: 11.88 kB / 446.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1724, allocations: 0 / 446.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.909e-05/0.1725, allocations: 27.97 kB / 446.5 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.173, allocations: 300.8 kB / 446.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.1732, allocations: 50.56 kB / 446.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.909e-05/0.1733, allocations: 24.88 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1733, allocations: 0 / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1734, allocations: 30.56 kB / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1734, allocations: 0 / 446.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000612/0.174, allocations: 185.3 kB / 447 MB, free: 9.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.174, allocations: 51.41 kB / 447.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1743, allocations: 270.4 kB / 447.4 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1743, allocations: 25.7 kB / 447.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.1744, allocations: 112.1 kB / 447.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.1744, allocations: 7.812 kB / 447.5 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1745, allocations: 17.72 kB / 447.5 MB, free: 8.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1746, allocations: 326.8 kB / 447.8 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.502e-05/0.1747, allocations: 27.97 kB / 447.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.56e-05/0.1748, allocations: 32.05 kB / 447.9 MB, free: 8.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.175, allocations: 56.83 kB / 447.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.175, allocations: 0 / 447.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002204/0.1752, allocations: 109.4 kB / 448.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1752, allocations: 7.984 kB / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1752, allocations: 0 / 448.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1752, allocations: 4 kB / 448.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.1753, allocations: 8 kB / 448.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1753, allocations: 4 kB / 448.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.1754, allocations: 15.92 kB / 448.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1754, allocations: 0 / 448.1 MB, free: 8.02 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.0001072/0.1755, allocations: 137.8 kB / 448.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.1755, allocations: 15.81 kB / 448.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1758, allocations: 114.6 kB / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1758, allocations: 0 / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1758, allocations: 0 / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.1758, allocations: 0 / 448.4 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.1763, allocations: 382.4 kB / 448.7 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1763, allocations: 7.984 kB / 448.7 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.1764, allocations: 15.94 kB / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1764, allocations: 0 / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1764, allocations: 320 / 448.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.1764, allocations: 7.938 kB / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1764, allocations: 0 / 448.8 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1766, allocations: 195.4 kB / 449 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1767, allocations: 92.91 kB / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.1767, allocations: 0 / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.1768, allocations: 15.94 kB / 449.1 MB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.1769, allocations: 3.984 kB / 449.1 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.1769, allocations: 4 kB / 449.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001732/0.177, allocations: 208.3 kB / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1771, allocations: 0 / 449.3 MB, free: 6.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.1773, allocations: 12 kB / 449.3 MB, free: 6.719 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.001147/0.1784, allocations: 405.7 kB / 449.7 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.1787, allocations: 67.95 kB / 449.7 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.1787, allocations: 3.938 kB / 449.7 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.1788, allocations: 27.98 kB / 449.8 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1791, allocations: 15.98 kB / 449.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006297/0.1798, allocations: 301.8 kB / 450.1 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.1802, allocations: 0.716 MB / 450.8 MB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.646e-05/0.1803, allocations: 19.97 kB / 450.8 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1803, allocations: 11.44 kB / 450.8 MB, free: 5.141 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1803, allocations: 0 / 450.8 MB, free: 5.141 MB / 382.1 MB Notification: Performance of Templates: time 0.004332/0.1847, allocations: 1.074 MB / 451.9 MB, free: 4.066 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches