Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,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.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 105.9 kB / 16.41 MB, free: 6.445 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.001123/0.001123, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.527/1.527, 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.2628/0.2628, allocations: 43.53 MB / 314.1 MB, free: 476 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.001377/0.001378, allocations: 67.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1699, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test11): time 0.003769/0.1737, allocations: 1.542 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007462/0.1745, allocations: 331.5 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.234e-05/0.1746, allocations: 0 / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1749, allocations: 31.84 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.1752, allocations: 35.84 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.1755, allocations: 95.73 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1757, allocations: 59.84 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.1759, allocations: 15.97 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.065e-05/0.176, allocations: 19.88 kB / 0.49 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.978e-05/0.176, allocations: 23.91 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1761, allocations: 0 / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1762, allocations: 27.98 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.1763, allocations: 11.94 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.1763, allocations: 39.73 kB / 0.4901 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1766, allocations: 75.66 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1766, allocations: 8 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1766, allocations: 0 / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1766, allocations: 0 / 0.4901 GB, free: 9.488 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.0006329/0.1773, allocations: 386.4 kB / 0.4905 GB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1773, allocations: 15.89 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1774, allocations: 4.891 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1776, allocations: 192.2 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1776, allocations: 384 / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1777, allocations: 4.359 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1778, allocations: 61.75 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1779, allocations: 0 / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1779, allocations: 0 / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1779, allocations: 4 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.178, allocations: 19.98 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.1785, allocations: 284.8 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1787, allocations: 50.48 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.726e-05/0.1788, allocations: 20.94 kB / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1788, allocations: 0 / 0.4911 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1789, allocations: 34.56 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1789, allocations: 0 / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006459/0.1795, allocations: 153.4 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.1796, allocations: 51.41 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1797, allocations: 165.8 kB / 0.4915 GB, free: 7.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.1798, allocations: 29.7 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.1798, allocations: 96.12 kB / 0.4916 GB, free: 7.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1799, allocations: 19.84 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.1799, allocations: 17.72 kB / 0.4917 GB, free: 7.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.18, allocations: 326.8 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.1801, allocations: 19.98 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.1802, allocations: 23.92 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1803, allocations: 56.77 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1803, allocations: 0 / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000227/0.1806, allocations: 85.86 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.1806, allocations: 15.94 kB / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1806, allocations: 0 / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1806, allocations: 0 / 0.4922 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.1807, allocations: 15.98 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1807, allocations: 0 / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1808, allocations: 4 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1808, allocations: 4 kB / 0.4922 GB, free: 7.148 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.0001191/0.1809, allocations: 125.7 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.181, allocations: 15.89 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.1813, allocations: 97.95 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1813, allocations: 0 / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1813, allocations: 0 / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1813, allocations: 0 / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.1818, allocations: 358.4 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1818, allocations: 0 / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.1819, allocations: 15.98 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1819, allocations: 0 / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1819, allocations: 8 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1819, allocations: 3.938 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1819, allocations: 0 / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1821, allocations: 179.5 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.1822, allocations: 81.06 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.1822, allocations: 4 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.1823, allocations: 12.11 kB / 0.4931 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1824, allocations: 15.94 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.1824, allocations: 0 / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.527e-05/0.1825, allocations: 130.9 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1825, allocations: 0 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1827, allocations: 15.94 kB / 0.4932 GB, free: 6 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.0009653/0.1837, allocations: 406.8 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1839, allocations: 51.95 kB / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1839, allocations: 0 / 0.4937 GB, free: 5.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.184, allocations: 27.92 kB / 0.4937 GB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1843, allocations: 23.59 kB / 0.4937 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.1848, allocations: 193.8 kB / 0.4939 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1851, allocations: 0.6965 MB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.1852, allocations: 15.98 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1852, allocations: 19.42 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1852, allocations: 0 / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of Templates: time 0.00422/0.1894, allocations: 1.108 MB / 0.4957 GB, free: 3.457 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches