Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",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.001317/0.001317, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001226/0.001226, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.434/1.434, allocations: 205.1 MB / 223.2 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.2274/0.2274, allocations: 43.54 MB / 314.1 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.001361/0.001361, allocations: 65.47 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.003784/0.1163, allocations: 1.604 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006611/0.117, allocations: 319.6 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.115e-05/0.1171, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1174, allocations: 71.77 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002388/0.1177, allocations: 63.69 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.1181, allocations: 111.8 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.1183, allocations: 79.73 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1184, allocations: 12.19 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.1185, allocations: 35.91 kB / 0.4896 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1186, allocations: 55.81 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1186, allocations: 4 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1188, allocations: 35.92 kB / 0.4897 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.695e-05/0.1189, allocations: 27.91 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.1189, allocations: 31.75 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.1192, allocations: 95.58 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1192, allocations: 0 / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.1192, allocations: 0 / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1192, allocations: 3.938 kB / 0.4899 GB, free: 9.711 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.0006122/0.1198, allocations: 422.7 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.1199, allocations: 15.89 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.1199, allocations: 30.75 kB / 0.4903 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.12, allocations: 8.891 kB / 0.4903 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1202, allocations: 208.8 kB / 0.4905 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1202, allocations: 4.375 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1202, allocations: 12.08 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1204, allocations: 53.67 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1204, allocations: 3.984 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1204, allocations: 8 kB / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1204, allocations: 0 / 0.4906 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1206, allocations: 31.97 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.121, allocations: 304.7 kB / 0.4909 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1211, allocations: 38.56 kB / 0.491 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.812e-05/0.1212, allocations: 28.94 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.1212, allocations: 0 / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1212, allocations: 30.56 kB / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1212, allocations: 0 / 0.491 GB, free: 8.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007554/0.122, allocations: 213.3 kB / 0.4912 GB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1221, allocations: 55.41 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.1223, allocations: 211.2 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.1223, allocations: 25.7 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.1224, allocations: 108.1 kB / 0.4916 GB, free: 7.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1224, allocations: 23.73 kB / 0.4916 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.1225, allocations: 21.72 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1226, allocations: 330.8 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1227, allocations: 31.91 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.834e-05/0.1228, allocations: 31.97 kB / 0.492 GB, free: 7.277 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.123, allocations: 80.81 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.123, allocations: 7.938 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000263/0.1233, allocations: 105.6 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1233, allocations: 4 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1233, allocations: 0 / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1234, allocations: 4 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1235, allocations: 23.92 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1235, allocations: 3.938 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.1236, allocations: 15.98 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1236, allocations: 0 / 0.4923 GB, free: 7.027 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.725e-05/0.1237, allocations: 129.8 kB / 0.4924 GB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.1237, allocations: 11.91 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.1241, allocations: 131 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.1241, allocations: 4 kB / 0.4925 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1241, allocations: 7.938 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1241, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004966/0.1246, allocations: 398.8 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1246, allocations: 0 / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.1247, allocations: 19.98 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1247, allocations: 3.938 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1247, allocations: 4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1247, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1247, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.125, allocations: 211.3 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1251, allocations: 93.05 kB / 0.4932 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.1251, allocations: 3.938 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.1252, allocations: 15.98 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1253, allocations: 11.98 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.1253, allocations: 0 / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1254, allocations: 160.9 kB / 0.4934 GB, free: 5.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1254, allocations: 0 / 0.4934 GB, free: 5.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1257, allocations: 20 kB / 0.4935 GB, free: 5.715 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.001346/0.127, allocations: 1.053 MB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.1273, allocations: 75.92 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1273, allocations: 4 kB / 0.4946 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1274, allocations: 47.91 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1278, allocations: 27.77 kB / 0.4946 GB, free: 4.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1297, allocations: 1.705 MB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.13, allocations: 0.704 MB / 0.497 GB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.13, allocations: 16.95 kB / 0.497 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.1301, allocations: 31.42 kB / 0.497 GB, free: 1.969 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1301, allocations: 4 kB / 0.497 GB, free: 1.965 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.1519, allocations: 3.009 MB / 0.5 GB, free: 14.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.629, allocations: 19.94 kB / 0.5 GB, free: 14.92 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches