Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 108 kB / 16.41 MB, free: 6.484 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.001193/0.001193, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2309/0.2309, allocations: 43.54 MB / 314.1 MB, free: 448 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.001364/0.001364, allocations: 67.89 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1624, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.003242/0.1657, allocations: 1.561 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000613/0.1663, allocations: 299.7 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.1664, allocations: 4 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006835/0.1671, allocations: 451.1 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003525/0.1674, allocations: 251.4 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002947/0.1677, allocations: 115.7 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.168, allocations: 151.7 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1681, allocations: 11.98 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1682, allocations: 103.8 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.1685, allocations: 211.6 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1685, allocations: 0 / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.1686, allocations: 27.92 kB / 0.491 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1687, allocations: 71.77 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1688, allocations: 103 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003199/0.1691, allocations: 242.7 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1691, allocations: 0 / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1691, allocations: 3.938 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1692, allocations: 4 kB / 0.4914 GB, free: 8.203 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.0008246/0.17, allocations: 0.6297 MB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1701, allocations: 11.89 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.435e-05/0.1701, allocations: 44.66 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.1705, allocations: 292.7 kB / 0.4923 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1705, allocations: 384 / 0.4923 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1705, allocations: 8.375 kB / 0.4923 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1707, allocations: 45.81 kB / 0.4924 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1707, allocations: 4 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1707, allocations: 0 / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1708, allocations: 0 / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.1709, allocations: 27.91 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.1714, allocations: 372.7 kB / 0.4928 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.451e-05/0.1715, allocations: 30.58 kB / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.157e-05/0.1716, allocations: 20.91 kB / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.1716, allocations: 0 / 0.4928 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1717, allocations: 34.5 kB / 0.4929 GB, free: 6.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.1717, allocations: 4 kB / 0.4929 GB, free: 6.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003309/0.172, allocations: 93.39 kB / 0.4929 GB, free: 6.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1721, allocations: 55.41 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.173, allocations: 0.8536 MB / 0.4938 GB, free: 5.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.173, allocations: 25.7 kB / 0.4939 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1732, allocations: 224.1 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.1732, allocations: 7.953 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1732, allocations: 9.719 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1734, allocations: 366.7 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.1735, allocations: 11.98 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.1735, allocations: 11.94 kB / 0.4945 GB, free: 4.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.193e-05/0.1736, allocations: 24.84 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1736, allocations: 3.938 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.1738, allocations: 89.41 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1738, allocations: 4 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1738, allocations: 0 / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.1738, allocations: 4 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.1739, allocations: 11.98 kB / 0.4946 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.1739, allocations: 4.094 kB / 0.4946 GB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.174, allocations: 3.984 kB / 0.4946 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.174, allocations: 0 / 0.4946 GB, free: 4.676 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 (2): * Single equations (assignments): 2 * 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.0002009/0.1742, allocations: 221.6 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/0.1743, allocations: 47.72 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.1745, allocations: 100.6 kB / 0.495 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1745, allocations: 0 / 0.495 GB, free: 4.297 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1745, allocations: 4.031 kB / 0.495 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1745, allocations: 4 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.1749, allocations: 281.5 kB / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1749, allocations: 0 / 0.4952 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.1749, allocations: 4 kB / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1749, allocations: 0 / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1749, allocations: 0 / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1749, allocations: 0 / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1749, allocations: 0 / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1752, allocations: 199.1 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.1753, allocations: 112.8 kB / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1753, allocations: 0 / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.609e-05/0.1754, allocations: 0 / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.1754, allocations: 4 kB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.1754, allocations: 3.984 kB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006737/0.1761, allocations: 0.6472 MB / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1761, allocations: 0 / 0.4962 GB, free: 2.969 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1764, allocations: 19.97 kB / 0.4962 GB, free: 2.949 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 (2): * Single equations (assignments): 2 * 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.0009271/0.1773, allocations: 348.6 kB / 0.4965 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.1775, allocations: 27.98 kB / 0.4965 GB, free: 2.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1775, allocations: 3.938 kB / 0.4965 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.1775, allocations: 12 kB / 0.4966 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.178, allocations: 21.81 kB / 0.4966 GB, free: 2.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1791, allocations: 0.7819 MB / 0.4973 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.1795, allocations: 0.8104 MB / 0.4981 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.1796, allocations: 8 kB / 0.4981 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.1796, allocations: 23.42 kB / 0.4982 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1797, allocations: 0 / 0.4982 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of Templates: time 0.005517/0.1852, allocations: 1.245 MB / 0.4994 GB, free: 15.64 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches