Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 108 kB / 16.41 MB, free: 6.457 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.00132/0.00132, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1983/0.1983, allocations: 43.52 MB / 314.1 MB, free: 452 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.002639/0.002639, allocations: 69.62 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1624, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.004293/0.1668, allocations: 1.554 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009199/0.1677, allocations: 327.5 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.1679, allocations: 0 / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.1684, allocations: 79.77 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.1687, allocations: 67.73 kB / 0.4899 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.1691, allocations: 91.8 kB / 0.4899 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1694, allocations: 71.77 kB / 0.49 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.1695, allocations: 23.97 kB / 0.49 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.232e-05/0.1696, allocations: 31.84 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1698, allocations: 47.89 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1698, allocations: 4 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1699, allocations: 27.98 kB / 0.4901 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.17, allocations: 15.92 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.973e-05/0.17, allocations: 31.75 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002241/0.1703, allocations: 91.64 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1703, allocations: 4 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1703, allocations: 4 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1703, allocations: 0 / 0.4903 GB, free: 9.309 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.0006184/0.1709, allocations: 391 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.171, allocations: 11.89 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.171, allocations: 12.84 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1713, allocations: 196.1 kB / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-06/0.1713, allocations: 384 / 0.4909 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.1713, allocations: 8.375 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1715, allocations: 61.73 kB / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1715, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1715, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1715, allocations: 0 / 0.4909 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.1716, allocations: 23.97 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1721, allocations: 288.8 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1724, allocations: 54.42 kB / 0.4913 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.1724, allocations: 16.86 kB / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1725, allocations: 96 / 0.4913 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.1725, allocations: 38.55 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.1725, allocations: 0 / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006005/0.1731, allocations: 153.2 kB / 0.4915 GB, free: 7.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1732, allocations: 51.41 kB / 0.4915 GB, free: 7.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1734, allocations: 198.2 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1734, allocations: 29.7 kB / 0.4918 GB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.1734, allocations: 104.1 kB / 0.4919 GB, free: 7.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.1735, allocations: 19.64 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1735, allocations: 17.72 kB / 0.4919 GB, free: 7.461 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1737, allocations: 326.8 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.297e-05/0.1737, allocations: 23.98 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.546e-05/0.1738, allocations: 24.05 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.174, allocations: 52.83 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.174, allocations: 0 / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002021/0.1742, allocations: 89.5 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1742, allocations: 11.94 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1742, allocations: 4 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.1742, allocations: 0 / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.1743, allocations: 11.98 kB / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1743, allocations: 0 / 0.4924 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.1744, allocations: 4 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1744, allocations: 4 kB / 0.4924 GB, free: 6.902 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 9.921e-05/0.1745, allocations: 133.7 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.1745, allocations: 7.906 kB / 0.4925 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1748, allocations: 105.9 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1748, allocations: 0 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1748, allocations: 4 kB / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1748, allocations: 0 / 0.4927 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.1753, allocations: 354.8 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1753, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.1753, allocations: 19.92 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1753, allocations: 4 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1754, allocations: 7.938 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1754, allocations: 3.938 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1754, allocations: 0 / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1756, allocations: 187.3 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.615e-05/0.1757, allocations: 81.02 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1757, allocations: 4 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.1757, allocations: 7.938 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.1758, allocations: 11.98 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1758, allocations: 0 / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1759, allocations: 160 kB / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1759, allocations: 0 / 0.4935 GB, free: 5.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000245/0.1762, allocations: 20 kB / 0.4935 GB, free: 5.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.0009311/0.1771, allocations: 408.8 kB / 0.4939 GB, free: 5.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1773, allocations: 55.97 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1774, allocations: 0 / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.1774, allocations: 27.97 kB / 0.4939 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.1778, allocations: 15.86 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004521/0.1783, allocations: 221.9 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1786, allocations: 0.7118 MB / 0.4949 GB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.107e-05/0.1787, allocations: 15.97 kB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.1787, allocations: 11.44 kB / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1787, allocations: 0 / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004497/0.1832, allocations: 1.128 MB / 0.496 GB, free: 3.102 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches