Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001657/0.001657, allocations: 100.8 kB / 15.98 MB, free: 6.766 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.001574/0.001574, allocations: 192 kB / 16.9 MB, free: 6.559 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.875/1.875, allocations: 205.1 MB / 222.8 MB, free: 4.746 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.3912/0.3912, allocations: 43.5 MB / 313.6 MB, free: 8.496 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.001341/0.001341, allocations: 70.56 kB / 382.2 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1613, allocations: 57.79 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.00329/0.1647, allocations: 1.672 MB / 441.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.166, allocations: 0.9377 MB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.1661, allocations: 4 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1663, allocations: 19.92 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1666, allocations: 35.91 kB / 442.7 MB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1669, allocations: 147.7 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.1671, allocations: 71.77 kB / 442.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1672, allocations: 24.25 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.52e-05/0.1673, allocations: 19.92 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1674, allocations: 31.84 kB / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.1674, allocations: 4 kB / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1676, allocations: 59.91 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.1676, allocations: 15.94 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.1677, allocations: 31.78 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.1679, allocations: 95.7 kB / 443.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1679, allocations: 8 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1679, allocations: 0 / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.002e-06/0.1679, allocations: 0 / 443.2 MB, free: 11.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004944/0.1684, allocations: 383.2 kB / 443.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1684, allocations: 11.89 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.161e-05/0.1685, allocations: 8.844 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1687, allocations: 192.2 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1687, allocations: 12.31 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1687, allocations: 4.375 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1689, allocations: 75.52 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.169, allocations: 0 / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.169, allocations: 0 / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.169, allocations: 4 kB / 443.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.1691, allocations: 43.95 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.1696, allocations: 300.7 kB / 444.2 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.1697, allocations: 50.48 kB / 444.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.1698, allocations: 32.94 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1698, allocations: 0 / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.1699, allocations: 30.56 kB / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1699, allocations: 0 / 444.3 MB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007586/0.1706, allocations: 225.3 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.1707, allocations: 81.11 kB / 444.6 MB, free: 9.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1708, allocations: 133.6 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1708, allocations: 29.7 kB / 444.8 MB, free: 9.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.1709, allocations: 92.03 kB / 444.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1709, allocations: 23.66 kB / 444.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.171, allocations: 25.7 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1711, allocations: 322.8 kB / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1712, allocations: 43.89 kB / 445.3 MB, free: 9.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1713, allocations: 53.75 kB / 445.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1716, allocations: 88.8 kB / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1716, allocations: 4.031 kB / 445.4 MB, free: 9.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002699/0.1718, allocations: 125.5 kB / 445.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1719, allocations: 8 kB / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1719, allocations: 0 / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1719, allocations: 0 / 445.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.172, allocations: 23.92 kB / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.172, allocations: 0 / 445.5 MB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.694e-05/0.1721, allocations: 15.92 kB / 445.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.1721, allocations: 4 kB / 445.6 MB, free: 8.914 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 (7): * Single equations (assignments): 7 * 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 9.568e-05/0.1722, allocations: 121.8 kB / 445.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.1722, allocations: 7.906 kB / 445.7 MB, free: 8.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.1726, allocations: 134 kB / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1726, allocations: 4 kB / 445.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1726, allocations: 0 / 445.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1726, allocations: 3.938 kB / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.1731, allocations: 410.4 kB / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1731, allocations: 0 / 446.2 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-05/0.1732, allocations: 20.27 kB / 446.3 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1732, allocations: 4 kB / 446.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1733, allocations: 7.875 kB / 446.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1733, allocations: 4 kB / 446.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1733, allocations: 0 / 446.3 MB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.1736, allocations: 223.3 kB / 446.5 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.1736, allocations: 85.02 kB / 446.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.1737, allocations: 7.938 kB / 446.6 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.144e-05/0.1738, allocations: 7.984 kB / 446.6 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.1738, allocations: 11.98 kB / 446.6 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.1738, allocations: 4 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.356e-05/0.1739, allocations: 99.27 kB / 446.7 MB, free: 7.676 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1739, allocations: 4 kB / 446.7 MB, free: 7.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1742, allocations: 20 kB / 446.7 MB, free: 7.652 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 (7): * Single equations (assignments): 7 * 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.000995/0.1752, allocations: 451.4 kB / 447.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.1755, allocations: 99.8 kB / 447.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1755, allocations: 0 / 447.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.1756, allocations: 47.97 kB / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.176, allocations: 27.78 kB / 447.3 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.1765, allocations: 222.3 kB / 447.6 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1768, allocations: 0.7041 MB / 448.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.548e-05/0.1769, allocations: 15.98 kB / 448.3 MB, free: 6.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.368e-05/0.1769, allocations: 19.42 kB / 448.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1769, allocations: 0 / 448.3 MB, free: 6.055 MB / 382.1 MB Notification: Performance of Templates: time 0.004154/0.1811, allocations: 1.475 MB / 449.8 MB, free: 4.578 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches