Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15",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.001246/0.001246, allocations: 104.3 kB / 16.41 MB, free: 6.5 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.00131/0.00131, 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.355/1.355, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2057/0.2057, 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.001459/0.001459, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1034, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.002906/0.1064, allocations: 1.554 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00063/0.107, allocations: 319.5 kB / 0.4892 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.1071, allocations: 4 kB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1074, allocations: 79.77 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1077, allocations: 71.67 kB / 0.4894 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.108, allocations: 87.81 kB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1081, allocations: 75.75 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1083, allocations: 19.98 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.564e-05/0.1083, allocations: 27.89 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1084, allocations: 47.89 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1085, allocations: 11.94 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.288e-05/0.1086, allocations: 27.98 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.1086, allocations: 15.98 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.042e-05/0.1087, allocations: 27.75 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.1089, allocations: 95.52 kB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1089, allocations: 4 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1089, allocations: 0 / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1089, allocations: 0 / 0.4898 GB, free: 9.801 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004661/0.1094, allocations: 390.9 kB / 0.4902 GB, free: 9.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1094, allocations: 15.89 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.1095, allocations: 34.75 kB / 0.4902 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.652e-05/0.1095, allocations: 12.84 kB / 0.4902 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1097, allocations: 192.2 kB / 0.4904 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-06/0.1097, allocations: 4.375 kB / 0.4904 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1097, allocations: 4.375 kB / 0.4904 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.1099, allocations: 57.55 kB / 0.4905 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1099, allocations: 0 / 0.4905 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1099, allocations: 0 / 0.4905 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1099, allocations: 3.938 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.269e-05/0.11, allocations: 27.98 kB / 0.4905 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.1104, allocations: 288.8 kB / 0.4908 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1106, allocations: 46.5 kB / 0.4908 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.1107, allocations: 16.94 kB / 0.4909 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1107, allocations: 4 kB / 0.4909 GB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1108, allocations: 34.56 kB / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.093e-06/0.1108, allocations: 0 / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005987/0.1114, allocations: 157.3 kB / 0.491 GB, free: 8.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.1114, allocations: 51.41 kB / 0.4911 GB, free: 8.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.1116, allocations: 198.2 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1116, allocations: 33.7 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.041e-05/0.1117, allocations: 104.1 kB / 0.4914 GB, free: 7.949 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.1117, allocations: 15.83 kB / 0.4914 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.1118, allocations: 17.72 kB / 0.4914 GB, free: 7.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.1119, allocations: 326.8 kB / 0.4918 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.994e-05/0.112, allocations: 19.98 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.175e-05/0.112, allocations: 19.98 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1122, allocations: 68.88 kB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1122, allocations: 4 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001852/0.1124, allocations: 81.62 kB / 0.4919 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1124, allocations: 8 kB / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1124, allocations: 0 / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1124, allocations: 0 / 0.4919 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.1125, allocations: 11.98 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1125, allocations: 8 kB / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.1126, allocations: 0 / 0.492 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1126, allocations: 7.938 kB / 0.492 GB, free: 7.348 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 (5): * Single equations (assignments): 5 * 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 8.947e-05/0.1127, allocations: 129.8 kB / 0.4921 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.1127, allocations: 11.91 kB / 0.4921 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.113, allocations: 101.9 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.113, allocations: 4 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.113, allocations: 4 kB / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.113, allocations: 288 / 0.4922 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004213/0.1134, allocations: 358.4 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1134, allocations: 3.938 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.1135, allocations: 11.98 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1135, allocations: 7.984 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1135, allocations: 4 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1135, allocations: 3.938 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.1135, allocations: 4 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.1138, allocations: 183.7 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.1138, allocations: 89.02 kB / 0.4928 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.1138, allocations: 0 / 0.4928 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.349e-05/0.1139, allocations: 11.92 kB / 0.4929 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.114, allocations: 4 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.114, allocations: 7.938 kB / 0.4929 GB, free: 6.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1141, allocations: 164 kB / 0.493 GB, free: 6.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1141, allocations: 0 / 0.493 GB, free: 6.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.1144, allocations: 12 kB / 0.493 GB, free: 6.145 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 (5): * Single equations (assignments): 5 * 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.001273/0.1156, allocations: 1.009 MB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1159, allocations: 55.89 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1159, allocations: 0 / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.116, allocations: 31.92 kB / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.1163, allocations: 27.86 kB / 0.4941 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.118, allocations: 1.585 MB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1183, allocations: 0.7079 MB / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.337e-05/0.1184, allocations: 11.98 kB / 0.4964 GB, free: 2.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.958e-05/0.1184, allocations: 27.42 kB / 0.4964 GB, free: 2.605 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1184, allocations: 0 / 0.4964 GB, free: 2.605 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02058/0.139, allocations: 2.742 MB / 0.4991 GB, free: 15.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.619, allocations: 11.89 kB / 0.4991 GB, free: 15.83 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches