Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001393/0.001393, allocations: 111.5 kB / 16.41 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.001492/0.001492, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.371/1.371, 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.2138/0.2138, allocations: 43.53 MB / 314.1 MB, free: 468 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.001346/0.001346, allocations: 67.91 kB / 441.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003601/0.1196, allocations: 1.958 MB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1214, allocations: 1.05 MB / 0.4904 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002099/0.1217, allocations: 7.938 kB / 0.4904 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/0.1221, allocations: 59.56 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004763/0.1226, allocations: 139.4 kB / 0.4905 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.1239, allocations: 0.5497 MB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.1244, allocations: 279.2 kB / 0.4914 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1246, allocations: 80.5 kB / 0.4914 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002645/0.1249, allocations: 119.5 kB / 0.4915 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1252, allocations: 175.4 kB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.1252, allocations: 12 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.1254, allocations: 51.92 kB / 0.4918 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.1255, allocations: 139.6 kB / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.1257, allocations: 170.6 kB / 0.4921 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004632/0.1262, allocations: 386 kB / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1262, allocations: 0 / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1262, allocations: 0 / 0.4924 GB, free: 7.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.1262, allocations: 0 / 0.4924 GB, free: 7.137 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001093/0.1273, allocations: 0.7812 MB / 0.4932 GB, free: 6.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1274, allocations: 19.83 kB / 0.4932 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.1274, allocations: 50.73 kB / 0.4933 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.1275, allocations: 56.56 kB / 0.4933 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.1281, allocations: 460.3 kB / 0.4938 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1281, allocations: 8.375 kB / 0.4938 GB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.1282, allocations: 15.94 kB / 0.4938 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.1285, allocations: 147.2 kB / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.1285, allocations: 0 / 0.4939 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1285, allocations: 4 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1286, allocations: 8 kB / 0.4939 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1288, allocations: 91.92 kB / 0.494 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009662/0.1298, allocations: 0.6995 MB / 0.4947 GB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.13, allocations: 117.2 kB / 0.4948 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1301, allocations: 45.81 kB / 0.4949 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1302, allocations: 15.81 kB / 0.4949 GB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1302, allocations: 34.56 kB / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1302, allocations: 0 / 0.4949 GB, free: 4.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001438/0.1316, allocations: 0.5623 MB / 0.4955 GB, free: 3.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1317, allocations: 81.09 kB / 0.4955 GB, free: 3.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008963/0.1326, allocations: 0.8819 MB / 0.4964 GB, free: 2.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1326, allocations: 25.7 kB / 0.4964 GB, free: 2.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1328, allocations: 256.4 kB / 0.4967 GB, free: 2.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.1329, allocations: 63.47 kB / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.1329, allocations: 33.7 kB / 0.4968 GB, free: 2.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1331, allocations: 374.7 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1333, allocations: 63.95 kB / 0.4972 GB, free: 2.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.1335, allocations: 81.67 kB / 0.4973 GB, free: 1.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.1338, allocations: 153.6 kB / 0.4974 GB, free: 1.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1338, allocations: 4 kB / 0.4974 GB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004789/0.1343, allocations: 237.2 kB / 0.4976 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1343, allocations: 8 kB / 0.4976 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1343, allocations: 0 / 0.4976 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1344, allocations: 4 kB / 0.4976 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.1346, allocations: 39.91 kB / 0.4977 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1346, allocations: 0 / 0.4977 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.1347, allocations: 19.88 kB / 0.4977 GB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.1348, allocations: 8 kB / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001996/0.135, allocations: 221.6 kB / 0.4979 GB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.1351, allocations: 59.62 kB / 0.498 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.1358, allocations: 286.3 kB / 0.4982 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1358, allocations: 224 / 0.4982 GB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/0.1358, allocations: 4 kB / 0.4983 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1358, allocations: 3.938 kB / 0.4983 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1369, allocations: 0.8059 MB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1369, allocations: 384 / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1371, allocations: 39.97 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1371, allocations: 0 / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1371, allocations: 7.984 kB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1372, allocations: 11.94 kB / 0.4991 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1372, allocations: 3.938 kB / 0.4991 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005149/0.1377, allocations: 414.3 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.1379, allocations: 148.7 kB / 0.4996 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.196e-05/0.1379, allocations: 8 kB / 0.4996 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1381, allocations: 19.92 kB / 0.4997 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.1382, allocations: 11.98 kB / 0.4997 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.1382, allocations: 11.98 kB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006444/0.1388, allocations: 0.6471 MB / 0.5003 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1389, allocations: 0 / 0.5003 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003541/0.1392, allocations: 52 kB / 0.5004 GB, free: 14.61 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001554/0.1408, allocations: 1.252 MB / 0.5016 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004217/0.1412, allocations: 167.8 kB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1412, allocations: 4 kB / 0.5018 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.1414, allocations: 84.36 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006186/0.142, allocations: 86.3 kB / 0.5019 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00581/0.1479, allocations: 5.073 MB / 0.5069 GB, free: 7.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.1483, allocations: 0.8653 MB / 0.5077 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002024/0.1485, allocations: 87.22 kB / 0.5078 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.1487, allocations: 175.3 kB / 0.508 GB, free: 6.723 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1488, allocations: 0 / 0.508 GB, free: 6.723 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.1782, allocations: 9.777 MB / 0.5175 GB, free: 12.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.577, allocations: 8.047 kB / 0.5175 GB, free: 12.9 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_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_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches