Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 117.7 kB / 17.08 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.001334/0.001335, 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.401/1.401, 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.211/0.211, 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.001447/0.001447, allocations: 63.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1286, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002815/0.1314, allocations: 1.616 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006394/0.1321, allocations: 335.6 kB / 0.4904 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.1322, allocations: 4 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1325, allocations: 71.72 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1327, allocations: 43.81 kB / 0.4906 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.1331, allocations: 163.6 kB / 0.4907 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1332, allocations: 71.81 kB / 0.4908 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1334, allocations: 23.97 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.1334, allocations: 27.86 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.1335, allocations: 39.83 kB / 0.4909 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1335, allocations: 8 kB / 0.4909 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-05/0.1336, allocations: 35.98 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.1337, allocations: 23.92 kB / 0.4909 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.1337, allocations: 31.73 kB / 0.491 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.1339, allocations: 87.78 kB / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1339, allocations: 0 / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1339, allocations: 0 / 0.491 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1339, allocations: 3.938 kB / 0.4911 GB, free: 9.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004898/0.1344, allocations: 402.5 kB / 0.4914 GB, free: 8.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1345, allocations: 15.89 kB / 0.4914 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.1345, allocations: 8.844 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002123/0.1347, allocations: 200.7 kB / 0.4916 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1348, allocations: 384 / 0.4916 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1348, allocations: 11.94 kB / 0.4917 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.135, allocations: 53.67 kB / 0.4917 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.135, allocations: 4 kB / 0.4917 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.135, allocations: 0 / 0.4917 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.135, allocations: 4 kB / 0.4917 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1352, allocations: 39.91 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.1356, allocations: 312.7 kB / 0.4921 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.1358, allocations: 46.55 kB / 0.4921 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.339e-05/0.1358, allocations: 28.94 kB / 0.4921 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.1359, allocations: 7.922 kB / 0.4921 GB, free: 7.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1359, allocations: 38.56 kB / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1359, allocations: 0 / 0.4922 GB, free: 7.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007744/0.1367, allocations: 233.2 kB / 0.4924 GB, free: 7.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1368, allocations: 59.34 kB / 0.4925 GB, free: 7.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.1369, allocations: 182.3 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.137, allocations: 25.7 kB / 0.4926 GB, free: 7.387 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.137, allocations: 96.14 kB / 0.4927 GB, free: 7.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.1371, allocations: 27.64 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1371, allocations: 17.72 kB / 0.4928 GB, free: 7.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1372, allocations: 326.8 kB / 0.4931 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1374, allocations: 39.91 kB / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.1375, allocations: 35.97 kB / 0.4932 GB, free: 6.836 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1377, allocations: 88.78 kB / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1377, allocations: 0 / 0.4933 GB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002673/0.138, allocations: 133.4 kB / 0.4934 GB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.138, allocations: 4 kB / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.138, allocations: 0 / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.138, allocations: 0 / 0.4934 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.1382, allocations: 19.98 kB / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1382, allocations: 7.922 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.1382, allocations: 16 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1383, allocations: 0 / 0.4934 GB, free: 6.562 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 9.152e-05/0.1384, allocations: 129.8 kB / 0.4935 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1384, allocations: 11.81 kB / 0.4936 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.1387, allocations: 142.3 kB / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1388, allocations: 0 / 0.4937 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1388, allocations: 3.938 kB / 0.4937 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1388, allocations: 4 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005238/0.1393, allocations: 406.5 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1393, allocations: 0 / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.225e-05/0.1394, allocations: 19.92 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.1394, allocations: 11.92 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1394, allocations: 4 kB / 0.4941 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1394, allocations: 4 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1394, allocations: 0 / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1397, allocations: 215.9 kB / 0.4943 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.1398, allocations: 88.95 kB / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.1398, allocations: 0 / 0.4944 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1399, allocations: 11.98 kB / 0.4944 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.14, allocations: 8 kB / 0.4944 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.14, allocations: 4 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1401, allocations: 135.2 kB / 0.4946 GB, free: 5.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.1401, allocations: 3.938 kB / 0.4946 GB, free: 5.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1404, allocations: 19.94 kB / 0.4946 GB, free: 5.254 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.0009086/0.1413, allocations: 412.5 kB / 0.495 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003049/0.1416, allocations: 95.91 kB / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1416, allocations: 0 / 0.4951 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1417, allocations: 55.89 kB / 0.4951 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1421, allocations: 21.16 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.1426, allocations: 256 kB / 0.4954 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1428, allocations: 0.7041 MB / 0.4961 GB, free: 3.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1429, allocations: 15.42 kB / 0.4961 GB, free: 3.695 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1429, allocations: 4 kB / 0.4961 GB, free: 3.691 MB / 382.1 MB Notification: Performance of Templates: time 0.003449/0.1464, allocations: 1.676 MB / 0.4977 GB, free: 2.016 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches