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.001332/0.001332, allocations: 118.2 kB / 17.09 MB, free: 5.973 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.001335/0.001335, allocations: 193.2 kB / 18.01 MB, free: 5.055 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.255/1.255, 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.1881/0.1881, allocations: 43.53 MB / 314.8 MB, free: 452 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.00144/0.00144, allocations: 69.47 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09591, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003083/0.09903, allocations: 1.609 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006745/0.09973, allocations: 343.5 kB / 0.4904 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.09983, allocations: 4 kB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1001, allocations: 55.8 kB / 0.4905 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1003, allocations: 55.75 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.1007, allocations: 151.7 kB / 0.4907 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1009, allocations: 79.69 kB / 0.4908 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.101, allocations: 27.95 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.1011, allocations: 35.91 kB / 0.4908 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1012, allocations: 39.83 kB / 0.4909 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.1012, allocations: 4 kB / 0.4909 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.532e-05/0.1013, allocations: 28 kB / 0.4909 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.092e-05/0.1014, allocations: 23.92 kB / 0.4909 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.509e-05/0.1015, allocations: 31.72 kB / 0.491 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1017, allocations: 91.72 kB / 0.491 GB, free: 9.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1017, allocations: 3.938 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1017, allocations: 0 / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1017, allocations: 4 kB / 0.4911 GB, free: 9.188 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.0004673/0.1022, allocations: 399.1 kB / 0.4914 GB, free: 8.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1022, allocations: 11.89 kB / 0.4914 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.491e-05/0.1023, allocations: 12.83 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.1024, allocations: 196.7 kB / 0.4916 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1025, allocations: 384 / 0.4916 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1025, allocations: 3.938 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1027, allocations: 65.61 kB / 0.4917 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1027, allocations: 4 kB / 0.4917 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1027, allocations: 3.984 kB / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.1027, allocations: 0 / 0.4917 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.1029, allocations: 39.97 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/0.1033, allocations: 304.7 kB / 0.4921 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1034, allocations: 54.5 kB / 0.4921 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.1035, allocations: 28.92 kB / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1036, allocations: 0 / 0.4921 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.1036, allocations: 34.56 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1036, allocations: 0 / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007688/0.1044, allocations: 237.2 kB / 0.4924 GB, free: 7.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1044, allocations: 55.34 kB / 0.4924 GB, free: 7.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1046, allocations: 178.3 kB / 0.4926 GB, free: 7.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1046, allocations: 29.7 kB / 0.4926 GB, free: 7.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.1047, allocations: 104.1 kB / 0.4927 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.1047, allocations: 15.66 kB / 0.4928 GB, free: 7.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.1048, allocations: 33.64 kB / 0.4928 GB, free: 7.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1049, allocations: 322.8 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.105, allocations: 35.97 kB / 0.4931 GB, free: 6.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1051, allocations: 39.97 kB / 0.4932 GB, free: 6.809 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.1053, allocations: 92.73 kB / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1054, allocations: 0 / 0.4933 GB, free: 6.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002862/0.1057, allocations: 121.5 kB / 0.4934 GB, free: 6.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1057, allocations: 11.94 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1057, allocations: 0 / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1057, allocations: 0 / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1059, allocations: 19.98 kB / 0.4934 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1059, allocations: 7.938 kB / 0.4934 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.715e-05/0.1059, allocations: 7.984 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.106, allocations: 4 kB / 0.4934 GB, free: 6.539 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.421e-05/0.1061, allocations: 133.7 kB / 0.4935 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.1061, allocations: 11.81 kB / 0.4936 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.1065, allocations: 146.3 kB / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1065, allocations: 0 / 0.4937 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1065, allocations: 3.938 kB / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1065, allocations: 0 / 0.4937 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.107, allocations: 406.4 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1071, allocations: 0 / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.1071, allocations: 19.98 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1072, allocations: 7.938 kB / 0.4941 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1072, allocations: 0 / 0.4941 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1072, allocations: 0 / 0.4941 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1072, allocations: 4 kB / 0.4941 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.1075, allocations: 219.8 kB / 0.4943 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.1076, allocations: 89.23 kB / 0.4944 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1076, allocations: 8 kB / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.1077, allocations: 7.984 kB / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1078, allocations: 11.97 kB / 0.4944 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.1078, allocations: 3.938 kB / 0.4944 GB, free: 5.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.756e-05/0.1079, allocations: 135.2 kB / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1079, allocations: 4 kB / 0.4946 GB, free: 5.242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1081, allocations: 19.98 kB / 0.4946 GB, free: 5.223 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.0009257/0.1091, allocations: 412.5 kB / 0.495 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003149/0.1094, allocations: 95.89 kB / 0.4951 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1094, allocations: 3.938 kB / 0.4951 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.1095, allocations: 43.97 kB / 0.4951 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.1099, allocations: 17.41 kB / 0.4951 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000474/0.1104, allocations: 260 kB / 0.4954 GB, free: 4.418 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1107, allocations: 0.7041 MB / 0.4961 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1107, allocations: 15.44 kB / 0.4961 GB, free: 3.672 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1107, allocations: 0 / 0.4961 GB, free: 3.672 MB / 382.1 MB Notification: Performance of Templates: time 0.003684/0.1144, allocations: 1.684 MB / 0.4977 GB, free: 1.992 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