Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, 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.001752/0.001753, 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1973/0.1973, allocations: 43.52 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.001517/0.001517, allocations: 63.91 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1244, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003839/0.1283, allocations: 1.612 MB / 0.4895 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007583/0.1291, allocations: 355.5 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.1292, allocations: 0 / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.1298, allocations: 451.2 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003757/0.1302, allocations: 255.5 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.1307, allocations: 151.7 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.131, allocations: 171.6 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1311, allocations: 31.95 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1313, allocations: 107.8 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.1316, allocations: 211.6 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.1316, allocations: 4 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1317, allocations: 39.98 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.1318, allocations: 79.69 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1319, allocations: 106.9 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.1323, allocations: 255 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1323, allocations: 0 / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1323, allocations: 3.938 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1323, allocations: 0 / 0.4916 GB, free: 7.984 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.0008651/0.1332, allocations: 0.6375 MB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1333, allocations: 15.89 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.1333, allocations: 44.38 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003467/0.1337, allocations: 292.2 kB / 0.4925 GB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1337, allocations: 12.3 kB / 0.4926 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1337, allocations: 4.375 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1339, allocations: 61.8 kB / 0.4926 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.134, allocations: 3.984 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.134, allocations: 4 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.134, allocations: 0 / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1341, allocations: 39.97 kB / 0.4927 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.1347, allocations: 396.7 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1349, allocations: 54.48 kB / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.253e-05/0.135, allocations: 28.94 kB / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.135, allocations: 0 / 0.4931 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.135, allocations: 30.56 kB / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1351, allocations: 0 / 0.4932 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009139/0.136, allocations: 308 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.136, allocations: 51.41 kB / 0.4935 GB, free: 5.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.1368, allocations: 0.8574 MB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.1368, allocations: 25.7 kB / 0.4944 GB, free: 4.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.137, allocations: 215.9 kB / 0.4946 GB, free: 4.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.137, allocations: 23.66 kB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.1371, allocations: 21.7 kB / 0.4946 GB, free: 4.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1372, allocations: 370.7 kB / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1374, allocations: 35.97 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1375, allocations: 39.95 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.1377, allocations: 88.73 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1377, allocations: 0 / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003248/0.1381, allocations: 157.1 kB / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1381, allocations: 4 kB / 0.4953 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1381, allocations: 0 / 0.4953 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1381, allocations: 3.984 kB / 0.4953 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.1383, allocations: 19.98 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.1383, allocations: 0 / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.1383, allocations: 15.94 kB / 0.4953 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1384, allocations: 7.984 kB / 0.4953 GB, free: 3.926 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.0001815/0.1386, allocations: 217.7 kB / 0.4955 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.1386, allocations: 39.53 kB / 0.4956 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.139, allocations: 181.4 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.139, allocations: 0 / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.139, allocations: 4 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.1391, allocations: 7.938 kB / 0.4957 GB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006338/0.1397, allocations: 0.5026 MB / 0.4962 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1397, allocations: 0 / 0.4962 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.379e-05/0.1398, allocations: 23.98 kB / 0.4963 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1398, allocations: 0 / 0.4963 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1398, allocations: 3.938 kB / 0.4963 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1398, allocations: 4.078 kB / 0.4963 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1398, allocations: 3.984 kB / 0.4963 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.1402, allocations: 251.2 kB / 0.4965 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.1403, allocations: 108.5 kB / 0.4966 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.1403, allocations: 11.91 kB / 0.4966 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.601e-05/0.1404, allocations: 12 kB / 0.4966 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1405, allocations: 11.98 kB / 0.4967 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1405, allocations: 0 / 0.4967 GB, free: 2.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005856/0.1411, allocations: 0.6472 MB / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1411, allocations: 0 / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1414, allocations: 27.98 kB / 0.4973 GB, free: 1.777 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.0009626/0.1424, allocations: 407.5 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003181/0.1427, allocations: 99.84 kB / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1427, allocations: 0 / 0.4978 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1428, allocations: 43.97 kB / 0.4978 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1433, allocations: 33.09 kB / 0.4979 GB, free: 1.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.1447, allocations: 0.7993 MB / 0.4986 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006353/0.1453, allocations: 0.8338 MB / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.776e-05/0.1454, allocations: 11.98 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.1454, allocations: 15.44 kB / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of SimCode: time 1.793e-06/0.1454, allocations: 0 / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of Templates: time 0.005482/0.1509, allocations: 1.599 MB / 0.5011 GB, free: 13.93 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches