Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",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.001184/0.001184, allocations: 110.8 kB / 16.41 MB, free: 6.453 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.001254/0.001254, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.421/1.421, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2113/0.2113, allocations: 43.53 MB / 314.1 MB, free: 476 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.001516/0.001516, allocations: 59.91 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1127, allocations: 57.8 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.003155/0.1159, allocations: 1.618 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.1168, allocations: 0.6919 MB / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.147e-05/0.1169, allocations: 0 / 0.4897 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002605/0.1171, allocations: 35.84 kB / 0.4897 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1174, allocations: 31.89 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.26e-06/0.1174, allocations: 3.938 kB / 0.4897 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1176, allocations: 31.92 kB / 0.4898 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.1176, allocations: 11.97 kB / 0.4898 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.701e-05/0.1177, allocations: 7.938 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.1177, allocations: 15.94 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1178, allocations: 0 / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.1178, allocations: 7.984 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/0.1179, allocations: 19.92 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.1179, allocations: 19.81 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1181, allocations: 71.61 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1181, allocations: 0 / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1181, allocations: 0 / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.1181, allocations: 0 / 0.4899 GB, free: 9.738 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004409/0.1186, allocations: 371.2 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1186, allocations: 15.83 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.1187, allocations: 38.73 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.1187, allocations: 8.891 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.1189, allocations: 176.2 kB / 0.4905 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1189, allocations: 8.359 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.1189, allocations: 384 / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1191, allocations: 126.8 kB / 0.4906 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1191, allocations: 7.875 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1192, allocations: 4 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.1192, allocations: 23.98 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.1193, allocations: 35.92 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.12, allocations: 0.8984 MB / 0.4916 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.645e-05/0.1201, allocations: 169.1 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.1201, allocations: 96.09 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.753e-05/0.1202, allocations: 75.28 kB / 0.4919 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.1202, allocations: 109.8 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.1202, allocations: 0 / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 9e-05/0.1203, allocations: 37.66 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.1204, allocations: 126.7 kB / 0.4922 GB, free: 7.207 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1206, allocations: 182.1 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.1206, allocations: 29.7 kB / 0.4924 GB, free: 6.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.1207, allocations: 147.6 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.1207, allocations: 8 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.1208, allocations: 45.59 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1209, allocations: 318.8 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.545e-05/0.121, allocations: 39.91 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.1211, allocations: 153.1 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.1214, allocations: 204.9 kB / 0.4932 GB, free: 5.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1214, allocations: 4 kB / 0.4932 GB, free: 5.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003209/0.1217, allocations: 197.3 kB / 0.4934 GB, free: 5.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1217, allocations: 4 kB / 0.4934 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1217, allocations: 8 kB / 0.4934 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1218, allocations: 4 kB / 0.4934 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1219, allocations: 43.91 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.1219, allocations: 15.92 kB / 0.4935 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.122, allocations: 16.33 kB / 0.4935 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.122, allocations: 12 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001189/0.1222, allocations: 224.9 kB / 0.4937 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.1222, allocations: 120.8 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.749e-05/0.1223, allocations: 116.8 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.1224, allocations: 180.2 kB / 0.4941 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-05/0.1225, allocations: 180.2 kB / 0.4943 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.386e-05/0.1225, allocations: 192.2 kB / 0.4945 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.1228, allocations: 425.1 kB / 0.4949 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/0.1228, allocations: 101 kB / 0.495 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.777e-05/0.1228, allocations: 104.9 kB / 0.4951 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.161e-05/0.1229, allocations: 176.3 kB / 0.4953 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.123, allocations: 192.2 kB / 0.4954 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-05/0.123, allocations: 180.2 kB / 0.4956 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.918e-05/0.1231, allocations: 180.2 kB / 0.4958 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.1232, allocations: 315.7 kB / 0.4961 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.1233, allocations: 190 kB / 0.4963 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.589e-05/0.1234, allocations: 184.3 kB / 0.4964 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1235, allocations: 104.9 kB / 0.4965 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.1236, allocations: 176.3 kB / 0.4967 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1236, allocations: 101 kB / 0.4968 GB, free: 2.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.914e-05/0.1237, allocations: 136.1 kB / 0.4969 GB, free: 1.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1237, allocations: 0 / 0.4969 GB, free: 1.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.124, allocations: 16 kB / 0.497 GB, free: 1.891 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 (0): * Single equations (assignments): 0 * 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.0006921/0.1247, allocations: 0.9146 MB / 0.4978 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1249, allocations: 76.34 kB / 0.4979 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.1249, allocations: 4 kB / 0.4979 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.1249, allocations: 0 / 0.4979 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1253, allocations: 455.7 kB / 0.4984 GB, free: 456 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1269, allocations: 1.88 MB / 0.5002 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1272, allocations: 0.7045 MB / 0.5009 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.1274, allocations: 56.95 kB / 0.5009 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.1274, allocations: 27.36 kB / 0.501 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1274, allocations: 0 / 0.501 GB, free: 13.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.1461, allocations: 2.081 MB / 0.503 GB, free: 11.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.684, allocations: 11.33 kB / 0.503 GB, free: 11.45 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_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_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches