Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test15",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.001319/0.001319, allocations: 104.7 kB / 16.4 MB, free: 6.453 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.001291/0.001291, allocations: 192.2 kB / 17.34 MB, free: 5.711 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.457/1.457, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2458/0.2458, allocations: 43.53 MB / 314.1 MB, free: 452 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.001908/0.001908, allocations: 73.61 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test15): time 0.003291/0.1454, allocations: 1.606 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.1463, allocations: 0.6919 MB / 0.4897 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.1464, allocations: 4 kB / 0.4897 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1466, allocations: 27.91 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.1469, allocations: 35.83 kB / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.409e-06/0.1469, allocations: 0 / 0.4897 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.1471, allocations: 39.83 kB / 0.4898 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.1471, allocations: 8 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.735e-05/0.1471, allocations: 11.88 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.483e-05/0.1472, allocations: 19.92 kB / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1472, allocations: 0 / 0.4898 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.185e-05/0.1473, allocations: 11.98 kB / 0.4898 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1474, allocations: 15.94 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.1474, allocations: 19.81 kB / 0.4898 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1476, allocations: 71.61 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1476, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1476, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1476, allocations: 0 / 0.4899 GB, free: 9.707 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004481/0.1481, allocations: 363.2 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1481, allocations: 15.89 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.1482, allocations: 46.72 kB / 0.4903 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.1482, allocations: 8.891 kB / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.1484, allocations: 180.3 kB / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1484, allocations: 384 / 0.4905 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.1484, allocations: 8.312 kB / 0.4905 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.1486, allocations: 123.3 kB / 0.4906 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1487, allocations: 3.938 kB / 0.4906 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1487, allocations: 3.984 kB / 0.4906 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/0.1487, allocations: 27.92 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.691e-05/0.1488, allocations: 43.91 kB / 0.4907 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007185/0.1495, allocations: 0.8945 MB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1496, allocations: 165.1 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.1497, allocations: 84.08 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.85e-05/0.1497, allocations: 79.28 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.1498, allocations: 105.9 kB / 0.492 GB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.1498, allocations: 3.938 kB / 0.492 GB, free: 7.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.745e-05/0.1499, allocations: 41.66 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.943e-05/0.15, allocations: 126.7 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.1502, allocations: 182.1 kB / 0.4923 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1502, allocations: 29.7 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1504, allocations: 155.5 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.105e-06/0.1504, allocations: 4 kB / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.138e-05/0.1504, allocations: 49.59 kB / 0.4926 GB, free: 6.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1506, allocations: 318.8 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.1507, allocations: 27.98 kB / 0.4929 GB, free: 6.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.1508, allocations: 161 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.1511, allocations: 208.9 kB / 0.4932 GB, free: 5.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1511, allocations: 0 / 0.4932 GB, free: 5.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003616/0.1515, allocations: 201.3 kB / 0.4934 GB, free: 5.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1515, allocations: 8 kB / 0.4934 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.996e-06/0.1515, allocations: 4 kB / 0.4934 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.1515, allocations: 4 kB / 0.4934 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1517, allocations: 43.92 kB / 0.4935 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1517, allocations: 4 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.1518, allocations: 15.89 kB / 0.4935 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.1518, allocations: 16.38 kB / 0.4935 GB, free: 5.609 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001791/0.152, allocations: 220.9 kB / 0.4937 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.709e-05/0.1521, allocations: 120.8 kB / 0.4938 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.1522, allocations: 116.8 kB / 0.494 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.785e-05/0.1523, allocations: 180.2 kB / 0.4941 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.096e-05/0.1524, allocations: 180.3 kB / 0.4943 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-05/0.1525, allocations: 184.2 kB / 0.4945 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.1528, allocations: 429.1 kB / 0.4949 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.582e-05/0.1529, allocations: 101 kB / 0.495 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.1529, allocations: 108.9 kB / 0.4951 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.601e-05/0.153, allocations: 188.2 kB / 0.4953 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-05/0.1531, allocations: 184.3 kB / 0.4954 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001261/0.1533, allocations: 184.2 kB / 0.4956 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001109/0.1534, allocations: 176.3 kB / 0.4958 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.1536, allocations: 323.6 kB / 0.4961 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.1538, allocations: 186 kB / 0.4963 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.1539, allocations: 184.2 kB / 0.4964 GB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.154, allocations: 101 kB / 0.4965 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.1541, allocations: 188.2 kB / 0.4967 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.1542, allocations: 101 kB / 0.4968 GB, free: 1.996 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1543, allocations: 128.1 kB / 0.4969 GB, free: 1.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1543, allocations: 0 / 0.4969 GB, free: 1.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1546, allocations: 12 kB / 0.497 GB, free: 1.859 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 (0): * Single equations (assignments): 0 * 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.00106/0.1557, allocations: 0.9162 MB / 0.4978 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.1559, allocations: 80.53 kB / 0.4979 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1559, allocations: 0 / 0.4979 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.1559, allocations: 0 / 0.4979 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.0004005/0.1563, allocations: 459.7 kB / 0.4984 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.1582, allocations: 1.884 MB / 0.5002 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1585, allocations: 0.6967 MB / 0.5009 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.1588, allocations: 53.02 kB / 0.5009 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.1588, allocations: 23.42 kB / 0.501 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1588, allocations: 0 / 0.501 GB, free: 13.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.1833, allocations: 2.09 MB / 0.503 GB, free: 11.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.72/7.903, allocations: 7.266 kB / 0.503 GB, free: 11.42 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_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_CombiTable2D_Test15.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches