Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",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.001835/0.001835, allocations: 105.9 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.002039/0.002039, 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.498/1.498, 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.2649/0.2649, allocations: 43.53 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.002006/0.002007, allocations: 63.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1284, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.003299/0.1318, allocations: 1.608 MB / 0.489 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1325, allocations: 323.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.1326, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.133, allocations: 71.83 kB / 0.4894 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002276/0.1332, allocations: 59.75 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1336, allocations: 115.7 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1337, allocations: 71.81 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1339, allocations: 16.17 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.075e-05/0.1339, allocations: 35.89 kB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1341, allocations: 55.77 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1341, allocations: 4 kB / 0.4897 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.1342, allocations: 28 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.64e-05/0.1343, allocations: 31.89 kB / 0.4898 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.1344, allocations: 31.75 kB / 0.4898 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.1346, allocations: 99.56 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1346, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.1346, allocations: 0 / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1346, allocations: 7.938 kB / 0.4899 GB, free: 9.715 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006457/0.1352, allocations: 426.7 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1353, allocations: 11.89 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.644e-05/0.1353, allocations: 30.75 kB / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1354, allocations: 8.891 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1356, allocations: 200.9 kB / 0.4905 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1357, allocations: 8.375 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1357, allocations: 8.078 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.1359, allocations: 53.67 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1359, allocations: 0 / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1359, allocations: 8 kB / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1359, allocations: 0 / 0.4906 GB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1361, allocations: 35.91 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1365, allocations: 296.8 kB / 0.4909 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.1367, allocations: 42.55 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.1367, allocations: 28.94 kB / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.1368, allocations: 0 / 0.491 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.1368, allocations: 34.5 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1368, allocations: 0 / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007961/0.1376, allocations: 225.4 kB / 0.4913 GB, free: 8.148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.1377, allocations: 51.41 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1379, allocations: 215.2 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.1379, allocations: 25.7 kB / 0.4915 GB, free: 7.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.138, allocations: 104.1 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.138, allocations: 23.83 kB / 0.4917 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.1381, allocations: 25.69 kB / 0.4917 GB, free: 7.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1382, allocations: 334.8 kB / 0.492 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1384, allocations: 31.97 kB / 0.492 GB, free: 7.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.793e-05/0.1385, allocations: 23.98 kB / 0.4921 GB, free: 7.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.1387, allocations: 76.8 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1387, allocations: 7.938 kB / 0.4921 GB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002751/0.139, allocations: 109.5 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.139, allocations: 8 kB / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.139, allocations: 0 / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1391, allocations: 0 / 0.4922 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1392, allocations: 23.98 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1392, allocations: 3.938 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.904e-05/0.1393, allocations: 11.98 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1393, allocations: 4 kB / 0.4923 GB, free: 7.031 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 (7): * Single equations (assignments): 7 * 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.0001064/0.1394, allocations: 129.8 kB / 0.4924 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.1394, allocations: 11.91 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.1398, allocations: 139 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1398, allocations: 4 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1398, allocations: 3.938 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1398, allocations: 0 / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006309/0.1405, allocations: 382.5 kB / 0.4929 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1405, allocations: 4 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.1406, allocations: 23.91 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1406, allocations: 3.938 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1406, allocations: 8 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1406, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1406, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.141, allocations: 211.9 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.1411, allocations: 85.06 kB / 0.4932 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.1411, allocations: 15.92 kB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.1412, allocations: 4 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.1413, allocations: 11.98 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.1413, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1415, allocations: 160.9 kB / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1415, allocations: 0 / 0.4934 GB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1418, allocations: 19.98 kB / 0.4935 GB, free: 5.727 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 (7): * Single equations (assignments): 7 * 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.002224/0.144, allocations: 1.053 MB / 0.4945 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.1443, allocations: 87.86 kB / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1443, allocations: 0 / 0.4946 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1445, allocations: 39.97 kB / 0.4946 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.1448, allocations: 23.78 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.1472, allocations: 1.713 MB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.1477, allocations: 0.7041 MB / 0.497 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.182e-05/0.1478, allocations: 8.969 kB / 0.497 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.1478, allocations: 31.42 kB / 0.497 GB, free: 1.984 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1478, allocations: 8 kB / 0.497 GB, free: 1.977 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1738, allocations: 3.02 MB / 0.5 GB, free: 14.94 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.031, allocations: 11.97 kB / 0.5 GB, free: 14.93 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_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_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches