Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",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.00113/0.00113, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001162/0.001162, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2521/0.2521, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001302, allocations: 54.5 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.154, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003887/0.1579, allocations: 2.046 MB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1598, allocations: 1.154 MB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.16, allocations: 4 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1603, allocations: 55.52 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.1607, allocations: 155.3 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.162, allocations: 0.5879 MB / 473.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.1624, allocations: 311 kB / 473.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.1627, allocations: 80.66 kB / 473.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1629, allocations: 131.5 kB / 473.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.1632, allocations: 191.3 kB / 474 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.1632, allocations: 12 kB / 474.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1634, allocations: 63.97 kB / 474.1 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.1635, allocations: 147.5 kB / 474.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1637, allocations: 174.6 kB / 474.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.1641, allocations: 398.5 kB / 474.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1641, allocations: 0 / 474.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1641, allocations: 0 / 474.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1642, allocations: 0 / 474.8 MB, free: 8.797 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001096/0.1653, allocations: 0.8086 MB / 475.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1653, allocations: 12.03 kB / 475.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.769e-05/0.1654, allocations: 38.73 kB / 475.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.683e-05/0.1655, allocations: 60.19 kB / 475.7 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.166, allocations: 471.6 kB / 476.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1661, allocations: 4.375 kB / 476.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.1661, allocations: 15.94 kB / 476.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.1665, allocations: 163 kB / 476.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.1665, allocations: 3.906 kB / 476.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.1665, allocations: 4 kB / 476.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.1665, allocations: 4 kB / 476.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.1669, allocations: 123.8 kB / 476.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.168, allocations: 0.7113 MB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.1683, allocations: 133.2 kB / 477.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.1684, allocations: 69.73 kB / 477.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.1685, allocations: 8 kB / 477.4 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1685, allocations: 34.5 kB / 477.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.1685, allocations: 0 / 477.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002163/0.1707, allocations: 0.7442 MB / 478.2 MB, free: 5.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.1708, allocations: 88.98 kB / 478.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009445/0.1717, allocations: 0.8906 MB / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1718, allocations: 29.7 kB / 479.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.172, allocations: 252.4 kB / 479.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.172, allocations: 66.95 kB / 479.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.819e-05/0.1721, allocations: 45.69 kB / 479.6 MB, free: 3.797 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.1723, allocations: 378.7 kB / 479.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/0.1726, allocations: 107.9 kB / 480 MB, free: 3.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.1729, allocations: 125.6 kB / 480.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.1735, allocations: 253.5 kB / 480.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1735, allocations: 4 kB / 480.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007133/0.1742, allocations: 340.8 kB / 480.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1743, allocations: 4 kB / 480.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1743, allocations: 0 / 480.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1743, allocations: 7.984 kB / 480.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.1746, allocations: 51.95 kB / 480.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1746, allocations: 7.984 kB / 480.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.1749, allocations: 19.98 kB / 480.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.1749, allocations: 15.97 kB / 480.9 MB, free: 2.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002847/0.1752, allocations: 221.6 kB / 481.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1754, allocations: 59.25 kB / 481.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009512/0.1763, allocations: 394.1 kB / 481.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1763, allocations: 4 kB / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1763, allocations: 0 / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1764, allocations: 0 / 481.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.1779, allocations: 0.9469 MB / 482.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.178, allocations: 4.375 kB / 482.5 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.1782, allocations: 55.88 kB / 482.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1782, allocations: 4.094 kB / 482.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.1783, allocations: 15.94 kB / 482.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.1783, allocations: 3.938 kB / 482.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/0.1783, allocations: 4 kB / 482.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000845/0.1792, allocations: 0.516 MB / 483.1 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.1793, allocations: 148.3 kB / 483.2 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.1794, allocations: 8 kB / 483.2 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.1797, allocations: 27.91 kB / 483.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/0.1798, allocations: 15.92 kB / 483.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1798, allocations: 7.984 kB / 483.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006845/0.1805, allocations: 0.6552 MB / 483.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1805, allocations: 4 kB / 483.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003567/0.1809, allocations: 56 kB / 484 MB, free: 15.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001886/0.1828, allocations: 1.343 MB / 485.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.1835, allocations: 279.6 kB / 485.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1835, allocations: 8 kB / 485.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.1838, allocations: 143.8 kB / 485.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006405/0.1844, allocations: 66.2 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/0.1915, allocations: 5.529 MB / 491.3 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.192, allocations: 0.8808 MB / 492.2 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.1923, allocations: 107.2 kB / 492.3 MB, free: 6.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.1925, allocations: 175.4 kB / 492.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1925, allocations: 0 / 492.5 MB, free: 6.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.2225, allocations: 10.11 MB / 0.4908 GB, free: 12.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.931, allocations: 14.8 kB / 0.4908 GB, free: 12.72 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches