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.001768/0.001768, allocations: 104.2 kB / 16.41 MB, free: 6.402 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.001792/0.001792, allocations: 192.7 kB / 17.34 MB, free: 5.691 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.337/1.337, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2229/0.2229, 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.00134/0.00134, allocations: 69.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002999/0.1091, allocations: 1.558 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.1099, allocations: 355.3 kB / 0.4893 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.1099, allocations: 4 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1102, allocations: 19.86 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.1104, allocations: 43.83 kB / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.1107, allocations: 95.69 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1109, allocations: 59.83 kB / 0.4895 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.111, allocations: 16.17 kB / 0.4895 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.062e-05/0.111, allocations: 27.84 kB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.1111, allocations: 27.86 kB / 0.4896 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.1111, allocations: 4 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1112, allocations: 43.98 kB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.1113, allocations: 15.97 kB / 0.4896 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.1113, allocations: 27.81 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1115, allocations: 99.58 kB / 0.4897 GB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1116, allocations: 7.984 kB / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1116, allocations: 0 / 0.4897 GB, free: 9.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1116, allocations: 0 / 0.4897 GB, free: 9.863 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.0004556/0.112, allocations: 375 kB / 0.4901 GB, free: 9.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1121, allocations: 11.89 kB / 0.4901 GB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.084e-05/0.1121, allocations: 38.73 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.1122, allocations: 8.891 kB / 0.4902 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.1124, allocations: 184.3 kB / 0.4903 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1124, allocations: 384 / 0.4903 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1124, allocations: 8.125 kB / 0.4903 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.1126, allocations: 75.27 kB / 0.4904 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1126, allocations: 0 / 0.4904 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1126, allocations: 0 / 0.4904 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.1126, allocations: 4 kB / 0.4904 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.804e-05/0.1127, allocations: 27.97 kB / 0.4904 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.1131, allocations: 292.8 kB / 0.4907 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/0.1132, allocations: 42.5 kB / 0.4908 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.839e-05/0.1133, allocations: 20.94 kB / 0.4908 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1133, allocations: 0 / 0.4908 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1133, allocations: 30.56 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1133, allocations: 4 kB / 0.4908 GB, free: 8.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005772/0.1139, allocations: 157.4 kB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.114, allocations: 81.11 kB / 0.491 GB, free: 8.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1141, allocations: 129.8 kB / 0.4912 GB, free: 8.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1142, allocations: 25.7 kB / 0.4912 GB, free: 8.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.1142, allocations: 96.08 kB / 0.4913 GB, free: 8.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.1142, allocations: 27.83 kB / 0.4913 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1143, allocations: 17.72 kB / 0.4913 GB, free: 8.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1144, allocations: 330.7 kB / 0.4916 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.417e-05/0.1145, allocations: 19.98 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-05/0.1146, allocations: 41.75 kB / 0.4917 GB, free: 7.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.1147, allocations: 60.8 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1147, allocations: 0 / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002008/0.115, allocations: 93.61 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.115, allocations: 4 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.115, allocations: 288 / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.115, allocations: 0 / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.1151, allocations: 12 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1151, allocations: 0 / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.1152, allocations: 15.92 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1152, allocations: 4 kB / 0.4919 GB, free: 7.418 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 7.677e-05/0.1153, allocations: 117.8 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.1153, allocations: 11.94 kB / 0.492 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1156, allocations: 109.9 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1156, allocations: 0 / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1156, allocations: 0 / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1156, allocations: 7.875 kB / 0.4921 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004232/0.116, allocations: 366.8 kB / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.116, allocations: 0 / 0.4925 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.1161, allocations: 19.98 kB / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1161, allocations: 0 / 0.4925 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1161, allocations: 7.938 kB / 0.4925 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.1161, allocations: 4 kB / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1161, allocations: 0 / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.1164, allocations: 183.5 kB / 0.4927 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.782e-05/0.1164, allocations: 81.05 kB / 0.4928 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.1164, allocations: 11.94 kB / 0.4928 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.1165, allocations: 7.984 kB / 0.4928 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1165, allocations: 0 / 0.4928 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.1166, allocations: 4 kB / 0.4928 GB, free: 6.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.1166, allocations: 103.8 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1167, allocations: 4 kB / 0.4929 GB, free: 6.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1169, allocations: 23.94 kB / 0.4929 GB, free: 6.266 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.001347/0.1183, allocations: 1.065 MB / 0.4939 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.1185, allocations: 59.83 kB / 0.494 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1185, allocations: 0 / 0.494 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.1186, allocations: 31.98 kB / 0.494 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.1189, allocations: 27.88 kB / 0.4941 GB, free: 5.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.1204, allocations: 1.42 MB / 0.4954 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1207, allocations: 0.6885 MB / 0.4961 GB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.795e-05/0.1208, allocations: 20.42 kB / 0.4961 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.1208, allocations: 31.42 kB / 0.4962 GB, free: 2.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1208, allocations: 0 / 0.4962 GB, free: 2.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01978/0.1406, allocations: 2.881 MB / 0.499 GB, free: 15.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.699, allocations: 0 / 0.499 GB, free: 15.89 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