Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 115.7 kB / 17.08 MB, free: 5.969 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.001003/0.001003, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.252/1.252, 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.1892/0.1892, allocations: 43.53 MB / 314.8 MB, free: 448 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.001518/0.001518, allocations: 69.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1191, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.003465/0.1226, allocations: 1.601 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006848/0.1233, allocations: 319.6 kB / 0.4904 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.1234, allocations: 11.94 kB / 0.4904 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.1237, allocations: 51.81 kB / 0.4905 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.124, allocations: 55.75 kB / 0.4905 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.1244, allocations: 107.8 kB / 0.4906 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1246, allocations: 71.75 kB / 0.4907 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1247, allocations: 20.17 kB / 0.4907 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.1247, allocations: 31.92 kB / 0.4908 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1249, allocations: 43.81 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1249, allocations: 4 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.125, allocations: 31.98 kB / 0.4908 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.1251, allocations: 27.84 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.1251, allocations: 27.81 kB / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1254, allocations: 87.72 kB / 0.491 GB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1254, allocations: 4 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1254, allocations: 0 / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1254, allocations: 0 / 0.491 GB, free: 9.262 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.0005432/0.1259, allocations: 399 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.126, allocations: 15.89 kB / 0.4914 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.126, allocations: 8.844 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1262, allocations: 196.6 kB / 0.4916 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1263, allocations: 4.125 kB / 0.4916 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.1263, allocations: 4 kB / 0.4916 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1265, allocations: 61.67 kB / 0.4916 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1265, allocations: 0 / 0.4916 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1265, allocations: 3.984 kB / 0.4916 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1265, allocations: 0 / 0.4916 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1267, allocations: 31.97 kB / 0.4917 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.1271, allocations: 300.6 kB / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.1272, allocations: 46.55 kB / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.1273, allocations: 24.94 kB / 0.492 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1273, allocations: 0 / 0.492 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1273, allocations: 34.56 kB / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1274, allocations: 0 / 0.4921 GB, free: 7.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007809/0.1281, allocations: 217.2 kB / 0.4923 GB, free: 7.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.1282, allocations: 55.34 kB / 0.4923 GB, free: 7.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1284, allocations: 182.3 kB / 0.4925 GB, free: 7.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1284, allocations: 25.7 kB / 0.4925 GB, free: 7.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.1285, allocations: 108.1 kB / 0.4926 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.1285, allocations: 19.72 kB / 0.4926 GB, free: 7.359 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.1285, allocations: 21.7 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1287, allocations: 318.8 kB / 0.493 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.1288, allocations: 31.97 kB / 0.493 GB, free: 6.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1289, allocations: 43.84 kB / 0.493 GB, free: 6.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1291, allocations: 72.81 kB / 0.4931 GB, free: 6.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1291, allocations: 3.984 kB / 0.4931 GB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002688/0.1294, allocations: 109.5 kB / 0.4932 GB, free: 6.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1294, allocations: 4 kB / 0.4932 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1294, allocations: 4 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.1295, allocations: 7.984 kB / 0.4932 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1296, allocations: 19.92 kB / 0.4932 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.1296, allocations: 7.938 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.1297, allocations: 11.92 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1297, allocations: 0 / 0.4933 GB, free: 6.691 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.731e-05/0.1298, allocations: 129.8 kB / 0.4934 GB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1298, allocations: 11.81 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/0.1301, allocations: 122.3 kB / 0.4935 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.1302, allocations: 7.938 kB / 0.4935 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1302, allocations: 0 / 0.4935 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1302, allocations: 3.984 kB / 0.4935 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/0.1307, allocations: 386.5 kB / 0.4939 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1307, allocations: 4 kB / 0.4939 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.257e-05/0.1308, allocations: 23.91 kB / 0.4939 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1308, allocations: 0 / 0.4939 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1308, allocations: 4 kB / 0.4939 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1308, allocations: 0 / 0.4939 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1308, allocations: 0 / 0.4939 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.1312, allocations: 211.8 kB / 0.4941 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.1313, allocations: 84.95 kB / 0.4942 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1313, allocations: 0 / 0.4942 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.1314, allocations: 15.98 kB / 0.4942 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1315, allocations: 7.984 kB / 0.4942 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1315, allocations: 0 / 0.4942 GB, free: 5.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1316, allocations: 139.2 kB / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1316, allocations: 0 / 0.4944 GB, free: 5.453 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.1319, allocations: 27.98 kB / 0.4944 GB, free: 5.426 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.0009516/0.1328, allocations: 415.2 kB / 0.4948 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000292/0.1331, allocations: 83.86 kB / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1331, allocations: 0 / 0.4949 GB, free: 4.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.1333, allocations: 43.97 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1336, allocations: 21.39 kB / 0.4949 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.1341, allocations: 252 kB / 0.4952 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1345, allocations: 0.7002 MB / 0.4959 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1345, allocations: 15.38 kB / 0.4959 GB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1345, allocations: 0 / 0.4959 GB, free: 3.895 MB / 382.1 MB Notification: Performance of Templates: time 0.003517/0.1381, allocations: 1.602 MB / 0.4974 GB, free: 2.297 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches