Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001346/0.001346, allocations: 105.8 kB / 16.41 MB, free: 6.512 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.001211/0.001211, 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.502/1.502, 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.2159/0.2159, allocations: 43.52 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.002021/0.002021, allocations: 70.03 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1242, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003145/0.1274, allocations: 1.659 MB / 0.489 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007693/0.1282, allocations: 379.4 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.1283, allocations: 0 / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.1285, allocations: 31.8 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1287, allocations: 43.7 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004065/0.1291, allocations: 163.6 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1293, allocations: 75.83 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1294, allocations: 32.19 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.073e-05/0.1295, allocations: 35.8 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.84e-05/0.1296, allocations: 31.84 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.1296, allocations: 8 kB / 0.4898 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1298, allocations: 59.89 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.1298, allocations: 15.98 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.1299, allocations: 39.73 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.1301, allocations: 127.4 kB / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1301, allocations: 0 / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1302, allocations: 0 / 0.49 GB, free: 9.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.1302, allocations: 0 / 0.49 GB, free: 9.57 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.0007048/0.1309, allocations: 426.9 kB / 0.4904 GB, free: 9.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1309, allocations: 15.89 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.131, allocations: 34.75 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.131, allocations: 12.84 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1313, allocations: 203.6 kB / 0.4907 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1313, allocations: 4.375 kB / 0.4907 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.1313, allocations: 4.375 kB / 0.4907 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.1317, allocations: 107.2 kB / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1317, allocations: 0 / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1317, allocations: 0 / 0.4908 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1317, allocations: 4 kB / 0.4908 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.132, allocations: 75.92 kB / 0.4909 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.1326, allocations: 332.8 kB / 0.4912 GB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1329, allocations: 74.47 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.1331, allocations: 52.88 kB / 0.4913 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.1331, allocations: 4.062 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.1331, allocations: 34.56 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.1332, allocations: 0 / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001657/0.1348, allocations: 389.2 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.1349, allocations: 85.03 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.135, allocations: 149.8 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.1351, allocations: 29.7 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.1352, allocations: 100.1 kB / 0.4921 GB, free: 7.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.1352, allocations: 31.73 kB / 0.4921 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.1353, allocations: 21.72 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1354, allocations: 322.8 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1357, allocations: 72.11 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.136, allocations: 101.6 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005658/0.1366, allocations: 152.7 kB / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1366, allocations: 0 / 0.4927 GB, free: 6.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006573/0.1373, allocations: 193.5 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1373, allocations: 7.984 kB / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1373, allocations: 0 / 0.4929 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1373, allocations: 3.984 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1376, allocations: 43.84 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1376, allocations: 0 / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.1378, allocations: 27.95 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1378, allocations: 0 / 0.493 GB, free: 6.27 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.0001158/0.1379, allocations: 125.8 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.1379, allocations: 7.953 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007217/0.1387, allocations: 214.5 kB / 0.4933 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.1387, allocations: 7.938 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1387, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1387, allocations: 0 / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009589/0.1397, allocations: 494.3 kB / 0.4938 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1397, allocations: 4 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.1399, allocations: 39.89 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1399, allocations: 0 / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1399, allocations: 11.94 kB / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1399, allocations: 0 / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1399, allocations: 0 / 0.4939 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.1406, allocations: 295.2 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.1407, allocations: 96.98 kB / 0.4942 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1407, allocations: 0 / 0.4942 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1409, allocations: 23.97 kB / 0.4943 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.141, allocations: 11.98 kB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.141, allocations: 4 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.1411, allocations: 116 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1411, allocations: 0 / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1414, allocations: 31.94 kB / 0.4944 GB, free: 4.707 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.002593/0.144, allocations: 1.189 MB / 0.4956 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.1447, allocations: 151.8 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1447, allocations: 0 / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003125/0.1451, allocations: 91.84 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1455, allocations: 24.86 kB / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003129/0.1486, allocations: 1.83 MB / 0.4976 GB, free: 1.367 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.149, allocations: 0.7002 MB / 0.4983 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.1491, allocations: 32.44 kB / 0.4983 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.351e-05/0.1492, allocations: 35.42 kB / 0.4984 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1492, allocations: 0 / 0.4984 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1753, allocations: 3.73 MB / 0.502 GB, free: 12.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.137, allocations: 4.062 kB / 0.502 GB, free: 12.77 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches