Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.00138/0.00138, allocations: 104.8 kB / 16.4 MB, free: 5.961 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.001322/0.001322, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.572/1.572, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2299/0.2299, allocations: 43.53 MB / 314.1 MB, free: 452 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.00198/0.00198, allocations: 71.89 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1307, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.00442/0.1352, allocations: 1.946 MB / 0.4893 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1368, allocations: 0.9638 MB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.41e-05/0.1369, allocations: 0 / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002472/0.1371, allocations: 47.64 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.1375, allocations: 147.4 kB / 0.4904 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.1383, allocations: 395.1 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003182/0.1387, allocations: 255.3 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1388, allocations: 60.22 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.139, allocations: 115.5 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002277/0.1392, allocations: 175.4 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.1393, allocations: 12 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.1394, allocations: 47.98 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.1395, allocations: 131.5 kB / 0.4916 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.1397, allocations: 162.7 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004275/0.1401, allocations: 374 kB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1401, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1402, allocations: 0 / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1402, allocations: 0 / 0.4921 GB, free: 7.445 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.0009884/0.1412, allocations: 0.7812 MB / 0.4929 GB, free: 6.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1412, allocations: 11.89 kB / 0.4929 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1413, allocations: 46.67 kB / 0.4929 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.1413, allocations: 56.56 kB / 0.493 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.1419, allocations: 456.3 kB / 0.4934 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.1419, allocations: 8.375 kB / 0.4934 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.1419, allocations: 15.94 kB / 0.4934 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.1422, allocations: 131.3 kB / 0.4936 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1422, allocations: 4 kB / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1422, allocations: 0 / 0.4936 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1423, allocations: 4 kB / 0.4936 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.1425, allocations: 79.94 kB / 0.4936 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000877/0.1433, allocations: 0.6683 MB / 0.4943 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.1436, allocations: 109.2 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.1437, allocations: 41.81 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.1437, allocations: 16.09 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1438, allocations: 34.5 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1438, allocations: 7.938 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001382/0.1452, allocations: 0.523 MB / 0.495 GB, free: 4.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.1452, allocations: 77.11 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.1462, allocations: 0.8779 MB / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.1463, allocations: 29.69 kB / 0.496 GB, free: 3.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.1465, allocations: 252.3 kB / 0.4962 GB, free: 2.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.1465, allocations: 47.59 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.157e-05/0.1466, allocations: 29.7 kB / 0.4963 GB, free: 2.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1468, allocations: 374.7 kB / 0.4966 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.147, allocations: 55.95 kB / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.1471, allocations: 81.27 kB / 0.4968 GB, free: 2.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.1475, allocations: 137.6 kB / 0.4969 GB, free: 2.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1475, allocations: 4 kB / 0.4969 GB, free: 2.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004793/0.148, allocations: 221.2 kB / 0.4971 GB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.148, allocations: 4 kB / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.148, allocations: 0 / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.148, allocations: 0 / 0.4971 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1482, allocations: 39.91 kB / 0.4972 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.1483, allocations: 4 kB / 0.4972 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1484, allocations: 15.98 kB / 0.4972 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1484, allocations: 4 kB / 0.4972 GB, free: 1.961 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.0002081/0.1486, allocations: 213.7 kB / 0.4974 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.1488, allocations: 59.61 kB / 0.4974 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.1494, allocations: 271 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1494, allocations: 4 kB / 0.4977 GB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1494, allocations: 4 kB / 0.4977 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1494, allocations: 0 / 0.4977 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1505, allocations: 0.7669 MB / 0.4984 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.1505, allocations: 11.98 kB / 0.4985 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1507, allocations: 27.98 kB / 0.4985 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1507, allocations: 11.98 kB / 0.4985 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1507, allocations: 4 kB / 0.4985 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1508, allocations: 11.88 kB / 0.4985 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.1508, allocations: 0 / 0.4985 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.1513, allocations: 402.2 kB / 0.4989 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.1515, allocations: 152.7 kB / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.1515, allocations: 0 / 0.499 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1517, allocations: 19.92 kB / 0.4991 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.1518, allocations: 15.98 kB / 0.4991 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1518, allocations: 7.984 kB / 0.4991 GB, free: 15.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007133/0.1526, allocations: 0.6393 MB / 0.4997 GB, free: 15.26 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1526, allocations: 0 / 0.4997 GB, free: 15.26 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.1529, allocations: 51.98 kB / 0.4998 GB, free: 15.21 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.002152/0.1551, allocations: 1.221 MB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004151/0.1555, allocations: 151.8 kB / 0.5011 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1555, allocations: 0 / 0.5011 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1557, allocations: 84.3 kB / 0.5012 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000617/0.1564, allocations: 78.28 kB / 0.5013 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007869/0.1642, allocations: 4.936 MB / 0.5061 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005249/0.1648, allocations: 0.8536 MB / 0.5069 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000192/0.165, allocations: 75.22 kB / 0.507 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.1653, allocations: 167.4 kB / 0.5071 GB, free: 7.547 MB / 398.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1653, allocations: 0 / 0.5071 GB, free: 7.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.1983, allocations: 9.553 MB / 0.5165 GB, free: 13.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.672, allocations: 12.05 kB / 0.5165 GB, free: 13.95 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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_CombiTable2D_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches