Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test18",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.001396/0.001396, allocations: 110.5 kB / 16.41 MB, free: 6.504 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.001656/0.001656, allocations: 188.1 kB / 17.34 MB, free: 5.758 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.363/1.363, 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.214/0.214, allocations: 43.53 MB / 314.1 MB, free: 456 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.002051/0.002051, allocations: 72.36 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1051, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test18): time 0.002804/0.1079, allocations: 1.558 MB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1093, allocations: 0.9534 MB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.1094, allocations: 0 / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1096, allocations: 23.84 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1098, allocations: 51.77 kB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.11, allocations: 95.7 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.1102, allocations: 75.81 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.1103, allocations: 24.16 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.1104, allocations: 23.92 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003346/0.1107, allocations: 31.84 kB / 0.4902 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1107, allocations: 4 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.1108, allocations: 51.92 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.1109, allocations: 27.91 kB / 0.4903 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.574e-05/0.1109, allocations: 19.88 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1112, allocations: 103.6 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1112, allocations: 0 / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1112, allocations: 0 / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1112, allocations: 0 / 0.4904 GB, free: 9.238 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005325/0.1117, allocations: 391 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1118, allocations: 15.83 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.1118, allocations: 38.69 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.1119, allocations: 12.89 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.1121, allocations: 196.2 kB / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1121, allocations: 384 / 0.491 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.1121, allocations: 8.125 kB / 0.491 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1123, allocations: 88.17 kB / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1123, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1123, allocations: 0 / 0.4911 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1123, allocations: 4 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1125, allocations: 39.97 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.113, allocations: 389 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.1133, allocations: 89.2 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.1133, allocations: 37.67 kB / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1134, allocations: 0 / 0.4916 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1134, allocations: 34.56 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.1134, allocations: 0 / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007245/0.1141, allocations: 229.2 kB / 0.4919 GB, free: 7.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.1142, allocations: 106.8 kB / 0.492 GB, free: 7.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.1144, allocations: 145.5 kB / 0.4921 GB, free: 7.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1144, allocations: 25.7 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.1145, allocations: 100.1 kB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.1145, allocations: 31.7 kB / 0.4923 GB, free: 7.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/0.1146, allocations: 25.7 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1147, allocations: 318.8 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1149, allocations: 35.97 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.115, allocations: 50.55 kB / 0.4927 GB, free: 6.609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.1152, allocations: 89.61 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1152, allocations: 4 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002467/0.1154, allocations: 121.7 kB / 0.4929 GB, free: 6.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1155, allocations: 8 kB / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1155, allocations: 0 / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.1155, allocations: 0 / 0.4929 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.04e-05/0.1156, allocations: 19.98 kB / 0.4929 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.1156, allocations: 7.938 kB / 0.4929 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.1157, allocations: 15.92 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.1157, allocations: 0 / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.000107/0.1158, allocations: 129.7 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.1158, allocations: 7.953 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.1162, allocations: 145.5 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1162, allocations: 0 / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1162, allocations: 3.938 kB / 0.4932 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1162, allocations: 7.984 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.1169, allocations: 0.4951 MB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1169, allocations: 3.938 kB / 0.4937 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.754e-05/0.117, allocations: 20.3 kB / 0.4937 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.117, allocations: 4 kB / 0.4937 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.117, allocations: 4 kB / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.117, allocations: 0 / 0.4937 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.117, allocations: 4.188 kB / 0.4937 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.1174, allocations: 307.6 kB / 0.494 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.1174, allocations: 92.94 kB / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1175, allocations: 3.984 kB / 0.4941 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1176, allocations: 4 kB / 0.4941 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.1176, allocations: 15.98 kB / 0.4941 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1176, allocations: 4 kB / 0.4941 GB, free: 4.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.1177, allocations: 103.3 kB / 0.4942 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1177, allocations: 0 / 0.4942 GB, free: 4.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1181, allocations: 31.92 kB / 0.4943 GB, free: 4.848 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.002109/0.1202, allocations: 1.159 MB / 0.4954 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002805/0.1205, allocations: 87.88 kB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1205, allocations: 0 / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1206, allocations: 47.91 kB / 0.4955 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.121, allocations: 19.89 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1231, allocations: 1.651 MB / 0.4972 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1234, allocations: 0.6963 MB / 0.4978 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.1236, allocations: 32.86 kB / 0.4979 GB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.1237, allocations: 35.42 kB / 0.4979 GB, free: 1.012 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1237, allocations: 0 / 0.4979 GB, free: 1.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.1564, allocations: 3.067 MB / 0.5009 GB, free: 13.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.018, allocations: 15.81 kB / 0.5009 GB, free: 13.86 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_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_CombiTable1D_Test18.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches