Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test24",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.001184/0.001185, allocations: 105.3 kB / 16.4 MB, free: 6.465 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.001105/0.001105, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.376/1.376, 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.2122/0.2122, allocations: 43.53 MB / 314.1 MB, free: 440 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.001592/0.001592, allocations: 69.47 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1038, allocations: 57.81 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003108/0.107, allocations: 1.542 MB / 0.4889 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.1084, allocations: 0.9339 MB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.1085, allocations: 3.938 kB / 0.4898 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.1087, allocations: 27.84 kB / 0.4899 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.1089, allocations: 47.77 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.1092, allocations: 63.86 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.1093, allocations: 67.77 kB / 0.49 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1094, allocations: 15.98 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.1095, allocations: 23.91 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.1096, allocations: 23.86 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1097, allocations: 0 / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1098, allocations: 55.97 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.1098, allocations: 3.984 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.506e-05/0.1099, allocations: 19.88 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1101, allocations: 99.58 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1101, allocations: 0 / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1101, allocations: 0 / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1101, allocations: 0 / 0.4903 GB, free: 9.316 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.0004354/0.1105, allocations: 379 kB / 0.4906 GB, free: 8.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1106, allocations: 15.89 kB / 0.4906 GB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.1106, allocations: 30.75 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1107, allocations: 8.891 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1109, allocations: 192.2 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1109, allocations: 4.375 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1109, allocations: 4.375 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.111, allocations: 63.28 kB / 0.4909 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1111, allocations: 4 kB / 0.4909 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1111, allocations: 3.984 kB / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1111, allocations: 0 / 0.4909 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.293e-05/0.1112, allocations: 19.98 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1115, allocations: 276.9 kB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1117, allocations: 46.5 kB / 0.4913 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.1118, allocations: 16.86 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1118, allocations: 0 / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1119, allocations: 38.64 kB / 0.4913 GB, free: 8.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1119, allocations: 4 kB / 0.4913 GB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005065/0.1124, allocations: 133.5 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1124, allocations: 77.11 kB / 0.4915 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.1126, allocations: 133.8 kB / 0.4917 GB, free: 7.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1126, allocations: 25.7 kB / 0.4917 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.1126, allocations: 88.14 kB / 0.4918 GB, free: 7.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1127, allocations: 27.78 kB / 0.4918 GB, free: 7.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.035e-05/0.1127, allocations: 25.64 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.1128, allocations: 318.8 kB / 0.4921 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.1129, allocations: 23.92 kB / 0.4921 GB, free: 7.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.541e-05/0.1129, allocations: 29.7 kB / 0.4922 GB, free: 7.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1131, allocations: 52.8 kB / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1131, allocations: 0 / 0.4922 GB, free: 7.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001722/0.1133, allocations: 81.81 kB / 0.4923 GB, free: 6.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1133, allocations: 4 kB / 0.4923 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1133, allocations: 3.984 kB / 0.4923 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1133, allocations: 4 kB / 0.4923 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.1134, allocations: 8 kB / 0.4923 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1134, allocations: 3.984 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.1134, allocations: 7.984 kB / 0.4923 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1134, allocations: 7.938 kB / 0.4923 GB, free: 6.945 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 7.232e-05/0.1135, allocations: 117.8 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.1136, allocations: 7.953 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.1138, allocations: 93.56 kB / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1138, allocations: 0 / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1138, allocations: 0 / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1138, allocations: 0 / 0.4925 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.1142, allocations: 350.4 kB / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1142, allocations: 0 / 0.4929 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.1143, allocations: 11.98 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1143, allocations: 0 / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.1143, allocations: 0 / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1143, allocations: 7.938 kB / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1143, allocations: 0 / 0.4929 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1145, allocations: 175.7 kB / 0.4931 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.1146, allocations: 77.17 kB / 0.4931 GB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1146, allocations: 12.27 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.1147, allocations: 7.938 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1147, allocations: 4 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.1147, allocations: 3.938 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.199e-05/0.1148, allocations: 107.2 kB / 0.4933 GB, free: 5.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1148, allocations: 4 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.115, allocations: 23.88 kB / 0.4933 GB, free: 5.852 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.001291/0.1163, allocations: 1.049 MB / 0.4943 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1165, allocations: 47.91 kB / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1165, allocations: 0 / 0.4944 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.1166, allocations: 23.98 kB / 0.4944 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.117, allocations: 27.83 kB / 0.4944 GB, free: 4.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1183, allocations: 1.374 MB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.1185, allocations: 0.6923 MB / 0.4964 GB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.689e-05/0.1186, allocations: 12.05 kB / 0.4964 GB, free: 2.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.1186, allocations: 27.42 kB / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1186, allocations: 0 / 0.4965 GB, free: 2.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.1387, allocations: 2.729 MB / 0.4991 GB, free: 15.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.472/7.61, allocations: 3.938 kB / 0.4991 GB, free: 15.72 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_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_CombiTable1Ds_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches