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.001047/0.001047, allocations: 121.1 kB / 17.09 MB, free: 6.008 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.000994/0.0009942, allocations: 194.4 kB / 18.01 MB, free: 5.094 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.486/1.486, allocations: 205.1 MB / 223.9 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.2166/0.2166, allocations: 43.52 MB / 314.8 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.001663/0.001663, allocations: 63.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1325, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.003656/0.1362, allocations: 1.562 MB / 0.4901 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006616/0.1369, allocations: 303.6 kB / 0.4904 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.137, allocations: 4 kB / 0.4904 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005724/0.1376, allocations: 455.1 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.138, allocations: 251.4 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.1383, allocations: 103.8 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.1386, allocations: 159.7 kB / 0.4913 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1387, allocations: 4 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1389, allocations: 115.7 kB / 0.4914 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1392, allocations: 203.7 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.1392, allocations: 0 / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.1393, allocations: 23.94 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.1394, allocations: 75.75 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.923e-05/0.1395, allocations: 103 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.1398, allocations: 246.9 kB / 0.492 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1398, allocations: 4 kB / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1398, allocations: 0 / 0.492 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1399, allocations: 0 / 0.492 GB, free: 8.203 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.000751/0.1406, allocations: 0.6219 MB / 0.4926 GB, free: 7.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1407, allocations: 11.89 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1407, allocations: 40.47 kB / 0.4927 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1411, allocations: 296.1 kB / 0.493 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.1411, allocations: 384 / 0.493 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1411, allocations: 4.375 kB / 0.493 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1412, allocations: 53.75 kB / 0.493 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.1413, allocations: 0 / 0.493 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1413, allocations: 4 kB / 0.493 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1413, allocations: 3.984 kB / 0.493 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.229e-05/0.1414, allocations: 19.98 kB / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1419, allocations: 368.8 kB / 0.4934 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.142, allocations: 42.5 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.142, allocations: 8.922 kB / 0.4935 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.1421, allocations: 3.984 kB / 0.4935 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.1421, allocations: 34.56 kB / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1421, allocations: 0 / 0.4935 GB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002908/0.1424, allocations: 93.12 kB / 0.4936 GB, free: 6.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.1424, allocations: 59.53 kB / 0.4936 GB, free: 6.371 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008183/0.1433, allocations: 0.8535 MB / 0.4945 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1433, allocations: 25.7 kB / 0.4945 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1434, allocations: 220.1 kB / 0.4947 GB, free: 5.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1435, allocations: 3.906 kB / 0.4947 GB, free: 5.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.1435, allocations: 17.66 kB / 0.4947 GB, free: 5.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1437, allocations: 370.7 kB / 0.4951 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.193e-05/0.1437, allocations: 4 kB / 0.4951 GB, free: 4.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.1438, allocations: 11.98 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.067e-05/0.1439, allocations: 24.84 kB / 0.4951 GB, free: 4.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1439, allocations: 0 / 0.4951 GB, free: 4.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001474/0.144, allocations: 85.22 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.144, allocations: 4 kB / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1441, allocations: 0 / 0.4952 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1441, allocations: 4 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.65e-05/0.1442, allocations: 8.094 kB / 0.4952 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.1442, allocations: 3.938 kB / 0.4952 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.1442, allocations: 11.83 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1442, allocations: 4 kB / 0.4952 GB, free: 4.688 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.0001809/0.1444, allocations: 217.7 kB / 0.4954 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.1445, allocations: 39.53 kB / 0.4955 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001979/0.1447, allocations: 96.64 kB / 0.4956 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1447, allocations: 4.031 kB / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1447, allocations: 0 / 0.4956 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1447, allocations: 7.984 kB / 0.4956 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.145, allocations: 281.5 kB / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.145, allocations: 0 / 0.4959 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.1451, allocations: 7.984 kB / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1451, allocations: 0 / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.1451, allocations: 0 / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1451, allocations: 0 / 0.4959 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1451, allocations: 3.938 kB / 0.4959 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1453, allocations: 186.9 kB / 0.496 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.1454, allocations: 108.6 kB / 0.4961 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1454, allocations: 0 / 0.4961 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1455, allocations: 7.922 kB / 0.4962 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.1455, allocations: 4 kB / 0.4962 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1456, allocations: 4 kB / 0.4962 GB, free: 3.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005944/0.1462, allocations: 0.6433 MB / 0.4968 GB, free: 2.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1462, allocations: 4.031 kB / 0.4968 GB, free: 2.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1464, allocations: 16 kB / 0.4968 GB, free: 2.977 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.0008017/0.1472, allocations: 355 kB / 0.4971 GB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1474, allocations: 31.92 kB / 0.4972 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1474, allocations: 0 / 0.4972 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.1474, allocations: 11.98 kB / 0.4972 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.1478, allocations: 21.83 kB / 0.4972 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1489, allocations: 0.7925 MB / 0.498 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004264/0.1493, allocations: 0.8143 MB / 0.4988 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.1494, allocations: 15.44 kB / 0.4988 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1494, allocations: 0 / 0.4988 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of Templates: time 0.007134/0.1565, allocations: 3.414 MB / 0.5021 GB, free: 13.49 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","/var/lib/jenkins1/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