Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001287/0.001287, 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.001248/0.001248, 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.508/1.508, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2025/0.2025, allocations: 43.52 MB / 314.1 MB, free: 472 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.001605/0.001605, allocations: 71.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1224, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.00317/0.1256, allocations: 1.612 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.1263, allocations: 343.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.1264, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005798/0.1271, allocations: 455.1 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1274, allocations: 251.4 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004509/0.1279, allocations: 155.6 kB / 0.4901 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1282, allocations: 171.6 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1283, allocations: 20.16 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.1284, allocations: 107.8 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.1287, allocations: 207.6 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1287, allocations: 4 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1288, allocations: 39.92 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1289, allocations: 83.69 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1291, allocations: 107 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.1294, allocations: 258.6 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1294, allocations: 8 kB / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1294, allocations: 0 / 0.4911 GB, free: 8.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.938e-06/0.1295, allocations: 0 / 0.4911 GB, free: 8.504 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.0007803/0.1302, allocations: 0.6524 MB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1303, allocations: 15.89 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.1304, allocations: 30.75 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.1304, allocations: 44.61 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.1307, allocations: 308.6 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1307, allocations: 4.375 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1308, allocations: 4.125 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1309, allocations: 61.67 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.131, allocations: 0 / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.131, allocations: 0 / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.131, allocations: 0 / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.1311, allocations: 27.97 kB / 0.4922 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.1317, allocations: 404.6 kB / 0.4926 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.1319, allocations: 46.56 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.132, allocations: 20.94 kB / 0.4927 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.132, allocations: 0 / 0.4927 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.132, allocations: 30.56 kB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 3.587e-06/0.132, allocations: 0 / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006706/0.1327, allocations: 244.7 kB / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1328, allocations: 51.41 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.1336, allocations: 0.873 MB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1336, allocations: 25.7 kB / 0.4938 GB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.1338, allocations: 235.9 kB / 0.4941 GB, free: 5.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.1338, allocations: 11.86 kB / 0.4941 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.1339, allocations: 21.7 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.134, allocations: 366.8 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.1341, allocations: 19.98 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.1342, allocations: 24.16 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1343, allocations: 52.83 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1344, allocations: 4 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002237/0.1346, allocations: 117.4 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1346, allocations: 8 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1346, allocations: 0 / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1347, allocations: 0 / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.1347, allocations: 19.92 kB / 0.4947 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1347, allocations: 3.938 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.1348, allocations: 7.984 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1348, allocations: 0 / 0.4947 GB, free: 4.57 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 0.0001911/0.135, allocations: 213.7 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.1351, allocations: 47.72 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.1354, allocations: 137.1 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1354, allocations: 4 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.1354, allocations: 4.219 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1354, allocations: 3.984 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.136, allocations: 462.4 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.136, allocations: 4 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.1361, allocations: 20.16 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1361, allocations: 3.938 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1361, allocations: 4 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1361, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1362, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1364, allocations: 227.1 kB / 0.4958 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1366, allocations: 116.8 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.1366, allocations: 3.938 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.1367, allocations: 4 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.1367, allocations: 11.98 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.1368, allocations: 0 / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006258/0.1374, allocations: 0.655 MB / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1374, allocations: 0 / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.1377, allocations: 31.92 kB / 0.4966 GB, free: 2.539 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.001417/0.1391, allocations: 1.057 MB / 0.4976 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002234/0.1393, allocations: 51.95 kB / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1393, allocations: 0 / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.1394, allocations: 31.92 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.1399, allocations: 26.3 kB / 0.4977 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.1435, allocations: 3.253 MB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.1439, allocations: 0.8221 MB / 0.5017 GB, free: 13.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.384e-05/0.144, allocations: 23.97 kB / 0.5017 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.1441, allocations: 107.4 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1441, allocations: 3.938 kB / 0.5018 GB, free: 13.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.1679, allocations: 6.025 MB / 0.5077 GB, free: 7.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.41, allocations: 11.88 kB / 0.5077 GB, free: 7 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches