Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 109 kB / 16.41 MB, free: 6.5 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.001492/0.001491, allocations: 189.5 kB / 17.34 MB, free: 5.73 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.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.2183/0.2183, allocations: 43.52 MB / 314.1 MB, free: 460 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.002116/0.002116, allocations: 70.72 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1737, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004196/0.178, allocations: 1.853 MB / 0.4897 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.1795, allocations: 0.7252 MB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1796, allocations: 4 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.1802, allocations: 263.2 kB / 0.4907 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1807, allocations: 187.4 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.1821, allocations: 0.5964 MB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.1825, allocations: 275.3 kB / 0.4917 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.1827, allocations: 60.34 kB / 0.4917 GB, free: 7.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.1828, allocations: 115.6 kB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1831, allocations: 191.4 kB / 0.492 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1831, allocations: 8 kB / 0.492 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1833, allocations: 55.92 kB / 0.4921 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1834, allocations: 83.73 kB / 0.4922 GB, free: 7.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.1835, allocations: 103.1 kB / 0.4923 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.1839, allocations: 266.7 kB / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1839, allocations: 0 / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.184, allocations: 0 / 0.4925 GB, free: 7.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.184, allocations: 0 / 0.4925 GB, free: 7.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008929/0.1849, allocations: 0.622 MB / 0.4931 GB, free: 6.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.1849, allocations: 11.89 kB / 0.4931 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.1851, allocations: 36.7 kB / 0.4932 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.1855, allocations: 310.6 kB / 0.4935 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.1855, allocations: 8.375 kB / 0.4935 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.1855, allocations: 4.375 kB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.1858, allocations: 101.7 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1858, allocations: 0 / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1859, allocations: 0 / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1859, allocations: 8 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.1861, allocations: 67.95 kB / 0.4937 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007161/0.1868, allocations: 444.5 kB / 0.4941 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.187, allocations: 74.53 kB / 0.4942 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.1871, allocations: 36.91 kB / 0.4942 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.1871, allocations: 8 kB / 0.4942 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1871, allocations: 30.56 kB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1871, allocations: 0 / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003637/0.1875, allocations: 149.4 kB / 0.4944 GB, free: 4.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1876, allocations: 59.33 kB / 0.4944 GB, free: 4.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.1882, allocations: 0.525 MB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1882, allocations: 25.7 kB / 0.495 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1884, allocations: 192.1 kB / 0.4951 GB, free: 4.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.1884, allocations: 23.78 kB / 0.4952 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.1884, allocations: 21.72 kB / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1886, allocations: 346.8 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.1887, allocations: 27.92 kB / 0.4955 GB, free: 3.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.1888, allocations: 27.97 kB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.1889, allocations: 64.83 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1889, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002067/0.1892, allocations: 129.4 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1892, allocations: 4 kB / 0.4958 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1892, allocations: 4.422 kB / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1892, allocations: 0 / 0.4958 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.428e-05/0.1893, allocations: 19.88 kB / 0.4958 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1893, allocations: 0 / 0.4958 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.236e-05/0.1894, allocations: 11.94 kB / 0.4958 GB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1894, allocations: 8 kB / 0.4958 GB, free: 3.434 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 (6): * Single equations (assignments): 6 * 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.0001723/0.1896, allocations: 165.8 kB / 0.496 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.1896, allocations: 35.77 kB / 0.496 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.1899, allocations: 144.8 kB / 0.4961 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.19, allocations: 3.938 kB / 0.4961 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.19, allocations: 3.938 kB / 0.4961 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.19, allocations: 3.938 kB / 0.4961 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003347/0.1903, allocations: 277.5 kB / 0.4964 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1903, allocations: 0 / 0.4964 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.1904, allocations: 15.94 kB / 0.4964 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1904, allocations: 7.984 kB / 0.4964 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1904, allocations: 0 / 0.4964 GB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.1904, allocations: 3.938 kB / 0.4964 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1904, allocations: 4 kB / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.1907, allocations: 219.3 kB / 0.4966 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.075e-05/0.1908, allocations: 100.9 kB / 0.4967 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.1908, allocations: 8 kB / 0.4968 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.1909, allocations: 7.938 kB / 0.4968 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.191, allocations: 11.97 kB / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.191, allocations: 0 / 0.4968 GB, free: 2.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.1914, allocations: 391.1 kB / 0.4971 GB, free: 1.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1914, allocations: 0 / 0.4971 GB, free: 1.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1917, allocations: 39.88 kB / 0.4972 GB, free: 1.926 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 (6): * Single equations (assignments): 6 * 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.001517/0.1932, allocations: 0.5916 MB / 0.4978 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.1934, allocations: 63.95 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1934, allocations: 0 / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.1935, allocations: 35.92 kB / 0.4979 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.1941, allocations: 77.14 kB / 0.4979 GB, free: 1.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009049/0.195, allocations: 0.6062 MB / 0.4985 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.1955, allocations: 0.8021 MB / 0.4993 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1956, allocations: 45.48 kB / 0.4993 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.1957, allocations: 27.42 kB / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1957, allocations: 0 / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of Templates: time 0.006268/0.2019, allocations: 2.677 MB / 0.502 GB, free: 12.99 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches