Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001266/0.001265, allocations: 104.1 kB / 16.41 MB, free: 5.965 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.001276/0.001276, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.365/1.365, 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.2091/0.2091, allocations: 43.52 MB / 314.1 MB, free: 444 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.002002/0.002002, allocations: 63.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.0998, allocations: 57.8 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002923/0.1028, allocations: 1.616 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006443/0.1034, allocations: 343.5 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.802e-05/0.1035, allocations: 0 / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1037, allocations: 51.8 kB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.1039, allocations: 51.77 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1043, allocations: 155.7 kB / 0.4896 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1045, allocations: 71.77 kB / 0.4896 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.1046, allocations: 23.97 kB / 0.4897 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.1046, allocations: 31.91 kB / 0.4897 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.79e-05/0.1047, allocations: 35.84 kB / 0.4897 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.1047, allocations: 4 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.939e-05/0.1048, allocations: 35.97 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1049, allocations: 23.92 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.1049, allocations: 31.75 kB / 0.4898 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.1051, allocations: 95.56 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1051, allocations: 0 / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1051, allocations: 7.938 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1051, allocations: 0 / 0.4899 GB, free: 9.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005014/0.1056, allocations: 402.9 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1057, allocations: 15.89 kB / 0.4903 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.1057, allocations: 30.75 kB / 0.4903 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.1058, allocations: 12.89 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.106, allocations: 196.8 kB / 0.4905 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.106, allocations: 8.062 kB / 0.4905 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.106, allocations: 4 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1062, allocations: 65.66 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1062, allocations: 0 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.1062, allocations: 0 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1063, allocations: 0 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.1064, allocations: 43.95 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.1068, allocations: 320.7 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.107, allocations: 46.5 kB / 0.491 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.458e-05/0.1071, allocations: 24.94 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1071, allocations: 7.984 kB / 0.491 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1071, allocations: 34.56 kB / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1071, allocations: 0 / 0.4911 GB, free: 8.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007654/0.1079, allocations: 221.6 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1079, allocations: 59.34 kB / 0.4913 GB, free: 8.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1081, allocations: 170.5 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.1081, allocations: 29.7 kB / 0.4915 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.877e-05/0.1082, allocations: 100.1 kB / 0.4916 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1083, allocations: 31.81 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.1083, allocations: 25.64 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1085, allocations: 322.8 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.1086, allocations: 39.95 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1087, allocations: 39.97 kB / 0.4921 GB, free: 7.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.109, allocations: 88.73 kB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.109, allocations: 0 / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002974/0.1093, allocations: 129.6 kB / 0.4923 GB, free: 7.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1093, allocations: 4 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1093, allocations: 0 / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1093, allocations: 8 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1094, allocations: 19.92 kB / 0.4923 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1095, allocations: 4 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.1095, allocations: 11.98 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.1095, allocations: 0 / 0.4923 GB, free: 6.984 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 (7): * Single equations (assignments): 7 * 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.791e-05/0.1096, allocations: 137.7 kB / 0.4925 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.1097, allocations: 7.953 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003625/0.11, allocations: 138.3 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1101, allocations: 7.922 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1101, allocations: 0 / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1101, allocations: 0 / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.1107, allocations: 410.5 kB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1107, allocations: 0 / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.354e-05/0.1108, allocations: 19.92 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1108, allocations: 0 / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.1108, allocations: 4 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1108, allocations: 480 / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1108, allocations: 0 / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.1112, allocations: 235.3 kB / 0.4932 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.1112, allocations: 96.98 kB / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1113, allocations: 0 / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.1114, allocations: 7.984 kB / 0.4933 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1114, allocations: 8 kB / 0.4933 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1114, allocations: 7.938 kB / 0.4934 GB, free: 5.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1115, allocations: 132 kB / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1115, allocations: 0 / 0.4935 GB, free: 5.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.1118, allocations: 27.94 kB / 0.4935 GB, free: 5.66 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 (7): * Single equations (assignments): 7 * 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.002049/0.1138, allocations: 1.049 MB / 0.4945 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.1142, allocations: 91.92 kB / 0.4946 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1142, allocations: 0 / 0.4946 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1143, allocations: 55.89 kB / 0.4947 GB, free: 4.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1147, allocations: 19.92 kB / 0.4947 GB, free: 4.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.1167, allocations: 1.669 MB / 0.4963 GB, free: 2.719 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.1171, allocations: 0.708 MB / 0.497 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.966e-05/0.1172, allocations: 24.95 kB / 0.497 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.1173, allocations: 31.42 kB / 0.4971 GB, free: 1.93 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1173, allocations: 0 / 0.4971 GB, free: 1.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.1421, allocations: 2.941 MB / 0.4999 GB, free: 14.97 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.174, allocations: 15.98 kB / 0.5 GB, free: 14.96 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_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_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches