Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.00167/0.00167, allocations: 111.4 kB / 16.41 MB, free: 6.445 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.001806/0.001806, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.469/1.469, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2263/0.2263, allocations: 43.53 MB / 314.1 MB, free: 464 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.002018/0.002018, allocations: 67.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003536/0.1086, allocations: 1.966 MB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.11, allocations: 0.7641 MB / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.515e-05/0.1102, allocations: 0 / 0.4901 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1107, allocations: 267.2 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1111, allocations: 187.3 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.1125, allocations: 0.6042 MB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.1129, allocations: 295.2 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.1131, allocations: 88.66 kB / 0.4915 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.1133, allocations: 131.5 kB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.1135, allocations: 199.3 kB / 0.4918 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.1136, allocations: 12 kB / 0.4918 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.1137, allocations: 67.95 kB / 0.4919 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.1139, allocations: 103.6 kB / 0.492 GB, free: 7.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.114, allocations: 115 kB / 0.4921 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1144, allocations: 334.3 kB / 0.4924 GB, free: 7.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1144, allocations: 4 kB / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1144, allocations: 0 / 0.4924 GB, free: 7.188 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1145, allocations: 3.938 kB / 0.4924 GB, free: 7.184 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.0008081/0.1153, allocations: 0.6687 MB / 0.493 GB, free: 6.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1153, allocations: 11.89 kB / 0.4931 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1154, allocations: 46.73 kB / 0.4931 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.955e-05/0.1154, allocations: 44.66 kB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.1158, allocations: 330.5 kB / 0.4935 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1158, allocations: 8.375 kB / 0.4935 GB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.1159, allocations: 12.38 kB / 0.4935 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.1162, allocations: 129.5 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1162, allocations: 0 / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1162, allocations: 4 kB / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1162, allocations: 8 kB / 0.4936 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.1164, allocations: 87.92 kB / 0.4937 GB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.1171, allocations: 0.512 MB / 0.4942 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.1174, allocations: 114.4 kB / 0.4943 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.348e-05/0.1175, allocations: 40.84 kB / 0.4943 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.1175, allocations: 4 kB / 0.4943 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.1175, allocations: 38.5 kB / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.1175, allocations: 0 / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001022/0.1186, allocations: 440.6 kB / 0.4948 GB, free: 4.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1186, allocations: 59.34 kB / 0.4949 GB, free: 4.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006042/0.1192, allocations: 0.5565 MB / 0.4954 GB, free: 3.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1193, allocations: 25.7 kB / 0.4954 GB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.1194, allocations: 212.4 kB / 0.4956 GB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1195, allocations: 55.48 kB / 0.4957 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.1196, allocations: 33.7 kB / 0.4957 GB, free: 3.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1197, allocations: 350.8 kB / 0.4961 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.1199, allocations: 67.95 kB / 0.4961 GB, free: 3.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.12, allocations: 74.61 kB / 0.4962 GB, free: 3.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.1203, allocations: 160.6 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1203, allocations: 4 kB / 0.4963 GB, free: 2.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004076/0.1207, allocations: 224.1 kB / 0.4966 GB, free: 2.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.1208, allocations: 8 kB / 0.4966 GB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1208, allocations: 3.938 kB / 0.4966 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1208, allocations: 0 / 0.4966 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.121, allocations: 39.98 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.121, allocations: 0 / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.121, allocations: 7.984 kB / 0.4966 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.1211, allocations: 7.938 kB / 0.4966 GB, free: 2.613 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.0001801/0.1213, allocations: 189.6 kB / 0.4968 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.1213, allocations: 43.72 kB / 0.4968 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.1218, allocations: 273.5 kB / 0.4971 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1219, allocations: 4 kB / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1219, allocations: 0 / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1219, allocations: 0 / 0.4971 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008666/0.1228, allocations: 0.6816 MB / 0.4978 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1228, allocations: 0 / 0.4978 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1229, allocations: 35.91 kB / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1229, allocations: 0 / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1229, allocations: 12 kB / 0.4978 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.1229, allocations: 7.938 kB / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1229, allocations: 0 / 0.4978 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004934/0.1234, allocations: 339.6 kB / 0.4982 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1235, allocations: 116.8 kB / 0.4983 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.1236, allocations: 0 / 0.4983 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.1237, allocations: 15.94 kB / 0.4983 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.1237, allocations: 15.97 kB / 0.4983 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1238, allocations: 8 kB / 0.4983 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.1242, allocations: 415.1 kB / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1242, allocations: 0 / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002971/0.1245, allocations: 55.88 kB / 0.4988 GB, free: 340 kB / 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.003256/0.1278, allocations: 1.451 MB / 0.5002 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.1281, allocations: 167.7 kB / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1281, allocations: 0 / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.1283, allocations: 91.89 kB / 0.5004 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.1289, allocations: 77.2 kB / 0.5005 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.1328, allocations: 3.194 MB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.1333, allocations: 0.8143 MB / 0.5044 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.1334, allocations: 62.23 kB / 0.5045 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.1336, allocations: 123.4 kB / 0.5046 GB, free: 10.27 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1336, allocations: 0 / 0.5046 GB, free: 10.27 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.1636, allocations: 7.509 MB / 0.5119 GB, free: 2.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.281/8.445, allocations: 8 kB / 0.5119 GB, free: 2.707 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches