Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 111.6 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.00122/0.001219, 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.426/1.426, 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.2151/0.2151, allocations: 43.53 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.001455/0.001455, allocations: 67.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1339, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.00353/0.1374, allocations: 1.553 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007382/0.1382, allocations: 315.5 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.768e-05/0.1383, allocations: 0 / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006823/0.1391, allocations: 447.2 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.1395, allocations: 255.4 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.1399, allocations: 107.8 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003785/0.1403, allocations: 155.6 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.1405, allocations: 12 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.1407, allocations: 111.8 kB / 0.4908 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003299/0.141, allocations: 199.7 kB / 0.4909 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.1411, allocations: 4 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.1412, allocations: 19.94 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.1413, allocations: 83.69 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.1415, allocations: 95 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.1419, allocations: 247 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1419, allocations: 4 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.142, allocations: 0 / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.142, allocations: 0 / 0.4914 GB, free: 8.219 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.001103/0.1431, allocations: 0.618 MB / 0.492 GB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1431, allocations: 15.89 kB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1432, allocations: 36.47 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.1437, allocations: 300.1 kB / 0.4923 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.1437, allocations: 4.375 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1437, allocations: 4.375 kB / 0.4923 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.1439, allocations: 53.8 kB / 0.4924 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1439, allocations: 4 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1439, allocations: 0 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.144, allocations: 0 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.159e-05/0.144, allocations: 19.98 kB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.1447, allocations: 368.8 kB / 0.4928 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.1448, allocations: 34.56 kB / 0.4928 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1448, allocations: 20.91 kB / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.1449, allocations: 0 / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.1449, allocations: 30.56 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.1449, allocations: 0 / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003257/0.1452, allocations: 97.06 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1453, allocations: 55.53 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009315/0.1462, allocations: 0.8574 MB / 0.4938 GB, free: 5.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1463, allocations: 29.64 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1465, allocations: 216.1 kB / 0.4941 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1465, allocations: 7.906 kB / 0.4941 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.1465, allocations: 13.72 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.1467, allocations: 362.7 kB / 0.4944 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.1468, allocations: 15.94 kB / 0.4944 GB, free: 4.863 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.1468, allocations: 15.98 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.174e-05/0.1469, allocations: 24.84 kB / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1469, allocations: 0 / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001643/0.1471, allocations: 89.16 kB / 0.4946 GB, free: 4.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1471, allocations: 4 kB / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.1471, allocations: 0 / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1471, allocations: 96 / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.1472, allocations: 8 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1472, allocations: 0 / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.1473, allocations: 15.83 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1473, allocations: 0 / 0.4946 GB, free: 4.699 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.0002004/0.1475, allocations: 213.7 kB / 0.4948 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.422e-05/0.1476, allocations: 35.53 kB / 0.4948 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.1478, allocations: 108.6 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1478, allocations: 4.031 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1478, allocations: 3.984 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1478, allocations: 0 / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.1481, allocations: 277.5 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1481, allocations: 0 / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.1482, allocations: 7.984 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1482, allocations: 0 / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.1482, allocations: 4 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1482, allocations: 0 / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1482, allocations: 0 / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1484, allocations: 190.9 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.386e-05/0.1485, allocations: 104.6 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1485, allocations: 3.984 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.632e-05/0.1486, allocations: 4 kB / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.1487, allocations: 0 / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.1487, allocations: 3.938 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006056/0.1493, allocations: 0.6472 MB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1493, allocations: 4.031 kB / 0.4961 GB, free: 3.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1495, allocations: 19.98 kB / 0.4962 GB, free: 2.988 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.0009681/0.1505, allocations: 359.6 kB / 0.4965 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.1507, allocations: 23.98 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1507, allocations: 0 / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.1508, allocations: 15.98 kB / 0.4965 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.1512, allocations: 25.81 kB / 0.4966 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.1525, allocations: 0.7593 MB / 0.4973 GB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.153, allocations: 0.8143 MB / 0.4981 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.162e-05/0.1531, allocations: 8 kB / 0.4981 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.1531, allocations: 11.44 kB / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1531, allocations: 0 / 0.4981 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of Templates: time 0.005115/0.1583, allocations: 1.256 MB / 0.4993 GB, free: 15.7 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches