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.001632/0.001633, allocations: 109 kB / 16.41 MB, free: 6.508 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.001973/0.001973, 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.428/1.428, 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.2124/0.2124, 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.001551/0.001551, allocations: 69.47 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1062, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003318/0.1095, allocations: 1.662 MB / 0.489 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.1103, allocations: 383.4 kB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.295e-05/0.1104, allocations: 0 / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.1107, allocations: 27.84 kB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1109, allocations: 55.64 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.1113, allocations: 147.7 kB / 0.4896 GB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1115, allocations: 87.75 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1116, allocations: 24.2 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.1117, allocations: 35.86 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.106e-05/0.1118, allocations: 35.83 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1118, allocations: 8 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.112, allocations: 59.86 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.112, allocations: 15.97 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1121, allocations: 39.73 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1124, allocations: 131.5 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1124, allocations: 0 / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1124, allocations: 0 / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1124, allocations: 0 / 0.49 GB, free: 9.555 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.0006562/0.1131, allocations: 422.3 kB / 0.4904 GB, free: 9.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1131, allocations: 15.89 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.1132, allocations: 38.73 kB / 0.4905 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1132, allocations: 12.84 kB / 0.4905 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1135, allocations: 204.1 kB / 0.4907 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1135, allocations: 4.375 kB / 0.4907 GB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1135, allocations: 4.375 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.1138, allocations: 99.28 kB / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1139, allocations: 0 / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1139, allocations: 0 / 0.4908 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1139, allocations: 7.984 kB / 0.4908 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.1142, allocations: 79.86 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000587/0.1148, allocations: 332.8 kB / 0.4912 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.1151, allocations: 82.45 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.1153, allocations: 44.89 kB / 0.4913 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1153, allocations: 3.984 kB / 0.4913 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1154, allocations: 38.5 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1154, allocations: 0 / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001626/0.117, allocations: 389 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1171, allocations: 77.11 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.1172, allocations: 153.8 kB / 0.492 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1173, allocations: 29.7 kB / 0.492 GB, free: 7.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.124e-05/0.1173, allocations: 100.1 kB / 0.4921 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1174, allocations: 35.81 kB / 0.4921 GB, free: 7.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.1174, allocations: 25.7 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1175, allocations: 314.8 kB / 0.4924 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.1178, allocations: 75.91 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.1181, allocations: 89.64 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.1187, allocations: 152.7 kB / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.1187, allocations: 0 / 0.4927 GB, free: 6.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000622/0.1193, allocations: 197.4 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1194, allocations: 8 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1194, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1194, allocations: 0 / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.1196, allocations: 39.89 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1196, allocations: 0 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001505/0.1198, allocations: 23.97 kB / 0.493 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1198, 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.0001032/0.1199, allocations: 133.8 kB / 0.4931 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.12, allocations: 7.953 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/0.1206, allocations: 214.8 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.1207, allocations: 11.94 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1207, allocations: 0 / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1207, allocations: 4 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008992/0.1216, allocations: 490.4 kB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1216, allocations: 0 / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.1218, allocations: 39.84 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1218, allocations: 0 / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.1218, allocations: 15.92 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1218, allocations: 0 / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1218, allocations: 0 / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006512/0.1225, allocations: 295.3 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.1226, allocations: 93 kB / 0.4942 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.1226, allocations: 0 / 0.4942 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.1228, allocations: 35.95 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.1228, allocations: 11.92 kB / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1229, allocations: 0 / 0.4943 GB, free: 4.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.123, allocations: 116 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.123, allocations: 0 / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1232, allocations: 35.88 kB / 0.4944 GB, free: 4.688 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.001805/0.1251, allocations: 1.162 MB / 0.4956 GB, free: 3.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.1257, allocations: 167.8 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1257, allocations: 0 / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.1261, allocations: 79.92 kB / 0.4958 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.1265, allocations: 20.8 kB / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.1293, allocations: 1.841 MB / 0.4976 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.1295, allocations: 0.7041 MB / 0.4983 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.1297, allocations: 28.41 kB / 0.4983 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.979e-05/0.1297, allocations: 31.42 kB / 0.4984 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1297, allocations: 0 / 0.4984 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.1544, allocations: 3.738 MB / 0.502 GB, free: 12.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/7.76, allocations: 8.062 kB / 0.502 GB, free: 12.76 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