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.001182/0.001182, allocations: 104.8 kB / 16.4 MB, free: 6.406 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.001136/0.001136, allocations: 190.9 kB / 17.34 MB, free: 5.691 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2102/0.2102, allocations: 43.52 MB / 314.1 MB, free: 456 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.001447/0.001447, allocations: 73.45 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.116, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003716/0.1197, allocations: 1.962 MB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1216, allocations: 0.7719 MB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.1218, allocations: 0 / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007281/0.1226, allocations: 263.2 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.1231, allocations: 191.3 kB / 0.4905 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.1252, allocations: 0.6004 MB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007388/0.126, allocations: 307.2 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002663/0.1262, allocations: 72.7 kB / 0.4915 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.1265, allocations: 135.5 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1269, allocations: 203.3 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.127, allocations: 8 kB / 0.4918 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.1272, allocations: 71.95 kB / 0.4919 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.1274, allocations: 91.69 kB / 0.4919 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1275, allocations: 130.9 kB / 0.4921 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005869/0.1281, allocations: 330.3 kB / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1282, allocations: 0 / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1282, allocations: 0 / 0.4924 GB, free: 7.145 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1282, allocations: 0 / 0.4924 GB, free: 7.145 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.001148/0.1293, allocations: 0.6648 MB / 0.493 GB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.1294, allocations: 15.89 kB / 0.4931 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.1295, allocations: 42.73 kB / 0.4931 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1296, allocations: 40.66 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.1302, allocations: 338.5 kB / 0.4935 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1302, allocations: 8.375 kB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.9e-05/0.1302, allocations: 16.31 kB / 0.4935 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.1306, allocations: 129.5 kB / 0.4936 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.1306, allocations: 4 kB / 0.4936 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.1307, allocations: 8 kB / 0.4936 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1307, allocations: 0 / 0.4936 GB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.1309, allocations: 91.94 kB / 0.4937 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.1318, allocations: 0.512 MB / 0.4942 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/0.1321, allocations: 106.5 kB / 0.4943 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1322, allocations: 48.83 kB / 0.4943 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.1323, allocations: 3.984 kB / 0.4944 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1323, allocations: 38.5 kB / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.583e-06/0.1323, allocations: 0 / 0.4944 GB, free: 4.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001365/0.1337, allocations: 440.6 kB / 0.4948 GB, free: 4.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.1337, allocations: 55.41 kB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008432/0.1346, allocations: 0.5526 MB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.1346, allocations: 29.7 kB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1348, allocations: 204.4 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.1349, allocations: 67.45 kB / 0.4957 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.135, allocations: 29.72 kB / 0.4957 GB, free: 3.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.1352, allocations: 358.8 kB / 0.4961 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.1354, allocations: 59.97 kB / 0.4961 GB, free: 3.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.1356, allocations: 78.61 kB / 0.4962 GB, free: 3.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.136, allocations: 160.6 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.136, allocations: 0 / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005294/0.1365, allocations: 228.2 kB / 0.4966 GB, free: 2.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1366, allocations: 4 kB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1366, allocations: 0 / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.1366, allocations: 3.984 kB / 0.4966 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.1368, allocations: 39.92 kB / 0.4966 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1368, allocations: 0 / 0.4966 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.137, allocations: 12 kB / 0.4966 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.137, allocations: 7.984 kB / 0.4966 GB, free: 2.566 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.0002275/0.1372, allocations: 181.7 kB / 0.4968 GB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.1373, allocations: 47.64 kB / 0.4968 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/0.138, allocations: 269.5 kB / 0.4971 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.138, allocations: 4 kB / 0.4971 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/0.1381, allocations: 0 / 0.4971 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.1381, allocations: 3.984 kB / 0.4971 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1393, allocations: 0.6776 MB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1393, allocations: 0 / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.1395, allocations: 39.92 kB / 0.4978 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.1395, allocations: 0 / 0.4978 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1396, allocations: 11.92 kB / 0.4978 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.1396, allocations: 11.94 kB / 0.4978 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1396, allocations: 0 / 0.4978 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.1402, allocations: 327.9 kB / 0.4981 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.1404, allocations: 116.9 kB / 0.4983 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.1404, allocations: 4 kB / 0.4983 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1406, allocations: 15.92 kB / 0.4983 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.1407, allocations: 15.98 kB / 0.4983 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1407, allocations: 4 kB / 0.4983 GB, free: 0.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006228/0.1413, allocations: 415.1 kB / 0.4987 GB, free: 356 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1413, allocations: 0 / 0.4987 GB, free: 356 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004952/0.1418, allocations: 55.89 kB / 0.4987 GB, free: 300 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.003105/0.1449, allocations: 1.446 MB / 0.5002 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005255/0.1455, allocations: 171.8 kB / 0.5003 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1455, allocations: 0 / 0.5003 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.1458, allocations: 87.89 kB / 0.5004 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008095/0.1466, allocations: 85.3 kB / 0.5005 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.1523, allocations: 3.198 MB / 0.5036 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.1527, allocations: 0.826 MB / 0.5044 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.1529, allocations: 54.25 kB / 0.5045 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.1531, allocations: 123.4 kB / 0.5046 GB, free: 10.23 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1531, allocations: 0 / 0.5046 GB, free: 10.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.1795, allocations: 7.502 MB / 0.5119 GB, free: 2.684 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.212, allocations: 15.88 kB / 0.5119 GB, free: 2.668 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