Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009244/0.0009243, allocations: 97.09 kB / 16.02 MB, free: 84 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.0009901/0.0009901, allocations: 177 kB / 16.92 MB, free: 6.68 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.109/2.109, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.5009/0.5009, allocations: 43.57 MB / 315 MB, free: 9.105 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.000565/0.000565, allocations: 12 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1626, allocations: 58.86 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.003568/0.1663, allocations: 1.271 MB / 444.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1689, allocations: 0.922 MB / 445.6 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.169, allocations: 4 kB / 445.6 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1694, allocations: 23.91 kB / 445.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1696, allocations: 35.91 kB / 445.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1699, allocations: 75.84 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.17, allocations: 55.83 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.1702, allocations: 15.98 kB / 445.8 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.1703, allocations: 23.86 kB / 445.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001772/0.1705, allocations: 23.91 kB / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1705, allocations: 0 / 445.9 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1706, allocations: 47.98 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.1707, allocations: 7.922 kB / 445.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.109e-05/0.1708, allocations: 41.58 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.171, allocations: 99.91 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.171, allocations: 0 / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.171, allocations: 0 / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.171, allocations: 0 / 446.1 MB, free: 10.24 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.000623/0.1717, allocations: 371.3 kB / 446.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.1717, allocations: 8.031 kB / 446.5 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/0.1718, allocations: 8.844 kB / 446.5 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1721, allocations: 192.2 kB / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1721, allocations: 384 / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1721, allocations: 384 / 446.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1723, allocations: 75.47 kB / 446.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1724, allocations: 3.984 kB / 446.7 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1724, allocations: 0 / 446.7 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1724, allocations: 0 / 446.7 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1725, allocations: 27.98 kB / 446.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.173, allocations: 284.9 kB / 447 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.1732, allocations: 50.48 kB / 447.1 MB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.1733, allocations: 16.86 kB / 447.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.1733, allocations: 0 / 447.1 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1734, allocations: 30.56 kB / 447.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.1734, allocations: 4 kB / 447.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000674/0.1741, allocations: 169.3 kB / 447.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.1741, allocations: 81.11 kB / 447.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.1743, allocations: 133.8 kB / 447.5 MB, free: 8.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.1743, allocations: 25.7 kB / 447.5 MB, free: 8.582 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.1744, allocations: 100.1 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.1744, allocations: 7.812 kB / 447.6 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.1745, allocations: 17.72 kB / 447.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1746, allocations: 318.8 kB / 448 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.1747, allocations: 31.92 kB / 448 MB, free: 8.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.086e-05/0.1748, allocations: 37.7 kB / 448 MB, free: 8.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.175, allocations: 68.8 kB / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.175, allocations: 0 / 448.1 MB, free: 7.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002046/0.1752, allocations: 89.56 kB / 448.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1752, allocations: 4 kB / 448.2 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.1753, allocations: 4 kB / 448.2 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1753, allocations: 3.938 kB / 448.2 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.1753, allocations: 20.23 kB / 448.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.1754, allocations: 0 / 448.2 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.1754, allocations: 12 kB / 448.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1754, allocations: 0 / 448.2 MB, free: 7.848 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.0001113/0.1755, allocations: 125.8 kB / 448.4 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.1756, allocations: 7.906 kB / 448.4 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.1758, allocations: 109.6 kB / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1759, allocations: 0 / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1759, allocations: 0 / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1759, allocations: 0 / 448.5 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004737/0.1764, allocations: 366.4 kB / 448.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1764, allocations: 0 / 448.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.1764, allocations: 15.98 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.1764, allocations: 0 / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1765, allocations: 0 / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1765, allocations: 3.938 kB / 448.8 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1765, allocations: 0 / 448.8 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1767, allocations: 191.4 kB / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.1768, allocations: 89 kB / 449.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.1768, allocations: 0 / 449.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.1769, allocations: 11.94 kB / 449.1 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.177, allocations: 7.984 kB / 449.1 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.177, allocations: 8.125 kB / 449.1 MB, free: 6.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.013e-05/0.1771, allocations: 103.3 kB / 449.2 MB, free: 6.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1771, allocations: 0 / 449.2 MB, free: 6.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1773, allocations: 20 kB / 449.3 MB, free: 6.703 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.001116/0.1785, allocations: 456.1 kB / 449.7 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1787, allocations: 63.95 kB / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1787, allocations: 0 / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.1788, allocations: 31.92 kB / 449.8 MB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.1791, allocations: 19.98 kB / 449.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004296/0.1796, allocations: 176.7 kB / 450 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1799, allocations: 0.6887 MB / 450.7 MB, free: 5.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.805e-05/0.18, allocations: 19.97 kB / 450.7 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.1801, allocations: 15.44 kB / 450.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1801, allocations: 0 / 450.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of Templates: time 0.004364/0.1844, allocations: 1.3 MB / 452 MB, free: 3.926 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches