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.001142/0.001142, allocations: 111.1 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.001165/0.001165, allocations: 189.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.386/1.386, 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.2291/0.2291, allocations: 43.53 MB / 314.1 MB, free: 472 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.001474/0.001474, allocations: 63.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.126, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.002867/0.1289, allocations: 1.553 MB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005622/0.1295, allocations: 311.6 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.1296, allocations: 0 / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.1301, allocations: 451.2 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003639/0.1305, allocations: 255.5 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.1308, allocations: 111.7 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.1311, allocations: 147.7 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1312, allocations: 19.97 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1313, allocations: 103.8 kB / 0.4908 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1315, allocations: 203.6 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1316, allocations: 7.938 kB / 0.491 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.1316, allocations: 19.98 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.1317, allocations: 79.75 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.1318, allocations: 99 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.1321, allocations: 239 kB / 0.4914 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1321, allocations: 4 kB / 0.4914 GB, free: 8.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1321, allocations: 4 kB / 0.4914 GB, free: 8.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1321, allocations: 0 / 0.4914 GB, free: 8.211 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.0007788/0.1329, allocations: 0.6258 MB / 0.492 GB, free: 7.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.133, allocations: 11.89 kB / 0.492 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.861e-05/0.133, allocations: 40.47 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/0.1333, allocations: 296.1 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1333, allocations: 384 / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.1334, allocations: 384 / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1335, allocations: 53.81 kB / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1335, allocations: 0 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1335, allocations: 0 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1335, allocations: 0 / 0.4924 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.065e-05/0.1336, allocations: 19.98 kB / 0.4924 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.1341, allocations: 376.8 kB / 0.4928 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.252e-05/0.1342, allocations: 26.58 kB / 0.4928 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.613e-05/0.1343, allocations: 20.91 kB / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1343, allocations: 0 / 0.4928 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1343, allocations: 30.56 kB / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.1343, allocations: 0 / 0.4928 GB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002769/0.1346, allocations: 101 kB / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1347, allocations: 55.53 kB / 0.493 GB, free: 6.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008005/0.1355, allocations: 0.8574 MB / 0.4938 GB, free: 5.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1355, allocations: 25.7 kB / 0.4938 GB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.1357, allocations: 224 kB / 0.4941 GB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.1357, allocations: 7.906 kB / 0.4941 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.1357, allocations: 13.66 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.136, allocations: 362.7 kB / 0.4944 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.136, allocations: 11.98 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/0.1361, allocations: 8 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.1361, allocations: 28.78 kB / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1361, allocations: 0 / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001334/0.1363, allocations: 85.22 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1363, allocations: 4 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1363, allocations: 0 / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1363, allocations: 0 / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.989e-05/0.1364, allocations: 12.08 kB / 0.4946 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1364, allocations: 4 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.1365, allocations: 7.844 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1365, allocations: 4 kB / 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.0001842/0.1367, allocations: 221.6 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.1367, allocations: 39.53 kB / 0.4948 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1369, allocations: 100.6 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1369, allocations: 4.031 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1369, allocations: 0 / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1369, allocations: 0 / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/0.1372, allocations: 285.5 kB / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1372, allocations: 0 / 0.4952 GB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.1373, allocations: 8 kB / 0.4952 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1373, allocations: 0 / 0.4952 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1373, allocations: 4 kB / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1373, allocations: 0 / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1373, allocations: 0 / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1375, allocations: 194.8 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.558e-05/0.1376, allocations: 104.6 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1376, allocations: 4 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.426e-05/0.1377, allocations: 0 / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1377, allocations: 0 / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1377, allocations: 4 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005966/0.1383, allocations: 0.6472 MB / 0.4961 GB, free: 3.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1383, allocations: 4.031 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1386, allocations: 20 kB / 0.4962 GB, free: 2.98 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.0008035/0.1394, allocations: 355 kB / 0.4965 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.1395, allocations: 27.98 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1395, allocations: 0 / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.609e-05/0.1396, allocations: 7.938 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.0003677/0.1399, allocations: 29.81 kB / 0.4966 GB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009831/0.1409, allocations: 0.7594 MB / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.1414, allocations: 0.8182 MB / 0.4981 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.875e-05/0.1414, allocations: 7.984 kB / 0.4981 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.1414, allocations: 11.44 kB / 0.4981 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1414, allocations: 0 / 0.4981 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of Templates: time 0.004383/0.1458, allocations: 1.256 MB / 0.4993 GB, free: 15.68 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