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.001199/0.001199, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001212/0.001212, 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.467/1.467, 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.209/0.209, 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.002582/0.002582, allocations: 75.89 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1535, 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.004848/0.1584, allocations: 1.608 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1596, allocations: 347.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.1597, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008506/0.1606, allocations: 455.1 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005499/0.1612, allocations: 255.5 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.1619, allocations: 151.7 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.1623, allocations: 163.7 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.1625, allocations: 24.16 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.1628, allocations: 107.7 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003888/0.1632, allocations: 211.6 kB / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.1632, allocations: 0 / 0.4906 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.1634, allocations: 31.98 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1635, allocations: 87.69 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1637, allocations: 107 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005096/0.1642, allocations: 266.5 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1642, allocations: 0 / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1642, allocations: 0 / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1643, allocations: 4 kB / 0.4911 GB, free: 8.512 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.001104/0.1654, allocations: 0.6568 MB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.1654, allocations: 11.89 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.1655, allocations: 30.75 kB / 0.4918 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1656, allocations: 48.61 kB / 0.4918 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.1661, allocations: 296.7 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.1661, allocations: 8.359 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.1662, allocations: 8.125 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.1664, allocations: 57.62 kB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1664, allocations: 0 / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1664, allocations: 0 / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1665, allocations: 4 kB / 0.4922 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1666, allocations: 27.97 kB / 0.4922 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/0.1674, allocations: 400.7 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.1677, allocations: 46.5 kB / 0.4926 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.848e-05/0.1678, allocations: 20.94 kB / 0.4927 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.1678, allocations: 3.938 kB / 0.4927 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1679, allocations: 34.56 kB / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.1679, allocations: 0 / 0.4927 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009269/0.1688, allocations: 240.7 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.1689, allocations: 55.41 kB / 0.493 GB, free: 6.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.1702, allocations: 0.8691 MB / 0.4938 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1702, allocations: 25.7 kB / 0.4938 GB, free: 5.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.1705, allocations: 228 kB / 0.4941 GB, free: 5.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.1705, allocations: 19.84 kB / 0.4941 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.1706, allocations: 17.72 kB / 0.4941 GB, free: 5.207 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1708, allocations: 358.8 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1709, allocations: 27.97 kB / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.1711, allocations: 19.98 kB / 0.4945 GB, free: 4.801 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002284/0.1713, allocations: 60.95 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1713, allocations: 0 / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003539/0.1717, allocations: 117.7 kB / 0.4947 GB, free: 4.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.1717, allocations: 11.98 kB / 0.4947 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.1717, allocations: 4 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1718, allocations: 0 / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.1719, allocations: 8 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1719, allocations: 7.922 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.172, allocations: 7.984 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.172, allocations: 7.984 kB / 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.0002803/0.1723, allocations: 221.6 kB / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.637e-05/0.1724, allocations: 43.72 kB / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004274/0.1729, allocations: 141.1 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1729, allocations: 0 / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.1729, allocations: 3.938 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1729, allocations: 0 / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.1738, allocations: 470.4 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1738, allocations: 0 / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-05/0.1739, allocations: 12 kB / 0.4956 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.1739, allocations: 3.938 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1739, allocations: 4.188 kB / 0.4956 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.174, allocations: 4 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.174, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.1744, allocations: 219.2 kB / 0.4958 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.1745, allocations: 116.8 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.1746, allocations: 7.938 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.1748, allocations: 7.938 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.1748, allocations: 3.984 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.1749, allocations: 8 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009866/0.1759, allocations: 0.6549 MB / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1759, allocations: 0 / 0.4965 GB, free: 2.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004772/0.1764, 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.002201/0.1786, allocations: 1.057 MB / 0.4976 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1789, allocations: 51.91 kB / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.179, allocations: 0 / 0.4977 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.1791, allocations: 27.98 kB / 0.4977 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006635/0.1798, allocations: 30.23 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.006018/0.1858, 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.0006097/0.1865, allocations: 0.826 MB / 0.5017 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.1866, allocations: 11.98 kB / 0.5017 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.1868, allocations: 111.4 kB / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1868, allocations: 0 / 0.5018 GB, free: 13.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.2213, allocations: 6.032 MB / 0.5077 GB, free: 7.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.259, allocations: 11.88 kB / 0.5077 GB, free: 7.004 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