Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 116.4 kB / 17.08 MB, free: 5.832 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.00106/0.00106, allocations: 193.3 kB / 18.01 MB, free: 4.961 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.269/1.269, allocations: 205.1 MB / 223.9 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.1886/0.1886, allocations: 43.53 MB / 314.8 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.001732/0.001732, allocations: 59.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1296, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003068/0.1327, allocations: 1.624 MB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007388/0.1335, allocations: 343.5 kB / 0.4905 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.284e-05/0.1336, allocations: 0 / 0.4905 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1339, allocations: 67.78 kB / 0.4905 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002314/0.1341, allocations: 55.75 kB / 0.4906 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.1346, allocations: 151.7 kB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.1348, allocations: 75.77 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.135, allocations: 23.95 kB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.1351, allocations: 27.92 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1352, allocations: 43.83 kB / 0.4909 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.1352, allocations: 8 kB / 0.4909 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1354, allocations: 39.92 kB / 0.4909 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.1354, allocations: 19.92 kB / 0.4909 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.1355, allocations: 35.73 kB / 0.491 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.1358, allocations: 87.77 kB / 0.4911 GB, free: 9.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1358, allocations: 7.938 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1358, allocations: 0 / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1358, allocations: 0 / 0.4911 GB, free: 9.199 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005684/0.1364, allocations: 394.5 kB / 0.4914 GB, free: 8.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1364, allocations: 15.89 kB / 0.4915 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.1365, allocations: 8.844 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1367, allocations: 200.6 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1367, allocations: 384 / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.1367, allocations: 11.94 kB / 0.4917 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.137, allocations: 57.66 kB / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.137, allocations: 0 / 0.4917 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.137, allocations: 4 kB / 0.4917 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.137, allocations: 0 / 0.4917 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1372, allocations: 47.94 kB / 0.4918 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.1377, allocations: 312.6 kB / 0.4921 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.1378, allocations: 46.56 kB / 0.4921 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.045e-05/0.1379, allocations: 32.94 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.1379, allocations: 3.984 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.138, allocations: 38.5 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.138, allocations: 0 / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008325/0.1388, allocations: 225.5 kB / 0.4924 GB, free: 7.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.1389, allocations: 59.33 kB / 0.4925 GB, free: 7.594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1391, allocations: 182.3 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1391, allocations: 25.7 kB / 0.4927 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.1391, allocations: 100.1 kB / 0.4928 GB, free: 7.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1392, allocations: 23.66 kB / 0.4928 GB, free: 7.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.1392, allocations: 25.64 kB / 0.4928 GB, free: 7.219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1393, allocations: 322.8 kB / 0.4931 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.1395, allocations: 43.95 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1396, allocations: 35.97 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.1398, allocations: 84.8 kB / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1398, allocations: 0 / 0.4933 GB, free: 6.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003073/0.1402, allocations: 129.5 kB / 0.4934 GB, free: 6.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1402, allocations: 4 kB / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1402, allocations: 0 / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1402, allocations: 0 / 0.4934 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1403, allocations: 23.92 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1404, allocations: 3.938 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.1404, allocations: 19.98 kB / 0.4934 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1404, allocations: 4 kB / 0.4934 GB, free: 6.543 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 (7): * Single equations (assignments): 7 * 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.0001008/0.1405, allocations: 121.8 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.1406, allocations: 19.8 kB / 0.4936 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.1409, allocations: 134.3 kB / 0.4937 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.141, allocations: 3.984 kB / 0.4937 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.141, allocations: 3.938 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.141, allocations: 4 kB / 0.4937 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.1415, allocations: 406.4 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1416, allocations: 4 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.1417, allocations: 15.98 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1417, allocations: 3.938 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1417, allocations: 8 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1417, allocations: 4 kB / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1417, allocations: 0 / 0.4941 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.142, allocations: 223.8 kB / 0.4944 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.1421, allocations: 88.95 kB / 0.4944 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.1421, allocations: 0 / 0.4944 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.1422, allocations: 11.98 kB / 0.4945 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.109e-05/0.1423, allocations: 11.98 kB / 0.4945 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.1423, allocations: 3.938 kB / 0.4945 GB, free: 5.387 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1424, allocations: 135.2 kB / 0.4946 GB, free: 5.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1424, allocations: 3.938 kB / 0.4946 GB, free: 5.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1427, allocations: 16 kB / 0.4946 GB, free: 5.234 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 (7): * Single equations (assignments): 7 * 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.0009439/0.1436, allocations: 404.4 kB / 0.495 GB, free: 4.875 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.144, allocations: 99.84 kB / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.144, allocations: 0 / 0.4951 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1441, allocations: 43.97 kB / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1445, allocations: 24.69 kB / 0.4952 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004677/0.145, allocations: 268 kB / 0.4954 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1453, allocations: 0.7041 MB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.1453, allocations: 11.44 kB / 0.4961 GB, free: 3.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1454, allocations: 3.938 kB / 0.4961 GB, free: 3.676 MB / 382.1 MB Notification: Performance of Templates: time 0.003595/0.149, allocations: 1.676 MB / 0.4978 GB, free: 2 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches