Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test20",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.001298/0.001298, allocations: 106.7 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.001182/0.001182, allocations: 189.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.475/1.475, 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.2203/0.2203, allocations: 43.52 MB / 314.1 MB, free: 488 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.002013/0.002013, allocations: 75.89 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.123, allocations: 57.78 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003584/0.1266, allocations: 1.954 MB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.1281, allocations: 0.768 MB / 0.4901 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.1282, allocations: 0 / 0.4901 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.1288, allocations: 267.2 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.1293, allocations: 187.3 kB / 0.4905 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1307, allocations: 0.6081 MB / 0.4911 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.1312, allocations: 299.2 kB / 0.4914 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1314, allocations: 84.67 kB / 0.4915 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1316, allocations: 127.6 kB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003022/0.1319, allocations: 203.3 kB / 0.4918 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.1319, allocations: 8 kB / 0.4918 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.1321, allocations: 67.97 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1323, allocations: 95.67 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1324, allocations: 130.9 kB / 0.4921 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004743/0.1329, allocations: 330.3 kB / 0.4924 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1329, allocations: 0 / 0.4924 GB, free: 7.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1329, allocations: 0 / 0.4924 GB, free: 7.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.1329, allocations: 0 / 0.4924 GB, free: 7.203 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.0009918/0.1339, allocations: 0.6726 MB / 0.493 GB, free: 6.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.134, allocations: 11.89 kB / 0.493 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.134, allocations: 42.73 kB / 0.4931 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.207e-05/0.1341, allocations: 48.66 kB / 0.4931 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.1345, allocations: 330.5 kB / 0.4934 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1346, allocations: 8.375 kB / 0.4935 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.1346, allocations: 12.38 kB / 0.4935 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.1349, allocations: 129.5 kB / 0.4936 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1349, allocations: 4 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1349, allocations: 4 kB / 0.4936 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.1349, allocations: 4 kB / 0.4936 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.1351, allocations: 87.92 kB / 0.4937 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007386/0.1359, allocations: 0.5159 MB / 0.4942 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1361, allocations: 110.5 kB / 0.4943 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.014e-05/0.1362, allocations: 40.84 kB / 0.4943 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.1363, allocations: 4 kB / 0.4943 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1363, allocations: 34.5 kB / 0.4944 GB, free: 4.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.1363, allocations: 0 / 0.4944 GB, free: 4.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001091/0.1374, allocations: 448.6 kB / 0.4948 GB, free: 4.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.1375, allocations: 59.41 kB / 0.4949 GB, free: 4.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.1382, allocations: 0.5526 MB / 0.4954 GB, free: 3.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1382, allocations: 25.7 kB / 0.4954 GB, free: 3.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.1385, allocations: 208.4 kB / 0.4956 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.1385, allocations: 63.47 kB / 0.4957 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.1386, allocations: 33.7 kB / 0.4957 GB, free: 3.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.1389, allocations: 350.8 kB / 0.496 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.139, allocations: 71.95 kB / 0.4961 GB, free: 3.145 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.1392, allocations: 66.61 kB / 0.4962 GB, free: 3.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1395, allocations: 156.6 kB / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1395, allocations: 0 / 0.4963 GB, free: 2.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004244/0.1399, allocations: 230.1 kB / 0.4965 GB, free: 2.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.14, allocations: 4 kB / 0.4966 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.14, allocations: 3.984 kB / 0.4966 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.14, allocations: 11.94 kB / 0.4966 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.1402, allocations: 27.98 kB / 0.4966 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1402, allocations: 4 kB / 0.4966 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.474e-05/0.1402, allocations: 11.98 kB / 0.4966 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.1403, allocations: 4 kB / 0.4966 GB, free: 2.629 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.00019/0.1405, allocations: 193.5 kB / 0.4968 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.108e-05/0.1405, allocations: 39.72 kB / 0.4968 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005238/0.1411, allocations: 284.3 kB / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1411, allocations: 0 / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1411, allocations: 0 / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1411, allocations: 0 / 0.4971 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009317/0.142, allocations: 0.6777 MB / 0.4978 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1421, allocations: 0 / 0.4978 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1422, allocations: 39.91 kB / 0.4978 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1422, allocations: 4 kB / 0.4978 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1422, allocations: 7.938 kB / 0.4978 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1422, allocations: 3.938 kB / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1422, allocations: 0 / 0.4978 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.1427, allocations: 334.4 kB / 0.4981 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.753e-05/0.1428, allocations: 120.8 kB / 0.4983 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.1428, allocations: 0 / 0.4983 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.143, allocations: 23.92 kB / 0.4983 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.143, allocations: 7.984 kB / 0.4983 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.143, allocations: 4 kB / 0.4983 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004514/0.1435, allocations: 419.1 kB / 0.4987 GB, free: 412 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1435, allocations: 0 / 0.4987 GB, free: 412 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003061/0.1438, allocations: 55.88 kB / 0.4987 GB, free: 356 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.00344/0.1472, allocations: 1.447 MB / 0.5002 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000387/0.1476, allocations: 167.7 kB / 0.5003 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1477, allocations: 0 / 0.5003 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.1478, allocations: 91.89 kB / 0.5004 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000618/0.1485, allocations: 77.33 kB / 0.5005 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.1525, allocations: 3.194 MB / 0.5036 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.1531, allocations: 0.8221 MB / 0.5044 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.1532, allocations: 58.25 kB / 0.5045 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/0.1534, allocations: 123.4 kB / 0.5046 GB, free: 10.28 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1534, allocations: 0 / 0.5046 GB, free: 10.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.1849, allocations: 7.516 MB / 0.5119 GB, free: 2.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.268/8.453, allocations: 3.938 kB / 0.5119 GB, free: 2.723 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_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_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches