Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001193/0.001193, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001407/0.001407, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.444/1.444, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2538/0.2538, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 65.31 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1556, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003539/0.1591, allocations: 1.638 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.1601, allocations: 447.1 kB / 471.4 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.1602, allocations: 8 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1605, allocations: 59.8 kB / 471.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.1607, allocations: 55.75 kB / 471.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004268/0.1612, allocations: 179 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1613, allocations: 75.83 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1615, allocations: 27.97 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.1616, allocations: 31.8 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1617, allocations: 55.81 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1617, allocations: 11.94 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1618, allocations: 47.98 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.1619, allocations: 19.92 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.1619, allocations: 35.78 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1621, allocations: 111.9 kB / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1622, allocations: 0 / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1622, allocations: 0 / 472.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1622, allocations: 0 / 472.1 MB, free: 11.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005744/0.1628, allocations: 417.9 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1628, allocations: 16.03 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1629, allocations: 30.75 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1629, allocations: 8.844 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.1631, allocations: 207.7 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1631, allocations: 4.375 kB / 472.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1632, allocations: 4.375 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1634, allocations: 73.59 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1634, allocations: 3.906 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1634, allocations: 0 / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1634, allocations: 4 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1636, allocations: 47.91 kB / 472.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.1641, allocations: 316.8 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1643, allocations: 66.58 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.855e-05/0.1644, allocations: 24.97 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1644, allocations: 4 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.1645, allocations: 30.56 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1645, allocations: 0 / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001595/0.1661, allocations: 428.6 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1661, allocations: 51.41 kB / 473.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001888/0.1663, allocations: 194.2 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.1663, allocations: 25.7 kB / 474.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1664, allocations: 100.1 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.1665, allocations: 35.41 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.1665, allocations: 29.7 kB / 474.2 MB, free: 9.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1667, allocations: 326.8 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1668, allocations: 55.89 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1669, allocations: 55.97 kB / 474.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.1672, allocations: 124.7 kB / 474.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1672, allocations: 4 kB / 474.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003204/0.1675, allocations: 165.4 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1676, allocations: 4 kB / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1676, allocations: 0 / 474.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1676, allocations: 4.5 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1677, allocations: 27.92 kB / 475 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1677, allocations: 4 kB / 475 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.575e-05/0.1678, allocations: 11.98 kB / 475 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.1678, allocations: 8 kB / 475 MB, free: 8.402 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001089/0.1679, allocations: 129.8 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.168, allocations: 7.906 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.1684, allocations: 198.5 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1684, allocations: 7.938 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1684, allocations: 3.984 kB / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1684, allocations: 0 / 475.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007238/0.1692, allocations: 0.496 MB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1692, allocations: 8.062 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.1693, allocations: 23.98 kB / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1693, allocations: 0 / 475.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1693, allocations: 4 kB / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1693, allocations: 0 / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1693, allocations: 0 / 475.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.1698, allocations: 276.9 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.669e-05/0.1698, allocations: 96.91 kB / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1699, allocations: 0 / 476.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.17, allocations: 11.98 kB / 476.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.17, allocations: 11.98 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.17, allocations: 4 kB / 476.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1702, allocations: 148.1 kB / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1702, allocations: 0 / 476.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1705, allocations: 31.98 kB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00173/0.1722, allocations: 1.149 MB / 477.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.1726, allocations: 131.9 kB / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1726, allocations: 0 / 477.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.1727, allocations: 71.89 kB / 477.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004487/0.1732, allocations: 15.98 kB / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.1757, allocations: 1.892 MB / 479.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.1761, allocations: 0.7119 MB / 480.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1762, allocations: 36.52 kB / 480.4 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.1763, allocations: 35.42 kB / 480.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1763, allocations: 0 / 480.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.1994, allocations: 3.347 MB / 483.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/7.723, allocations: 16.08 kB / 483.8 MB, free: 15.53 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches