Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 100.5 kB / 16.4 MB, free: 6.496 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.00115/0.00115, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.33/1.33, allocations: 205.1 MB / 223.2 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.1965/0.1965, allocations: 43.52 MB / 314.1 MB, free: 456 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.001445/0.001445, allocations: 67.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09831, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003308/0.1016, allocations: 1.958 MB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1029, allocations: 0.6705 MB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.1031, allocations: 0 / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.1036, allocations: 255.3 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004318/0.1041, allocations: 199.2 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1051, allocations: 447.1 kB / 0.4908 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004916/0.1056, allocations: 271.3 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.1058, allocations: 60.72 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.106, allocations: 139.4 kB / 0.4913 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003247/0.1064, allocations: 191.4 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.814e-05/0.1064, allocations: 8 kB / 0.4915 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1066, allocations: 71.91 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.1067, allocations: 87.73 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1068, allocations: 115 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.1072, allocations: 314.8 kB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1073, allocations: 0 / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1073, allocations: 0 / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1073, allocations: 0 / 0.492 GB, free: 7.516 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007741/0.1081, allocations: 0.6418 MB / 0.4927 GB, free: 6.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1081, allocations: 11.89 kB / 0.4927 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.1082, allocations: 46.73 kB / 0.4927 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.1082, allocations: 40.47 kB / 0.4928 GB, free: 6.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1086, allocations: 322.1 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1086, allocations: 8.375 kB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.1086, allocations: 12.31 kB / 0.4931 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.1089, allocations: 113.5 kB / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1089, allocations: 0 / 0.4932 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1089, allocations: 4 kB / 0.4932 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1089, allocations: 4 kB / 0.4932 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.1091, allocations: 75.89 kB / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.1098, allocations: 0.4924 MB / 0.4938 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.11, allocations: 86.55 kB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.11, allocations: 33.06 kB / 0.4939 GB, free: 5.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.1101, allocations: 11.92 kB / 0.4939 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.1101, allocations: 42.44 kB / 0.4939 GB, free: 5.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1101, allocations: 0 / 0.4939 GB, free: 5.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008848/0.111, allocations: 371.9 kB / 0.4943 GB, free: 5.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.1111, allocations: 55.41 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.1116, allocations: 0.5486 MB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1117, allocations: 25.7 kB / 0.4949 GB, free: 4.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1118, allocations: 204.4 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.1118, allocations: 55.17 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-05/0.1119, allocations: 37.64 kB / 0.4952 GB, free: 4.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.112, allocations: 350.8 kB / 0.4955 GB, free: 3.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1122, allocations: 51.97 kB / 0.4956 GB, free: 3.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1123, allocations: 50.62 kB / 0.4956 GB, free: 3.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1125, allocations: 120.8 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1125, allocations: 4 kB / 0.4957 GB, free: 3.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003105/0.1128, allocations: 203.8 kB / 0.4959 GB, free: 3.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1129, allocations: 4 kB / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1129, allocations: 0 / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1129, allocations: 0 / 0.4959 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.113, allocations: 31.98 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.113, allocations: 0 / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.009e-05/0.1131, allocations: 19.92 kB / 0.496 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1131, allocations: 8 kB / 0.496 GB, free: 3.242 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 (17): * Single equations (assignments): 17 * 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.0001479/0.1133, allocations: 177.6 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.1134, allocations: 39.44 kB / 0.4962 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000416/0.1138, allocations: 237.5 kB / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.1138, allocations: 0 / 0.4964 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1138, allocations: 4 kB / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1138, allocations: 0 / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.1146, allocations: 0.627 MB / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1146, allocations: 0 / 0.497 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.1147, allocations: 39.91 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1147, allocations: 0 / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1147, allocations: 0 / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.1147, allocations: 7.938 kB / 0.4971 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1147, allocations: 0 / 0.4971 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1151, allocations: 302.9 kB / 0.4974 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.447e-05/0.1152, allocations: 116.6 kB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.1152, allocations: 8 kB / 0.4975 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.1153, allocations: 7.938 kB / 0.4975 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1154, allocations: 15.92 kB / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.1154, allocations: 4 kB / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.1158, allocations: 411.1 kB / 0.4979 GB, free: 1.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1158, allocations: 4 kB / 0.4979 GB, free: 1.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1161, allocations: 44 kB / 0.4979 GB, free: 1.125 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 (17): * Single equations (assignments): 17 * 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.002068/0.1182, allocations: 1.423 MB / 0.4993 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.1185, allocations: 131.8 kB / 0.4995 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1185, allocations: 0 / 0.4995 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1186, allocations: 71.91 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.1192, allocations: 85.3 kB / 0.4996 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.1228, allocations: 3.024 MB / 0.5026 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1232, allocations: 0.7987 MB / 0.5033 GB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1233, allocations: 49.89 kB / 0.5034 GB, free: 11.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1235, allocations: 119.4 kB / 0.5035 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1235, allocations: 0 / 0.5035 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.1467, allocations: 7.325 MB / 0.5107 GB, free: 3.973 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.035, allocations: 7.984 kB / 0.5107 GB, free: 3.965 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches