Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_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.001172/0.001172, allocations: 112.8 kB / 16.4 MB, free: 6.367 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.001185/0.001185, allocations: 198.7 kB / 17.34 MB, free: 5.844 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.537/1.537, 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.225/0.225, allocations: 43.52 MB / 314.1 MB, free: 468 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.001614/0.001614, allocations: 69.47 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1221, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003261/0.1254, allocations: 1.654 MB / 0.489 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007376/0.1261, allocations: 351.4 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.1262, allocations: 0 / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.1265, allocations: 27.84 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.1268, allocations: 43.72 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.1272, allocations: 127.6 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.1274, allocations: 71.83 kB / 0.4896 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1275, allocations: 16.22 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.1276, allocations: 27.86 kB / 0.4897 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.1277, allocations: 43.83 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.1278, allocations: 4 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.128, allocations: 59.92 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.1281, allocations: 23.91 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.1281, allocations: 31.8 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.1284, allocations: 119.5 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.1285, allocations: 3.984 kB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1285, allocations: 0 / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1285, allocations: 0 / 0.4899 GB, free: 9.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007488/0.1292, allocations: 426.8 kB / 0.4903 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1293, allocations: 11.89 kB / 0.4904 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.1293, allocations: 34.69 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.1294, allocations: 12.89 kB / 0.4904 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.1296, allocations: 199.6 kB / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1297, allocations: 384 / 0.4906 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1297, allocations: 8.359 kB / 0.4906 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.13, allocations: 103.3 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1301, allocations: 0 / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1301, allocations: 0 / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1301, allocations: 0 / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1304, allocations: 79.84 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.1309, allocations: 308.8 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.1311, allocations: 66.53 kB / 0.4911 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1313, allocations: 36.95 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1314, allocations: 7.938 kB / 0.4912 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1314, allocations: 38.56 kB / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.1314, allocations: 0 / 0.4912 GB, free: 8.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001623/0.133, allocations: 365.1 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1331, allocations: 77.19 kB / 0.4916 GB, free: 7.742 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1333, allocations: 157.7 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1333, allocations: 25.7 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.1334, allocations: 108 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.1334, allocations: 31.73 kB / 0.4919 GB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.1335, allocations: 21.72 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.1336, allocations: 322.8 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.1339, allocations: 67.92 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002855/0.1342, allocations: 81.64 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.1347, allocations: 136.8 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1347, allocations: 0 / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006337/0.1353, allocations: 185.4 kB / 0.4927 GB, free: 6.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1354, allocations: 4 kB / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1354, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1354, allocations: 0 / 0.4927 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.1356, allocations: 43.89 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1356, allocations: 0 / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.1358, allocations: 31.91 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1358, allocations: 4.359 kB / 0.4928 GB, free: 6.496 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 (8): * Single equations (assignments): 8 * 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.0001749/0.136, allocations: 117.8 kB / 0.4929 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.1361, allocations: 15.91 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006797/0.1368, allocations: 206.2 kB / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1368, allocations: 0 / 0.4931 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1368, allocations: 4 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1368, allocations: 3.938 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000903/0.1377, allocations: 478.7 kB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1377, allocations: 0 / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.1379, allocations: 31.97 kB / 0.4936 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1379, allocations: 7.984 kB / 0.4936 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1379, allocations: 3.938 kB / 0.4936 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1379, allocations: 7.984 kB / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1379, allocations: 0 / 0.4936 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006641/0.1386, allocations: 283.4 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.1387, allocations: 85.06 kB / 0.494 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.1387, allocations: 11.92 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1389, allocations: 19.97 kB / 0.494 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.139, allocations: 15.92 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.139, allocations: 4 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.867e-05/0.1391, allocations: 118.6 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1391, allocations: 0 / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002896/0.1394, allocations: 35.94 kB / 0.4942 GB, free: 4.969 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 (8): * Single equations (assignments): 8 * 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.001877/0.1413, allocations: 1.15 MB / 0.4953 GB, free: 3.836 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.1419, allocations: 155.8 kB / 0.4955 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.142, allocations: 4 kB / 0.4955 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.1423, allocations: 79.92 kB / 0.4955 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.1427, allocations: 19.92 kB / 0.4956 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.1457, allocations: 1.767 MB / 0.4973 GB, free: 1.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.1461, allocations: 0.7002 MB / 0.498 GB, free: 1.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1462, allocations: 16.41 kB / 0.498 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.942e-05/0.1463, allocations: 31.42 kB / 0.498 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1463, allocations: 0 / 0.498 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.1719, allocations: 3.658 MB / 0.5016 GB, free: 13.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.72, allocations: 8 kB / 0.5016 GB, free: 13.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_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_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches