Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test21",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.001576/0.001576, allocations: 111 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.00179/0.001791, 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.462/1.462, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2033/0.2033, allocations: 43.53 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.002439/0.002439, allocations: 71.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1448, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test21): time 0.003079/0.1479, allocations: 1.55 MB / 0.4889 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1493, allocations: 0.9456 MB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.994e-05/0.1494, allocations: 0 / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.1497, allocations: 27.84 kB / 0.4899 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.1499, allocations: 47.77 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.1503, allocations: 87.75 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1504, allocations: 63.83 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1505, allocations: 15.98 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.014e-05/0.1506, allocations: 19.92 kB / 0.4901 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.1508, allocations: 27.84 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.1508, allocations: 7.938 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1509, allocations: 47.98 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.151, allocations: 11.98 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.1511, allocations: 19.86 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.1513, allocations: 91.66 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1513, allocations: 0 / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1513, allocations: 0 / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1514, allocations: 0 / 0.4903 GB, free: 9.328 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.0005043/0.1519, allocations: 383 kB / 0.4907 GB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1519, allocations: 11.89 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.152, allocations: 38.69 kB / 0.4907 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.152, allocations: 4.891 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1522, allocations: 192.2 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1522, allocations: 8.375 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1523, allocations: 4.375 kB / 0.4909 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1524, allocations: 63.33 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1525, allocations: 0 / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1525, allocations: 8 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1525, allocations: 0 / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.1526, allocations: 23.92 kB / 0.491 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.153, allocations: 288.8 kB / 0.4913 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1532, allocations: 38.56 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.1533, allocations: 20.94 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1533, allocations: 0 / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1533, allocations: 34.5 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1533, allocations: 4 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006062/0.154, allocations: 145.8 kB / 0.4915 GB, free: 7.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.154, allocations: 81.05 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1542, allocations: 134.2 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1542, allocations: 25.7 kB / 0.4917 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.1542, allocations: 92.12 kB / 0.4918 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1543, allocations: 23.8 kB / 0.4918 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-05/0.1544, allocations: 29.59 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1545, allocations: 318.8 kB / 0.4922 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.498e-05/0.1546, allocations: 19.98 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.1547, allocations: 37.69 kB / 0.4922 GB, free: 7.098 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1548, allocations: 52.86 kB / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1548, allocations: 0 / 0.4923 GB, free: 7.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002075/0.155, allocations: 85.56 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1551, allocations: 8 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1551, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1551, allocations: 0 / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.1552, allocations: 11.98 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1552, allocations: 4 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.1552, allocations: 7.984 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1553, allocations: 15.92 kB / 0.4924 GB, free: 6.906 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.607e-05/0.1554, allocations: 117.8 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.1554, allocations: 7.953 kB / 0.4925 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.1557, allocations: 97.55 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1557, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1557, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1557, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/0.1561, allocations: 358.8 kB / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1562, allocations: 0 / 0.493 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.1562, allocations: 12 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/0.1562, allocations: 3.984 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1562, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.1563, allocations: 3.938 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1563, allocations: 3.938 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1565, allocations: 183.5 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.1566, allocations: 77.11 kB / 0.4932 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.1566, allocations: 8 kB / 0.4932 GB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.1567, allocations: 3.938 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.1567, allocations: 7.984 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.1567, allocations: 0 / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.1568, allocations: 107.4 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1568, allocations: 4 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1571, allocations: 27.88 kB / 0.4934 GB, free: 5.793 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.00149/0.1586, allocations: 1.056 MB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1588, allocations: 51.95 kB / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1589, allocations: 0 / 0.4945 GB, free: 4.707 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.639e-05/0.1589, allocations: 27.92 kB / 0.4945 GB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1593, allocations: 24.92 kB / 0.4945 GB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.1611, allocations: 1.404 MB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.1615, allocations: 0.6924 MB / 0.4966 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.1616, allocations: 20.44 kB / 0.4966 GB, free: 2.438 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.455e-05/0.1617, allocations: 19.42 kB / 0.4966 GB, free: 2.418 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1617, allocations: 4 kB / 0.4966 GB, free: 2.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/0.184, allocations: 2.759 MB / 0.4993 GB, free: 15.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.447/7.631, allocations: 7.969 kB / 0.4993 GB, free: 15.58 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_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_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches