Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",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.001455/0.001455, allocations: 107.2 kB / 16.41 MB, free: 6.504 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.001224/0.001224, allocations: 192.2 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.45/1.45, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.242/0.242, allocations: 43.52 MB / 314.1 MB, free: 464 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.002046/0.002046, allocations: 73.47 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1215, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.00353/0.1251, allocations: 1.554 MB / 0.4889 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.1259, allocations: 363.3 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.126, allocations: 4 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.1262, allocations: 15.86 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.1265, allocations: 43.78 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1267, allocations: 83.8 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1269, allocations: 63.78 kB / 0.4895 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.127, allocations: 20.16 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.424e-05/0.1271, allocations: 27.91 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.051e-05/0.1272, allocations: 23.86 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1272, allocations: 4 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1273, allocations: 47.97 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1274, allocations: 15.92 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.1274, allocations: 27.8 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1277, allocations: 95.64 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1277, allocations: 8 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1277, allocations: 0 / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1277, allocations: 0 / 0.4897 GB, free: 9.879 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000573/0.1283, allocations: 379 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1283, allocations: 11.89 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.386e-05/0.1284, allocations: 34.75 kB / 0.4901 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.1284, allocations: 4.891 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1286, allocations: 192.2 kB / 0.4903 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1287, allocations: 4.375 kB / 0.4903 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.1287, allocations: 8.125 kB / 0.4903 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.1289, allocations: 71.33 kB / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1289, allocations: 0 / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1289, allocations: 0 / 0.4904 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1289, allocations: 4 kB / 0.4904 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.1291, allocations: 27.97 kB / 0.4904 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1295, allocations: 292.8 kB / 0.4907 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1297, allocations: 42.55 kB / 0.4908 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.1297, allocations: 16.86 kB / 0.4908 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1298, allocations: 0 / 0.4908 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.1298, allocations: 34.64 kB / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1298, allocations: 0 / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006431/0.1305, allocations: 161.4 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.1305, allocations: 85.09 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1307, allocations: 125.8 kB / 0.4912 GB, free: 8.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.1307, allocations: 25.7 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.1308, allocations: 104 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1308, allocations: 15.84 kB / 0.4913 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.1309, allocations: 25.7 kB / 0.4913 GB, free: 8.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1311, allocations: 318.8 kB / 0.4916 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.1311, allocations: 31.91 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.1312, allocations: 29.7 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1314, allocations: 60.83 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1314, allocations: 4.031 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002008/0.1316, allocations: 89.86 kB / 0.4918 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1316, allocations: 4 kB / 0.4918 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1316, allocations: 4 kB / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1317, allocations: 0 / 0.4919 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1318, allocations: 19.92 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1318, allocations: 0 / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.1318, allocations: 7.938 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1319, allocations: 0 / 0.4919 GB, free: 7.438 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 (6): * Single equations (assignments): 6 * 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.0001031/0.132, allocations: 129.8 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.132, allocations: 3.953 kB / 0.492 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002725/0.1323, allocations: 106 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1323, allocations: 0 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1323, allocations: 0 / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1323, allocations: 8.156 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005021/0.1328, allocations: 366.5 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1328, allocations: 0 / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.1329, allocations: 15.98 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1329, allocations: 0 / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1329, allocations: 7.922 kB / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1329, allocations: 0 / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1329, allocations: 0 / 0.4925 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.1332, allocations: 195.4 kB / 0.4927 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.1333, allocations: 81.09 kB / 0.4928 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1333, allocations: 8.125 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.1334, allocations: 4 kB / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.1335, allocations: 7.984 kB / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1335, allocations: 4 kB / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.827e-05/0.1336, allocations: 107.8 kB / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1336, allocations: 0 / 0.4929 GB, free: 6.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.1339, allocations: 23.94 kB / 0.4929 GB, free: 6.281 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 (6): * Single equations (assignments): 6 * 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.002163/0.136, allocations: 1.065 MB / 0.4939 GB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1363, allocations: 55.91 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1363, allocations: 4 kB / 0.494 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.106e-05/0.1364, allocations: 35.91 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1368, allocations: 23.33 kB / 0.4941 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1386, allocations: 1.42 MB / 0.4954 GB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.139, allocations: 0.6885 MB / 0.4961 GB, free: 2.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.932e-05/0.1391, allocations: 11.98 kB / 0.4961 GB, free: 2.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.1391, allocations: 27.42 kB / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1391, allocations: 4 kB / 0.4962 GB, free: 2.863 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.1643, allocations: 2.889 MB / 0.499 GB, free: 15.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.763/7.927, allocations: 0 / 0.499 GB, free: 15.91 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches