Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001352/0.001352, 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.001222/0.001222, 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.369/1.369, 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.2217/0.2217, allocations: 43.52 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.001644/0.001644, allocations: 65.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.141, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.004548/0.1456, allocations: 1.581 MB / 0.489 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008614/0.1465, allocations: 331.6 kB / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.1466, allocations: 0 / 0.4893 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007237/0.1474, allocations: 455.1 kB / 0.4897 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004773/0.1479, allocations: 255.4 kB / 0.4899 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.1484, allocations: 147.7 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000384/0.1488, allocations: 167.6 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.149, allocations: 16.16 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.1493, allocations: 111.8 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.1496, allocations: 207.6 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.1497, allocations: 4 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1498, allocations: 23.98 kB / 0.4906 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.1499, allocations: 75.69 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.1501, allocations: 107 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.1506, allocations: 254.6 kB / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.938e-06/0.1506, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1506, allocations: 0 / 0.491 GB, free: 8.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.1507, allocations: 4 kB / 0.491 GB, free: 8.57 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001214/0.1519, allocations: 0.653 MB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.152, allocations: 11.89 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.152, allocations: 38.75 kB / 0.4917 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1521, allocations: 44.61 kB / 0.4917 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.1526, allocations: 296.7 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1526, allocations: 384 / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1526, allocations: 8.125 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1528, allocations: 57.62 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1528, allocations: 0 / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1529, allocations: 3.938 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1529, allocations: 4 kB / 0.4921 GB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.153, allocations: 35.95 kB / 0.4921 GB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/0.1537, allocations: 396.7 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1539, allocations: 54.5 kB / 0.4926 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.154, allocations: 24.94 kB / 0.4926 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.154, allocations: 3.984 kB / 0.4926 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1541, allocations: 30.56 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1541, allocations: 0 / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.000412/0.1545, allocations: 133.4 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1545, allocations: 55.34 kB / 0.4928 GB, free: 6.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009324/0.1555, allocations: 0.8652 MB / 0.4936 GB, free: 5.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1555, allocations: 25.7 kB / 0.4937 GB, free: 5.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1557, allocations: 212.1 kB / 0.4939 GB, free: 5.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.1557, allocations: 7.906 kB / 0.4939 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1558, allocations: 21.7 kB / 0.4939 GB, free: 5.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.156, allocations: 362.7 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.606e-05/0.1561, allocations: 19.98 kB / 0.4943 GB, free: 5.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.1561, allocations: 15.98 kB / 0.4943 GB, free: 4.992 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1563, allocations: 48.81 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1563, allocations: 4 kB / 0.4943 GB, free: 4.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002142/0.1565, allocations: 101.7 kB / 0.4944 GB, free: 4.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1565, allocations: 12 kB / 0.4944 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1565, allocations: 3.938 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1566, allocations: 48 / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.1567, allocations: 19.97 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1567, allocations: 3.984 kB / 0.4945 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.1567, allocations: 4 kB / 0.4945 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1568, allocations: 0 / 0.4945 GB, free: 4.789 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 (3): * Single equations (assignments): 3 * 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.0002051/0.157, allocations: 217.6 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.1571, allocations: 43.72 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.1574, allocations: 129 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1574, allocations: 0 / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1574, allocations: 0 / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1574, allocations: 0 / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.1577, allocations: 289.5 kB / 0.4951 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1578, allocations: 3.938 kB / 0.4951 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.445e-05/0.1578, allocations: 15.92 kB / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1578, allocations: 0 / 0.4951 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1578, allocations: 4 kB / 0.4951 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1578, allocations: 4 kB / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1579, allocations: 0 / 0.4951 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.1581, allocations: 207.2 kB / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.1583, allocations: 120.8 kB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.1583, allocations: 0 / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.84e-05/0.1584, allocations: 4 kB / 0.4955 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1584, allocations: 4 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.1585, allocations: 4 kB / 0.4955 GB, free: 3.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007007/0.1592, allocations: 0.6511 MB / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1592, allocations: 0 / 0.4961 GB, free: 3.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.1595, allocations: 27.89 kB / 0.4961 GB, free: 2.984 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 (3): * Single equations (assignments): 3 * 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.001359/0.1608, allocations: 0.9936 MB / 0.4971 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1611, allocations: 47.95 kB / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1611, allocations: 0 / 0.4971 GB, free: 1.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.1611, allocations: 27.92 kB / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.1616, allocations: 25.95 kB / 0.4972 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.1652, allocations: 3.17 MB / 0.5003 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.1657, allocations: 0.8221 MB / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.1658, allocations: 19.92 kB / 0.5011 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1659, allocations: 107.4 kB / 0.5012 GB, free: 13.67 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1659, allocations: 0 / 0.5012 GB, free: 13.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.1893, allocations: 5.811 MB / 0.5069 GB, free: 7.844 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.523, allocations: 11.91 kB / 0.5069 GB, free: 7.832 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_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_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches