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.001173/0.001174, allocations: 109.2 kB / 16.41 MB, free: 6.496 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.00134/0.00134, allocations: 185.5 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.556/1.556, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2272/0.2272, allocations: 43.52 MB / 314.1 MB, free: 464 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.001379/0.001379, allocations: 72.45 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1434, allocations: 57.79 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003708/0.1471, allocations: 1.853 MB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1485, allocations: 0.733 MB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1486, allocations: 4 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.1492, allocations: 255.2 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.1496, allocations: 195.3 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.1509, allocations: 0.5809 MB / 0.4914 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.1514, allocations: 283.3 kB / 0.4917 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.1516, allocations: 52.36 kB / 0.4917 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1517, allocations: 123.6 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.152, allocations: 191.3 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.152, allocations: 8 kB / 0.492 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1521, allocations: 51.98 kB / 0.4921 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.1523, allocations: 87.67 kB / 0.4922 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.754e-05/0.1524, allocations: 99.11 kB / 0.4923 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.1528, allocations: 259 kB / 0.4925 GB, free: 7.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1528, allocations: 7.984 kB / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1528, allocations: 0 / 0.4925 GB, free: 7.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.1528, allocations: 0 / 0.4925 GB, free: 7.035 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.0007739/0.1536, allocations: 0.6067 MB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1536, allocations: 11.89 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.1537, allocations: 36.47 kB / 0.4932 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.1541, allocations: 306.2 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1541, allocations: 8.375 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.1542, allocations: 8.312 kB / 0.4935 GB, free: 5.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.1544, allocations: 97.77 kB / 0.4936 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1544, allocations: 0 / 0.4936 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1544, allocations: 7.938 kB / 0.4936 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1544, allocations: 0 / 0.4936 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.1546, allocations: 71.95 kB / 0.4936 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006328/0.1553, allocations: 444.4 kB / 0.4941 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1554, allocations: 70.55 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.1555, allocations: 32.97 kB / 0.4942 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1555, allocations: 8 kB / 0.4942 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.1556, allocations: 38.48 kB / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1556, allocations: 0 / 0.4942 GB, free: 5.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003578/0.1559, allocations: 149.2 kB / 0.4943 GB, free: 4.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.156, allocations: 55.34 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000653/0.1566, allocations: 0.525 MB / 0.4949 GB, free: 4.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1567, allocations: 25.7 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.1568, allocations: 200.1 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.1569, allocations: 19.66 kB / 0.4951 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.1569, allocations: 21.72 kB / 0.4952 GB, free: 4.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1571, allocations: 342.8 kB / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.1571, allocations: 28.23 kB / 0.4955 GB, free: 3.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-05/0.1572, allocations: 31.97 kB / 0.4956 GB, free: 3.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1574, allocations: 72.77 kB / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1574, allocations: 0 / 0.4956 GB, free: 3.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000214/0.1576, allocations: 117.3 kB / 0.4957 GB, free: 3.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.1576, allocations: 8 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1576, allocations: 0 / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1577, allocations: 0 / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.713e-05/0.1578, allocations: 15.92 kB / 0.4958 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1578, allocations: 4 kB / 0.4958 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.1578, allocations: 7.906 kB / 0.4958 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.1578, allocations: 4 kB / 0.4958 GB, free: 3.477 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.0001569/0.158, allocations: 169.8 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.1581, allocations: 35.61 kB / 0.496 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.1584, allocations: 140.8 kB / 0.4961 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1584, allocations: 3.938 kB / 0.4961 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1584, allocations: 0 / 0.4961 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1584, allocations: 0 / 0.4961 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.1587, allocations: 285.4 kB / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1587, allocations: 0 / 0.4964 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.548e-05/0.1588, allocations: 23.92 kB / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1588, allocations: 0 / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.1588, allocations: 256 / 0.4964 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1588, allocations: 3.938 kB / 0.4964 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1588, allocations: 7.938 kB / 0.4964 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1591, allocations: 215.1 kB / 0.4966 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.1591, allocations: 104.7 kB / 0.4967 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1592, allocations: 4 kB / 0.4967 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.1592, allocations: 11.94 kB / 0.4967 GB, free: 2.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.1593, allocations: 3.984 kB / 0.4967 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1593, allocations: 4 kB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004612/0.1598, allocations: 395.1 kB / 0.4971 GB, free: 2.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1598, allocations: 0 / 0.4971 GB, free: 2.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.16, allocations: 35.91 kB / 0.4972 GB, free: 1.969 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.001464/0.1615, allocations: 0.5986 MB / 0.4977 GB, free: 1.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002201/0.1617, allocations: 67.89 kB / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1617, allocations: 0 / 0.4978 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.1618, allocations: 31.98 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.1624, allocations: 77.48 kB / 0.4979 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.1633, allocations: 0.5954 MB / 0.4985 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1638, allocations: 0.7982 MB / 0.4993 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001222/0.1639, allocations: 45.48 kB / 0.4993 GB, free: 15.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.567e-05/0.164, allocations: 27.42 kB / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.164, allocations: 0 / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of Templates: time 0.006156/0.1702, allocations: 2.673 MB / 0.5019 GB, free: 13.04 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