Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",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.001228/0.001228, allocations: 107.4 kB / 16.41 MB, free: 6.516 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.001301/0.001301, allocations: 185.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.374/1.374, 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.2107/0.2107, allocations: 43.51 MB / 314.1 MB, free: 472 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.001998/0.001998, allocations: 77.45 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1045, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.002729/0.1073, allocations: 1.55 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.1086, allocations: 0.9457 MB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.56e-05/0.1086, allocations: 0 / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001934/0.1088, allocations: 23.8 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.109, allocations: 47.77 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.1093, allocations: 95.75 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1094, allocations: 55.84 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.4e-05/0.1095, allocations: 11.97 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.1096, allocations: 27.91 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1097, allocations: 27.86 kB / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1097, allocations: 0 / 0.4901 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1098, allocations: 59.91 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.1099, allocations: 7.984 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.1099, allocations: 23.88 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1101, allocations: 83.64 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1101, allocations: 0 / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1101, allocations: 0 / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.836e-06/0.1101, allocations: 4 kB / 0.4903 GB, free: 9.305 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.0004559/0.1106, allocations: 383 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1106, allocations: 11.89 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.1107, allocations: 34.75 kB / 0.4907 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.1107, allocations: 12.89 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.1109, allocations: 192.2 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.1109, allocations: 384 / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.111, allocations: 4.375 kB / 0.4909 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1111, allocations: 63.34 kB / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1111, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1111, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.1111, allocations: 0 / 0.491 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.1113, allocations: 31.97 kB / 0.491 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.1117, allocations: 280.8 kB / 0.4913 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.1119, allocations: 46.55 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.324e-05/0.1119, allocations: 16.86 kB / 0.4913 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.112, allocations: 4 kB / 0.4913 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.112, allocations: 30.56 kB / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.112, allocations: 0 / 0.4914 GB, free: 8.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005284/0.1125, allocations: 149.5 kB / 0.4915 GB, free: 7.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1126, allocations: 77.11 kB / 0.4916 GB, free: 7.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1127, allocations: 134.2 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1128, allocations: 29.7 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.383e-05/0.1128, allocations: 96.06 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.1129, allocations: 23.78 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.1129, allocations: 21.66 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.113, allocations: 326.8 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.1131, allocations: 19.98 kB / 0.4922 GB, free: 7.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.1132, allocations: 37.64 kB / 0.4922 GB, free: 7.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1134, allocations: 52.83 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1134, allocations: 0 / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001932/0.1136, allocations: 85.86 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.1136, allocations: 4 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1136, allocations: 4 kB / 0.4924 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1136, allocations: 4 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.1137, allocations: 19.95 kB / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1137, allocations: 0 / 0.4924 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.1137, allocations: 4 kB / 0.4924 GB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1138, allocations: 3.938 kB / 0.4924 GB, free: 6.895 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.958e-05/0.1138, allocations: 121.8 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.1139, allocations: 7.953 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.1141, allocations: 97.61 kB / 0.4926 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1141, allocations: 4 kB / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1142, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1142, allocations: 0 / 0.4926 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.1146, allocations: 354.4 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1146, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.607e-05/0.1147, allocations: 11.98 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1147, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1147, allocations: 4 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1147, allocations: 7.938 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1147, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.115, allocations: 187.4 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.115, allocations: 77.11 kB / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.115, allocations: 192 / 0.4932 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.1151, allocations: 15.92 kB / 0.4933 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1152, allocations: 8 kB / 0.4933 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1152, allocations: 4 kB / 0.4933 GB, free: 5.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.785e-05/0.1153, allocations: 111.4 kB / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1153, allocations: 0 / 0.4934 GB, free: 5.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1155, allocations: 19.88 kB / 0.4934 GB, free: 5.773 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.001933/0.1175, allocations: 1.053 MB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1177, allocations: 55.95 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1177, allocations: 0 / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.1178, allocations: 31.92 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1182, allocations: 23.83 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1197, allocations: 1.401 MB / 0.4959 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1201, allocations: 0.6885 MB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.1201, allocations: 15.98 kB / 0.4966 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.1202, allocations: 27.42 kB / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1202, allocations: 0 / 0.4966 GB, free: 2.398 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.1463, allocations: 2.751 MB / 0.4993 GB, free: 15.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.77/7.917, allocations: 15.97 kB / 0.4993 GB, free: 15.57 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches