Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001113, allocations: 113.7 kB / 17.04 MB, free: 6.129 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.001021/0.001022, allocations: 195.1 kB / 17.98 MB, free: 5.227 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.818/1.818, allocations: 205.1 MB / 223.8 MB, free: 12.29 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.2524/0.2524, allocations: 43.52 MB / 314.7 MB, free: 484 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.001794/0.001794, allocations: 67.91 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1469, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003688/0.1507, allocations: 1.612 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007488/0.1514, allocations: 343.6 kB / 0.4904 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.1516, allocations: 0 / 0.4904 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.1522, allocations: 459.1 kB / 0.4908 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004023/0.1526, allocations: 251.4 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.1531, allocations: 151.7 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.1534, allocations: 159.6 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.1536, allocations: 28.16 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.1538, allocations: 103.8 kB / 0.4915 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1541, allocations: 215.6 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.1542, allocations: 8 kB / 0.4917 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1543, allocations: 35.92 kB / 0.4917 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1544, allocations: 79.69 kB / 0.4918 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.041e-05/0.1545, allocations: 99 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.1548, allocations: 255 kB / 0.4922 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1548, allocations: 0 / 0.4922 GB, free: 8.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1548, allocations: 0 / 0.4922 GB, free: 8.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1549, allocations: 0 / 0.4922 GB, free: 8.055 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.0008155/0.1557, allocations: 0.6375 MB / 0.4928 GB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1557, allocations: 15.83 kB / 0.4928 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.1558, allocations: 48.38 kB / 0.4928 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1561, allocations: 296.2 kB / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1561, allocations: 384 / 0.4931 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1562, allocations: 4.375 kB / 0.4931 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1563, allocations: 57.62 kB / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1563, allocations: 0 / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.1564, allocations: 3.984 kB / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1564, allocations: 0 / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1565, allocations: 31.92 kB / 0.4932 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.157, allocations: 400.6 kB / 0.4936 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.1572, allocations: 38.56 kB / 0.4936 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.1573, allocations: 20.94 kB / 0.4937 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1573, allocations: 0 / 0.4937 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1574, allocations: 42.5 kB / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1574, allocations: 0 / 0.4937 GB, free: 6.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006468/0.158, allocations: 228 kB / 0.4939 GB, free: 6.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1581, allocations: 55.41 kB / 0.494 GB, free: 6.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008031/0.1589, allocations: 0.8574 MB / 0.4948 GB, free: 5.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1589, allocations: 29.7 kB / 0.4948 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.1591, allocations: 224.1 kB / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1591, allocations: 23.72 kB / 0.4951 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1592, allocations: 17.72 kB / 0.4951 GB, free: 4.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1593, allocations: 362.8 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.613e-05/0.1594, allocations: 19.98 kB / 0.4954 GB, free: 4.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.405e-05/0.1595, allocations: 19.98 kB / 0.4955 GB, free: 4.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1596, allocations: 61.02 kB / 0.4955 GB, free: 4.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1596, allocations: 0 / 0.4955 GB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002166/0.1598, allocations: 121.1 kB / 0.4956 GB, free: 4.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1599, allocations: 7.125 kB / 0.4956 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1599, allocations: 4 kB / 0.4957 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1599, allocations: 0 / 0.4957 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.635e-05/0.16, allocations: 11.98 kB / 0.4957 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.16, allocations: 3.984 kB / 0.4957 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.1601, allocations: 11.94 kB / 0.4957 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1601, allocations: 0 / 0.4957 GB, free: 4.211 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.0002003/0.1603, allocations: 221.7 kB / 0.4959 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.1603, allocations: 43.66 kB / 0.4959 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.1607, allocations: 145 kB / 0.4961 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1607, allocations: 3.984 kB / 0.4961 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1607, allocations: 0 / 0.4961 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.1607, allocations: 3.938 kB / 0.4961 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.1613, allocations: 462.4 kB / 0.4965 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1613, allocations: 0 / 0.4965 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.1613, allocations: 15.98 kB / 0.4965 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1613, allocations: 4.188 kB / 0.4965 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1614, allocations: 7.938 kB / 0.4965 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1614, allocations: 0 / 0.4965 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1614, allocations: 3.938 kB / 0.4965 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1617, allocations: 219 kB / 0.4968 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-05/0.1617, allocations: 104.6 kB / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.1618, allocations: 11.92 kB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.1619, allocations: 4 kB / 0.4969 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1619, allocations: 0 / 0.4969 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1619, allocations: 4 kB / 0.4969 GB, free: 2.875 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006133/0.1625, allocations: 0.655 MB / 0.4975 GB, free: 2.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1626, allocations: 0 / 0.4975 GB, free: 2.223 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.1628, allocations: 24 kB / 0.4975 GB, free: 2.199 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.0009348/0.1638, allocations: 406.3 kB / 0.4979 GB, free: 1.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.164, allocations: 51.91 kB / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.164, allocations: 0 / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.359e-05/0.1641, allocations: 35.97 kB / 0.498 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1645, allocations: 21.97 kB / 0.498 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1658, allocations: 0.8162 MB / 0.4988 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.1663, allocations: 0.8221 MB / 0.4996 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.1663, allocations: 19.36 kB / 0.4996 GB, free: 8 kB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1663, allocations: 0 / 0.4996 GB, free: 8 kB / 382.1 MB Notification: Performance of Templates: time 0.00818/0.1745, allocations: 3.715 MB / 0.5033 GB, free: 12.29 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches