Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 110.5 kB / 17.04 MB, free: 6.121 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.001811/0.001811, allocations: 193.7 kB / 17.97 MB, free: 5.223 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.611/1.611, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2793/0.2793, allocations: 43.52 MB / 314.7 MB, free: 480 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.001407/0.001407, allocations: 69.47 kB / 442.4 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1663, allocations: 57.79 MB / 0.4885 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003635/0.17, allocations: 1.612 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.1707, allocations: 347.5 kB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.1708, allocations: 0 / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006305/0.1715, allocations: 455.1 kB / 0.4908 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003981/0.1719, allocations: 255.5 kB / 0.4911 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.1723, allocations: 155.6 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1726, allocations: 163.7 kB / 0.4914 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1727, allocations: 20.17 kB / 0.4914 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.1728, allocations: 111.7 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002681/0.1731, allocations: 211.6 kB / 0.4917 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1731, allocations: 4 kB / 0.4917 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.278e-05/0.1732, allocations: 31.98 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1734, allocations: 79.7 kB / 0.4918 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1735, allocations: 98.98 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.1738, allocations: 259 kB / 0.4922 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1738, allocations: 0 / 0.4922 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1738, allocations: 0 / 0.4922 GB, free: 8.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1738, allocations: 0 / 0.4922 GB, free: 8.059 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.0007933/0.1746, allocations: 0.6409 MB / 0.4928 GB, free: 7.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1747, allocations: 11.89 kB / 0.4928 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.1748, allocations: 44.38 kB / 0.4928 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.1751, allocations: 296.2 kB / 0.4931 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1751, allocations: 4.375 kB / 0.4931 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.1751, allocations: 4.375 kB / 0.4931 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.1753, allocations: 57.56 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1753, allocations: 0 / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1753, allocations: 7.984 kB / 0.4932 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1754, allocations: 4 kB / 0.4932 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1755, allocations: 27.97 kB / 0.4932 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005369/0.176, allocations: 396.6 kB / 0.4936 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1763, allocations: 50.5 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.308e-05/0.1763, allocations: 12.94 kB / 0.4937 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.1764, allocations: 8 kB / 0.4937 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1764, allocations: 30.56 kB / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1764, allocations: 0 / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006775/0.1771, allocations: 228 kB / 0.4939 GB, free: 6.086 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1771, allocations: 59.39 kB / 0.494 GB, free: 6.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008276/0.178, allocations: 0.8652 MB / 0.4948 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.178, allocations: 29.64 kB / 0.4948 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1782, allocations: 220.1 kB / 0.4951 GB, free: 4.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1782, allocations: 23.66 kB / 0.4951 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.1783, allocations: 13.72 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1784, allocations: 362.8 kB / 0.4954 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-05/0.1785, allocations: 19.98 kB / 0.4955 GB, free: 4.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.1786, allocations: 23.98 kB / 0.4955 GB, free: 4.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1787, allocations: 56.95 kB / 0.4955 GB, free: 4.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1788, allocations: 4 kB / 0.4955 GB, free: 4.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002124/0.179, allocations: 117.2 kB / 0.4956 GB, free: 4.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.179, allocations: 8 kB / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.179, allocations: 0 / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.179, allocations: 0 / 0.4957 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/0.1791, allocations: 15.98 kB / 0.4957 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1791, allocations: 0 / 0.4957 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.1792, allocations: 7.938 kB / 0.4957 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1792, allocations: 4 kB / 0.4957 GB, free: 4.215 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.0002122/0.1794, allocations: 217.7 kB / 0.4959 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.1795, allocations: 43.38 kB / 0.4959 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.1798, allocations: 145 kB / 0.4961 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1798, allocations: 4 kB / 0.4961 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1798, allocations: 0 / 0.4961 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1798, allocations: 3.938 kB / 0.4961 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.1804, allocations: 462.4 kB / 0.4965 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1804, allocations: 0 / 0.4965 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.248e-05/0.1805, allocations: 11.98 kB / 0.4965 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1805, allocations: 4 kB / 0.4965 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1805, allocations: 3.938 kB / 0.4965 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1805, allocations: 4 kB / 0.4965 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1805, allocations: 0 / 0.4965 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.1808, allocations: 223.1 kB / 0.4968 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-05/0.1809, allocations: 104.6 kB / 0.4969 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1809, allocations: 3.938 kB / 0.4969 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.181, allocations: 7.984 kB / 0.4969 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.181, allocations: 11.94 kB / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-06/0.181, allocations: 0 / 0.4969 GB, free: 2.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006081/0.1817, allocations: 0.6511 MB / 0.4975 GB, free: 2.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1817, allocations: 0 / 0.4975 GB, free: 2.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.1819, allocations: 28 kB / 0.4975 GB, free: 2.207 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.0009956/0.1829, allocations: 408.9 kB / 0.4979 GB, free: 1.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1832, allocations: 59.97 kB / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1832, allocations: 0 / 0.498 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.656e-05/0.1833, allocations: 35.91 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.0004047/0.1837, allocations: 17.97 kB / 0.498 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.1848, allocations: 0.8201 MB / 0.4988 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.1853, allocations: 0.8182 MB / 0.4996 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.1854, allocations: 15.44 kB / 0.4996 GB, free: 16 kB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1854, allocations: 4 kB / 0.4997 GB, free: 12 kB / 382.1 MB Notification: Performance of Templates: time 0.007202/0.1926, allocations: 3.719 MB / 0.5033 GB, free: 12.29 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches