Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001577/0.001577, allocations: 108.6 kB / 16.41 MB, free: 6.492 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.002103/0.002103, allocations: 192.1 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.357/1.357, 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.1951/0.1951, allocations: 43.52 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.001376/0.001376, allocations: 63.91 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09592/0.09731, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.00344/0.1008, allocations: 1.849 MB / 0.4892 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1021, allocations: 0.733 MB / 0.4899 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1022, allocations: 4 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000498/0.1027, allocations: 255.2 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.1032, allocations: 191.3 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.1045, allocations: 0.5964 MB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000406/0.1049, allocations: 275.3 kB / 0.4912 GB, free: 8.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.1051, allocations: 56.36 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.1053, allocations: 127.5 kB / 0.4914 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.1056, allocations: 187.3 kB / 0.4915 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.1056, allocations: 8 kB / 0.4916 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1057, allocations: 51.97 kB / 0.4916 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001336/0.1059, allocations: 79.69 kB / 0.4917 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.106, allocations: 115 kB / 0.4918 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.1065, allocations: 282.6 kB / 0.4921 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1065, allocations: 0 / 0.4921 GB, free: 7.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1065, allocations: 4 kB / 0.4921 GB, free: 7.512 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1065, allocations: 0 / 0.4921 GB, free: 7.512 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000912/0.1074, allocations: 0.6415 MB / 0.4927 GB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1075, allocations: 15.89 kB / 0.4927 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.1075, allocations: 42.67 kB / 0.4927 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.1076, allocations: 40.66 kB / 0.4928 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.108, allocations: 314.6 kB / 0.4931 GB, free: 6.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.1081, allocations: 12.31 kB / 0.4931 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1081, allocations: 12.31 kB / 0.4931 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.1083, allocations: 101.2 kB / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1084, allocations: 0 / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1084, allocations: 0 / 0.4932 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1084, allocations: 4 kB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1086, allocations: 67.89 kB / 0.4933 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000685/0.1093, allocations: 472.5 kB / 0.4937 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1094, allocations: 74.53 kB / 0.4938 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.659e-05/0.1095, allocations: 32.97 kB / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.1095, allocations: 0 / 0.4938 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.1096, allocations: 38.5 kB / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.1096, allocations: 0 / 0.4939 GB, free: 5.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003633/0.1099, allocations: 165.3 kB / 0.494 GB, free: 5.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.11, allocations: 55.34 kB / 0.4941 GB, free: 5.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.1105, allocations: 0.5526 MB / 0.4946 GB, free: 4.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1106, allocations: 25.7 kB / 0.4946 GB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.1107, allocations: 208.1 kB / 0.4948 GB, free: 4.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1107, allocations: 19.84 kB / 0.4949 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.1108, allocations: 21.7 kB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1109, allocations: 350.8 kB / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.111, allocations: 27.98 kB / 0.4952 GB, free: 4.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.575e-05/0.111, allocations: 23.98 kB / 0.4953 GB, free: 4.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1112, allocations: 64.83 kB / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1112, allocations: 0 / 0.4953 GB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002274/0.1114, allocations: 129.4 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1114, allocations: 4 kB / 0.4955 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1114, allocations: 0 / 0.4955 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.1115, allocations: 3.938 kB / 0.4955 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-05/0.1116, allocations: 19.98 kB / 0.4955 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1116, allocations: 0 / 0.4955 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.1116, allocations: 15.89 kB / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.1117, allocations: 4 kB / 0.4955 GB, free: 3.766 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 0.0001578/0.1118, allocations: 169.7 kB / 0.4957 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.1119, allocations: 35.77 kB / 0.4957 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.1122, allocations: 152.9 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1122, allocations: 7.938 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.1122, allocations: 0 / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1122, allocations: 0.5 kB / 0.4958 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.1126, allocations: 289.5 kB / 0.4961 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1126, allocations: 4 kB / 0.4961 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.1126, allocations: 12 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1127, allocations: 0 / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1127, allocations: 3.938 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1127, allocations: 7.938 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1127, allocations: 3.984 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.113, allocations: 231.2 kB / 0.4964 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.1131, allocations: 116.9 kB / 0.4965 GB, free: 2.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1131, allocations: 4 kB / 0.4965 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.1132, allocations: 3.938 kB / 0.4965 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1132, allocations: 7.984 kB / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1132, allocations: 0 / 0.4965 GB, free: 2.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003864/0.1136, allocations: 419.1 kB / 0.4969 GB, free: 2.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1136, allocations: 4 kB / 0.4969 GB, free: 2.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1139, allocations: 31.94 kB / 0.4969 GB, free: 2.199 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.001721/0.1157, allocations: 1.257 MB / 0.4982 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.1159, allocations: 67.89 kB / 0.4982 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1159, allocations: 0 / 0.4982 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.116, allocations: 35.97 kB / 0.4983 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.1165, allocations: 69.33 kB / 0.4983 GB, free: 0.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.1197, allocations: 2.833 MB / 0.5011 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.12, allocations: 0.7983 MB / 0.5019 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.1202, allocations: 53.47 kB / 0.5019 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.1203, allocations: 99.39 kB / 0.502 GB, free: 12.91 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1203, allocations: 0 / 0.502 GB, free: 12.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.142, allocations: 6.639 MB / 0.5085 GB, free: 6.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.251, allocations: 8 kB / 0.5085 GB, free: 6.227 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches