Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001368/0.001368, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2304/0.2304, 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.001439/0.001439, allocations: 67.91 kB / 441.8 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1387, allocations: 57.8 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003336/0.1421, allocations: 1.954 MB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.1432, allocations: 0.6666 MB / 0.4905 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.1433, allocations: 4 kB / 0.4905 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.1438, allocations: 259.2 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1441, allocations: 195.3 kB / 0.4909 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.145, allocations: 443.1 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003146/0.1453, allocations: 275.3 kB / 0.4916 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1455, allocations: 60.7 kB / 0.4916 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1456, allocations: 139.4 kB / 0.4918 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1459, allocations: 195.3 kB / 0.492 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1459, allocations: 8 kB / 0.492 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.146, allocations: 67.92 kB / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1461, allocations: 83.73 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.1462, allocations: 115 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.1465, allocations: 298.9 kB / 0.4925 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1466, allocations: 0 / 0.4925 GB, free: 7.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1466, allocations: 0 / 0.4925 GB, free: 7.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1466, allocations: 3.938 kB / 0.4925 GB, free: 7.066 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006347/0.1472, allocations: 0.6107 MB / 0.4931 GB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1473, allocations: 15.89 kB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.1473, allocations: 36.47 kB / 0.4932 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1476, allocations: 302.3 kB / 0.4934 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.1477, allocations: 8.375 kB / 0.4934 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.1477, allocations: 16.38 kB / 0.4935 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.1479, allocations: 113.6 kB / 0.4936 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.148, allocations: 0 / 0.4936 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.148, allocations: 0 / 0.4936 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.148, allocations: 4 kB / 0.4936 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1481, allocations: 71.95 kB / 0.4936 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000598/0.1487, allocations: 476.2 kB / 0.4941 GB, free: 5.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1489, allocations: 94.48 kB / 0.4942 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.733e-05/0.149, allocations: 32.84 kB / 0.4942 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.149, allocations: 4 kB / 0.4942 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1491, allocations: 38.55 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1491, allocations: 0 / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008534/0.1499, allocations: 383.2 kB / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.15, allocations: 55.41 kB / 0.4947 GB, free: 4.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.1505, allocations: 0.5094 MB / 0.4952 GB, free: 4.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1505, allocations: 29.7 kB / 0.4952 GB, free: 4.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.1507, allocations: 196.3 kB / 0.4954 GB, free: 3.906 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.025e-05/0.1507, allocations: 59.11 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.278e-05/0.1508, allocations: 29.72 kB / 0.4955 GB, free: 3.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1509, allocations: 350.8 kB / 0.4958 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.151, allocations: 55.91 kB / 0.4959 GB, free: 3.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1511, allocations: 51.97 kB / 0.4959 GB, free: 3.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.1514, allocations: 112.8 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.1514, allocations: 7.938 kB / 0.496 GB, free: 3.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003019/0.1517, allocations: 199.9 kB / 0.4962 GB, free: 3.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1517, allocations: 8 kB / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1517, allocations: 0 / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1517, allocations: 0 / 0.4962 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.1519, allocations: 35.92 kB / 0.4963 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.1519, allocations: 3.984 kB / 0.4963 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.152, allocations: 8 kB / 0.4963 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.152, allocations: 4 kB / 0.4963 GB, free: 2.977 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 (17): * Single equations (assignments): 17 * 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.0001471/0.1521, allocations: 181.6 kB / 0.4965 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.1522, allocations: 39.53 kB / 0.4965 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004237/0.1526, allocations: 233.3 kB / 0.4967 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1526, allocations: 7.984 kB / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1527, allocations: 0 / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1527, allocations: 0 / 0.4967 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.1534, allocations: 0.6004 MB / 0.4973 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1534, allocations: 7.984 kB / 0.4973 GB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.1535, allocations: 27.98 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1535, allocations: 4 kB / 0.4973 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1535, allocations: 7.938 kB / 0.4974 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1535, allocations: 3.938 kB / 0.4974 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1535, allocations: 7.938 kB / 0.4974 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.1539, allocations: 296 kB / 0.4976 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.1539, allocations: 104.7 kB / 0.4977 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.154, allocations: 7.984 kB / 0.4978 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.1541, allocations: 4 kB / 0.4978 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.1541, allocations: 15.92 kB / 0.4978 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.1541, allocations: 4 kB / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003336/0.1545, allocations: 395.1 kB / 0.4982 GB, free: 0.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1545, allocations: 0 / 0.4982 GB, free: 0.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003134/0.1548, allocations: 44 kB / 0.4982 GB, free: 0.9141 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 (17): * Single equations (assignments): 17 * 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.001525/0.1563, allocations: 0.6969 MB / 0.4989 GB, free: 252 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.1567, allocations: 131.8 kB / 0.499 GB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1567, allocations: 3.938 kB / 0.499 GB, free: 116 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1568, allocations: 71.91 kB / 0.4991 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.1573, allocations: 65.42 kB / 0.4991 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.1583, allocations: 0.6585 MB / 0.4998 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.1587, allocations: 0.7983 MB / 0.5006 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1588, allocations: 49.89 kB / 0.5006 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.1589, allocations: 31.44 kB / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1589, allocations: 0 / 0.5006 GB, free: 14.39 MB / 398.1 MB Notification: Performance of Templates: time 0.007042/0.1659, allocations: 3.168 MB / 0.5037 GB, free: 11.22 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches