Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 117.6 kB / 17.09 MB, free: 5.938 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.001294/0.001293, allocations: 198.9 kB / 18.01 MB, free: 5.027 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.49/1.49, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2155/0.2155, allocations: 43.52 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.001383/0.001383, allocations: 77.59 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09798/0.09937, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.003176/0.1026, allocations: 1.609 MB / 0.4901 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1041, allocations: 0.9379 MB / 0.491 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.1042, allocations: 7.938 kB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.1044, allocations: 27.84 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1047, allocations: 43.78 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003343/0.1051, allocations: 107.7 kB / 0.4912 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.1052, allocations: 63.83 kB / 0.4913 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1053, allocations: 16.19 kB / 0.4913 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.1054, allocations: 23.91 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1056, allocations: 35.78 kB / 0.4914 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.1056, allocations: 4 kB / 0.4914 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1057, allocations: 51.97 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.45e-05/0.1058, allocations: 19.92 kB / 0.4914 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.1058, allocations: 15.88 kB / 0.4914 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.1061, allocations: 99.75 kB / 0.4915 GB, free: 8.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1061, allocations: 3.938 kB / 0.4915 GB, free: 8.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1061, allocations: 4 kB / 0.4915 GB, free: 8.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1061, allocations: 0 / 0.4915 GB, free: 8.684 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.0005273/0.1066, allocations: 387.1 kB / 0.4919 GB, free: 8.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1067, allocations: 15.89 kB / 0.4919 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.1067, allocations: 8.844 kB / 0.4919 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.107, allocations: 180.3 kB / 0.4921 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.107, allocations: 4.375 kB / 0.4921 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.107, allocations: 4.375 kB / 0.4921 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1072, allocations: 83.31 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1072, allocations: 3.938 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1072, allocations: 0 / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1072, allocations: 0 / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1074, allocations: 31.97 kB / 0.4922 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.1078, allocations: 288.8 kB / 0.4925 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1079, allocations: 50.56 kB / 0.4926 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.923e-05/0.108, allocations: 24.88 kB / 0.4926 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.108, allocations: 7.984 kB / 0.4926 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.1081, allocations: 30.56 kB / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1081, allocations: 0 / 0.4926 GB, free: 7.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007611/0.1088, allocations: 197.2 kB / 0.4928 GB, free: 7.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.109, allocations: 81.11 kB / 0.4929 GB, free: 7.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.1091, allocations: 137.8 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1091, allocations: 25.7 kB / 0.493 GB, free: 6.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.1092, allocations: 100.1 kB / 0.4931 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1093, allocations: 27.61 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.1093, allocations: 21.66 kB / 0.4932 GB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.1094, allocations: 322.8 kB / 0.4935 GB, free: 6.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1095, allocations: 27.97 kB / 0.4935 GB, free: 6.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.1097, allocations: 57.69 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1099, allocations: 68.81 kB / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1099, allocations: 0 / 0.4936 GB, free: 6.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000272/0.1102, allocations: 109.6 kB / 0.4937 GB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1102, allocations: 8 kB / 0.4937 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1102, allocations: 4.031 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1102, allocations: 0 / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.1104, allocations: 19.98 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1104, allocations: 0 / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.1104, allocations: 11.92 kB / 0.4938 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1105, allocations: 4 kB / 0.4938 GB, free: 6.145 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 8.278e-05/0.1105, allocations: 117.8 kB / 0.4939 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.1106, allocations: 7.906 kB / 0.4939 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003174/0.1109, allocations: 129.9 kB / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1109, allocations: 0 / 0.494 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1109, allocations: 3.984 kB / 0.494 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1109, allocations: 3.938 kB / 0.494 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.1115, allocations: 394.8 kB / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1115, allocations: 0 / 0.4944 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.385e-05/0.1116, allocations: 19.98 kB / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1116, allocations: 0 / 0.4944 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1116, allocations: 3.938 kB / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1116, allocations: 0 / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1116, allocations: 0 / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.112, allocations: 211.5 kB / 0.4946 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.112, allocations: 81.02 kB / 0.4947 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.112, allocations: 15.92 kB / 0.4947 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.1121, allocations: 4 kB / 0.4947 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.1122, allocations: 11.92 kB / 0.4947 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.1122, allocations: 3.938 kB / 0.4947 GB, free: 5.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.05e-05/0.1123, allocations: 103.3 kB / 0.4948 GB, free: 4.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1123, allocations: 4 kB / 0.4949 GB, free: 4.941 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1126, allocations: 27.98 kB / 0.4949 GB, free: 4.914 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.001001/0.1136, allocations: 437.3 kB / 0.4953 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002987/0.1139, allocations: 87.86 kB / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1139, allocations: 0 / 0.4954 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.114, allocations: 43.91 kB / 0.4954 GB, free: 4.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1144, allocations: 11.86 kB / 0.4954 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.1149, allocations: 207.7 kB / 0.4956 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1151, allocations: 0.6924 MB / 0.4963 GB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.1152, allocations: 19.44 kB / 0.4963 GB, free: 3.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1152, allocations: 0 / 0.4963 GB, free: 3.41 MB / 382.1 MB Notification: Performance of Templates: time 0.003761/0.119, allocations: 1.719 MB / 0.498 GB, free: 1.691 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches