Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001201/0.001201, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001261/0.001261, 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.469/1.469, 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.2689/0.2689, allocations: 43.53 MB / 314.1 MB, free: 448 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.001582/0.001582, allocations: 81.45 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1314, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.00396/0.1354, allocations: 1.608 MB / 0.489 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1364, allocations: 343.5 kB / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.1366, allocations: 0 / 0.4893 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004935/0.1372, allocations: 51.81 kB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.1376, allocations: 47.81 kB / 0.4894 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.1384, allocations: 155.7 kB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.1387, allocations: 71.77 kB / 0.4896 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.139, allocations: 27.97 kB / 0.4897 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.1391, allocations: 27.91 kB / 0.4897 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1393, allocations: 35.84 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.1393, allocations: 4 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.1395, allocations: 39.97 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1396, allocations: 19.92 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.001e-05/0.1397, allocations: 27.75 kB / 0.4898 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.1401, allocations: 99.56 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.1401, allocations: 3.938 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1401, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1401, allocations: 0 / 0.4899 GB, free: 9.699 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008457/0.141, allocations: 410.9 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.141, allocations: 11.89 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.1411, allocations: 30.75 kB / 0.4903 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.1412, allocations: 12.89 kB / 0.4903 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1414, allocations: 192.8 kB / 0.4905 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.1415, allocations: 8.125 kB / 0.4905 GB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.1415, allocations: 4 kB / 0.4905 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.1417, allocations: 65.61 kB / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1417, allocations: 0 / 0.4906 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1418, allocations: 7.984 kB / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1418, allocations: 0 / 0.4906 GB, free: 8.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1419, allocations: 39.95 kB / 0.4906 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006326/0.1426, allocations: 312.7 kB / 0.4909 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.1427, allocations: 54.5 kB / 0.491 GB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.1428, allocations: 32.92 kB / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1429, allocations: 0 / 0.491 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.1429, allocations: 30.56 kB / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.1429, allocations: 0 / 0.4911 GB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008956/0.1438, allocations: 233.3 kB / 0.4913 GB, free: 8.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1439, allocations: 55.34 kB / 0.4913 GB, free: 8.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1441, allocations: 170.5 kB / 0.4915 GB, free: 7.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1441, allocations: 29.64 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.1442, allocations: 100.1 kB / 0.4916 GB, free: 7.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.1442, allocations: 35.69 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.1443, allocations: 25.7 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1444, allocations: 318.8 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1446, allocations: 39.97 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1447, allocations: 36.03 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1449, allocations: 96.73 kB / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1449, allocations: 0 / 0.4921 GB, free: 7.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002997/0.1452, allocations: 117.6 kB / 0.4923 GB, free: 7.047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1453, allocations: 8 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1453, allocations: 0 / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.1453, allocations: 4 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1454, allocations: 27.92 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.1454, allocations: 0 / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.1455, allocations: 11.98 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1455, allocations: 4 kB / 0.4923 GB, free: 6.992 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 (7): * Single equations (assignments): 7 * 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.0001069/0.1456, allocations: 129.7 kB / 0.4924 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.1457, allocations: 7.953 kB / 0.4924 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.146, allocations: 138.3 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1461, allocations: 3.938 kB / 0.4926 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.1461, allocations: 4 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1461, allocations: 0 / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.1467, allocations: 410.4 kB / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1467, allocations: 0 / 0.493 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.1468, allocations: 27.92 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1468, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1468, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1468, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1468, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.1473, allocations: 231.8 kB / 0.4932 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.1473, allocations: 92.98 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.1474, allocations: 0 / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.646e-05/0.1475, allocations: 15.98 kB / 0.4933 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.062e-05/0.1475, allocations: 7.938 kB / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1475, allocations: 0 / 0.4933 GB, free: 5.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1477, allocations: 136 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1477, allocations: 4 kB / 0.4935 GB, free: 5.699 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.148, allocations: 15.94 kB / 0.4935 GB, free: 5.684 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 (7): * Single equations (assignments): 7 * 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.1495, allocations: 1.061 MB / 0.4945 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.1498, allocations: 99.84 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1498, allocations: 0 / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.1499, allocations: 43.97 kB / 0.4947 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1503, allocations: 15.98 kB / 0.4947 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.1525, allocations: 1.681 MB / 0.4963 GB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.1529, allocations: 0.7041 MB / 0.497 GB, free: 2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.978e-05/0.153, allocations: 24.95 kB / 0.497 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.1531, allocations: 35.36 kB / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1531, allocations: 0 / 0.4971 GB, free: 1.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1744, allocations: 2.945 MB / 0.4999 GB, free: 14.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/7.905, allocations: 8 kB / 0.4999 GB, free: 14.98 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_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_CombiTable2Dv_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches