Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test20",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.001282/0.001282, allocations: 111.4 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.001207/0.001207, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.382/1.382, 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.2076/0.2076, allocations: 43.52 MB / 314.1 MB, free: 468 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.001951/0.001951, allocations: 67.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1037, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.002805/0.1065, allocations: 1.546 MB / 0.4889 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.108, allocations: 0.9494 MB / 0.4899 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.935e-05/0.108, allocations: 0 / 0.4899 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.1082, allocations: 23.86 kB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001722/0.1084, allocations: 47.77 kB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1087, allocations: 87.81 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1089, allocations: 59.78 kB / 0.4901 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.109, allocations: 27.95 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.985e-05/0.109, allocations: 19.92 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.1092, allocations: 27.84 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.1092, allocations: 4 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.1093, allocations: 47.98 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.1094, allocations: 15.97 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.851e-05/0.1094, allocations: 15.88 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1096, allocations: 95.58 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1096, allocations: 4 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1096, allocations: 0 / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1096, allocations: 0 / 0.4903 GB, free: 9.32 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.0004838/0.1101, allocations: 383 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1102, allocations: 11.89 kB / 0.4907 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1102, allocations: 34.75 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1103, allocations: 4.891 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1105, allocations: 188.2 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1105, allocations: 8.375 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1105, allocations: 4.375 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1107, allocations: 63.28 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1107, allocations: 4 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1107, allocations: 4 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1107, allocations: 0 / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.127e-05/0.1108, allocations: 23.97 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.1112, allocations: 284.9 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1114, allocations: 42.59 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1115, allocations: 20.84 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.1115, allocations: 0 / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.1115, allocations: 30.56 kB / 0.4914 GB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1115, allocations: 4 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005385/0.1121, allocations: 145.5 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.1122, allocations: 77.11 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.1123, allocations: 137.8 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1123, allocations: 25.7 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1124, allocations: 88.14 kB / 0.4918 GB, free: 7.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.1124, allocations: 27.78 kB / 0.4918 GB, free: 7.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.1125, allocations: 21.66 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.1127, allocations: 322.8 kB / 0.4922 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.1127, allocations: 19.98 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.1128, allocations: 33.7 kB / 0.4922 GB, free: 7.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.113, allocations: 64.98 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.113, allocations: 0 / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001941/0.1132, allocations: 81.61 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1132, allocations: 8 kB / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1132, allocations: 0 / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1132, allocations: 0 / 0.4924 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.1133, allocations: 15.98 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1133, allocations: 0 / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.1134, allocations: 4 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1134, allocations: 11.94 kB / 0.4924 GB, free: 6.918 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 9.265e-05/0.1135, allocations: 121.8 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.1135, allocations: 7.953 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003311/0.1139, allocations: 97.55 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1139, allocations: 0 / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1139, allocations: 0 / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1139, allocations: 0 / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.1144, allocations: 362.4 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1144, allocations: 0 / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.1145, allocations: 15.98 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1145, allocations: 288 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.423e-06/0.1145, allocations: 0 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1145, allocations: 4.125 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1145, allocations: 4 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1148, allocations: 187.5 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.1149, allocations: 81.11 kB / 0.4932 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1149, allocations: 4 kB / 0.4933 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.115, allocations: 7.922 kB / 0.4933 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.115, allocations: 4 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.115, allocations: 3.938 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.1151, allocations: 107.2 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1151, allocations: 4 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.1154, allocations: 27.88 kB / 0.4934 GB, free: 5.789 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.002033/0.1174, allocations: 1.053 MB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1177, allocations: 55.89 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1177, allocations: 0 / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.076e-05/0.1178, allocations: 27.98 kB / 0.4945 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1181, allocations: 23.83 kB / 0.4945 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.1198, allocations: 1.4 MB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1201, allocations: 0.6923 MB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.1202, allocations: 15.98 kB / 0.4966 GB, free: 2.441 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.1203, allocations: 23.42 kB / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1203, allocations: 0 / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.1462, allocations: 2.756 MB / 0.4993 GB, free: 15.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.029, allocations: 7.969 kB / 0.4993 GB, free: 15.59 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_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_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches