Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test1",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.00176/0.00176, allocations: 110.8 kB / 16.41 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.002106/0.002106, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.475/1.475, 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.2226/0.2226, allocations: 43.54 MB / 314.1 MB, free: 460 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.00168/0.001681, allocations: 67.91 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1227, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003252/0.126, allocations: 1.608 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007265/0.1267, allocations: 355.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.1268, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006052/0.1274, allocations: 455.1 kB / 0.4898 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.1278, allocations: 251.5 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.1283, allocations: 151.7 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.1285, allocations: 163.7 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1287, allocations: 24.17 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1288, allocations: 111.7 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1291, allocations: 207.6 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.1291, allocations: 4 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.1292, allocations: 35.97 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1293, allocations: 83.7 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.1294, allocations: 103 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.1298, allocations: 262.6 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1298, allocations: 7.938 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1298, allocations: 3.984 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1298, allocations: 4 kB / 0.4911 GB, free: 8.492 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.0007268/0.1305, allocations: 0.6452 MB / 0.4917 GB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1306, allocations: 11.89 kB / 0.4917 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1306, allocations: 38.73 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/0.1307, allocations: 44.61 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.131, allocations: 300.7 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.131, allocations: 4.375 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.131, allocations: 12.12 kB / 0.4921 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1312, allocations: 53.61 kB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1312, allocations: 4 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1312, allocations: 4 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1313, allocations: 0 / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1314, allocations: 23.98 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.1319, allocations: 400.7 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.1321, allocations: 50.48 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.2e-05/0.1322, allocations: 16.86 kB / 0.4927 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.1322, allocations: 0 / 0.4927 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1322, allocations: 34.64 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.1322, allocations: 0 / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000641/0.1329, allocations: 244.8 kB / 0.4929 GB, free: 6.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.1329, allocations: 51.41 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007602/0.1337, allocations: 0.8691 MB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1337, allocations: 25.7 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1339, allocations: 228 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.1339, allocations: 19.86 kB / 0.4941 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.134, allocations: 21.72 kB / 0.4941 GB, free: 5.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1341, allocations: 358.8 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.1342, allocations: 19.98 kB / 0.4945 GB, free: 4.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.1343, allocations: 23.98 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.1344, allocations: 52.77 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1344, allocations: 0 / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002203/0.1346, allocations: 129.4 kB / 0.4947 GB, free: 4.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1347, allocations: 4 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1347, allocations: 304 / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1347, allocations: 3.984 kB / 0.4947 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.386e-05/0.1348, allocations: 19.98 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1348, allocations: 7.922 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.1349, allocations: 8 kB / 0.4947 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.1349, allocations: 0 / 0.4947 GB, free: 4.562 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.0001827/0.1351, allocations: 221.6 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.1351, allocations: 47.72 kB / 0.495 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.1354, allocations: 137.1 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1355, allocations: 0 / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1355, allocations: 7.938 kB / 0.4951 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1355, allocations: 0 / 0.4951 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.136, allocations: 470.5 kB / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.136, allocations: 0 / 0.4955 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.1361, allocations: 15.98 kB / 0.4956 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1361, allocations: 7.938 kB / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1361, allocations: 0 / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.1361, allocations: 0 / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.1362, allocations: 0 / 0.4956 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.1364, allocations: 223.2 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.98e-05/0.1365, allocations: 112.8 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1365, allocations: 7.875 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.1366, allocations: 8.172 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1367, allocations: 4 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1367, allocations: 4 kB / 0.4959 GB, free: 3.215 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006191/0.1373, allocations: 0.6589 MB / 0.4966 GB, free: 2.559 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1373, allocations: 3.938 kB / 0.4966 GB, free: 2.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.1376, allocations: 19.94 kB / 0.4966 GB, free: 2.535 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.001339/0.1389, allocations: 1.052 MB / 0.4976 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1392, allocations: 59.91 kB / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1392, allocations: 0 / 0.4977 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.1393, allocations: 28.09 kB / 0.4977 GB, free: 1.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1397, allocations: 29.66 kB / 0.4977 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.1433, 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.0004303/0.1438, allocations: 0.8259 MB / 0.5017 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.1439, allocations: 15.98 kB / 0.5017 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.144, allocations: 119.4 kB / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.144, allocations: 0 / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.1684, allocations: 6.021 MB / 0.5077 GB, free: 7.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.467, allocations: 11.88 kB / 0.5077 GB, free: 6.992 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_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_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches