Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",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.001083/0.001083, allocations: 100.6 kB / 16.4 MB, free: 6.438 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.001184/0.001184, allocations: 191.8 kB / 17.34 MB, free: 5.711 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.367/1.367, allocations: 205.1 MB / 223.2 MB, free: 12.19 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.1955/0.1955, allocations: 43.53 MB / 314.1 MB, free: 444 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.001461/0.001461, allocations: 67.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.101, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003083/0.1042, allocations: 1.607 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006902/0.1049, allocations: 343.6 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.105, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005322/0.1056, allocations: 451.1 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.1059, allocations: 259.4 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.1063, allocations: 151.7 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.1065, allocations: 167.6 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.696e-05/0.1066, allocations: 20.16 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1068, allocations: 111.8 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.107, allocations: 207.6 kB / 0.4906 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.107, allocations: 3.938 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.1071, allocations: 35.98 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.863e-05/0.1072, allocations: 83.69 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.1073, allocations: 107 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1077, allocations: 262.6 kB / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1077, allocations: 0 / 0.4911 GB, free: 8.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1077, allocations: 4 kB / 0.4911 GB, free: 8.477 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.1077, allocations: 0 / 0.4911 GB, free: 8.477 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.0007503/0.1085, allocations: 0.653 MB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1085, allocations: 11.89 kB / 0.4917 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.087e-05/0.1085, allocations: 34.69 kB / 0.4918 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.1086, allocations: 52.59 kB / 0.4918 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.1089, allocations: 304.7 kB / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.1089, allocations: 384 / 0.4921 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1089, allocations: 8.125 kB / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1091, allocations: 53.69 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1091, allocations: 3.984 kB / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.1091, allocations: 0 / 0.4922 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1091, allocations: 4 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1092, allocations: 35.91 kB / 0.4922 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1097, allocations: 392.7 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1099, allocations: 46.55 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.11, allocations: 16.86 kB / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.11, allocations: 0 / 0.4927 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.11, allocations: 38.5 kB / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.11, allocations: 0 / 0.4927 GB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000586/0.1106, allocations: 240.8 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1107, allocations: 59.34 kB / 0.493 GB, free: 6.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.1114, allocations: 0.8691 MB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1114, allocations: 25.7 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1116, allocations: 228.1 kB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.1116, allocations: 19.84 kB / 0.4941 GB, free: 5.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1117, allocations: 17.72 kB / 0.4941 GB, free: 5.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1118, allocations: 366.8 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.1119, allocations: 19.98 kB / 0.4945 GB, free: 4.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.1119, allocations: 19.98 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1121, allocations: 53.02 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1121, allocations: 3.938 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002105/0.1123, allocations: 129.3 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1123, allocations: 12 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1123, allocations: 0 / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1123, allocations: 0 / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.1124, allocations: 11.98 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1124, allocations: 3.938 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.1125, allocations: 4 kB / 0.4947 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1125, allocations: 4 kB / 0.4947 GB, free: 4.535 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 (5): * Single equations (assignments): 5 * 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.0001598/0.1127, allocations: 217.7 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/0.1127, allocations: 47.72 kB / 0.495 GB, free: 4.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.113, allocations: 141.3 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.113, allocations: 0 / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.113, allocations: 3.938 kB / 0.4951 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.113, allocations: 3.984 kB / 0.4951 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005239/0.1136, allocations: 466.5 kB / 0.4955 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1136, allocations: 4 kB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.1136, allocations: 11.98 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1137, allocations: 3.938 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1137, allocations: 0 / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1137, allocations: 7.938 kB / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1137, allocations: 0 / 0.4956 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1139, allocations: 223.4 kB / 0.4958 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.114, allocations: 116.8 kB / 0.4959 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.114, allocations: 3.938 kB / 0.4959 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.443e-05/0.1141, allocations: 11.92 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.1142, allocations: 4 kB / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1142, allocations: 4 kB / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005548/0.1147, allocations: 0.6511 MB / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1147, allocations: 0 / 0.4966 GB, free: 2.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.115, allocations: 27.94 kB / 0.4966 GB, free: 2.508 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 (5): * Single equations (assignments): 5 * 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.001269/0.1163, allocations: 1.059 MB / 0.4976 GB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001946/0.1165, allocations: 47.97 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1165, allocations: 0 / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.1166, allocations: 35.91 kB / 0.4977 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.117, allocations: 26.25 kB / 0.4977 GB, free: 1.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.1203, allocations: 3.25 MB / 0.5009 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1207, allocations: 0.8221 MB / 0.5017 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.768e-05/0.1207, allocations: 15.98 kB / 0.5017 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1209, allocations: 111.4 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1209, allocations: 0 / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02178/0.1427, allocations: 6.033 MB / 0.5077 GB, free: 6.984 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.256, allocations: 11.91 kB / 0.5077 GB, free: 6.973 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches