Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001138/0.001138, 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.001259/0.001259, 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.417/1.417, allocations: 222.9 MB / 242.3 MB, free: 15.23 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.22/0.22, allocations: 44.19 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 69.91 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1584, allocations: 60.82 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003486/0.1619, allocations: 1.642 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.1628, allocations: 447.1 kB / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.1629, allocations: 0 / 471.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.1631, allocations: 47.81 kB / 471.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002092/0.1634, allocations: 51.77 kB / 471.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1638, allocations: 181.4 kB / 471.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.164, allocations: 75.81 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1641, allocations: 35.97 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.1642, allocations: 35.78 kB / 471.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.856e-05/0.1643, allocations: 43.84 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1643, allocations: 0 / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1644, allocations: 43.98 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.485e-05/0.1645, allocations: 23.91 kB / 472 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.1646, allocations: 31.8 kB / 472 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.1647, allocations: 119.9 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1648, allocations: 0 / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1648, allocations: 0 / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1648, allocations: 0 / 472.1 MB, free: 11.54 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.0005896/0.1654, allocations: 407 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1654, allocations: 11.97 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.1655, allocations: 34.75 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.1655, allocations: 8.844 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1658, allocations: 202.9 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.1658, allocations: 8.125 kB / 472.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.1658, allocations: 4 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.166, allocations: 69.59 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.166, allocations: 0 / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.1661, allocations: 4 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1661, allocations: 0 / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.1662, allocations: 39.97 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1667, allocations: 332.6 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.167, allocations: 58.55 kB / 473.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.147e-05/0.1671, allocations: 28.95 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1671, allocations: 4 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1671, allocations: 34.56 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1671, allocations: 0 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001488/0.1686, allocations: 417.3 kB / 473.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1687, allocations: 55.41 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1689, allocations: 182.1 kB / 474 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1689, allocations: 25.7 kB / 474 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.169, allocations: 104 kB / 474.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.169, allocations: 39.42 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.1691, allocations: 25.72 kB / 474.2 MB, free: 9.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1692, allocations: 322.8 kB / 474.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1694, allocations: 51.95 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1695, allocations: 63.95 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.1698, allocations: 116.8 kB / 474.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.1698, allocations: 4 kB / 474.7 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003299/0.1701, allocations: 169.3 kB / 474.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1701, allocations: 7.938 kB / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1701, allocations: 0 / 474.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1702, allocations: 4 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1703, allocations: 27.97 kB / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1703, allocations: 0 / 474.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.239e-05/0.1704, allocations: 8 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1704, allocations: 4 kB / 474.9 MB, free: 8.488 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.000115/0.1705, allocations: 133.8 kB / 475.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.1705, allocations: 11.84 kB / 475.1 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.171, allocations: 186.2 kB / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.171, allocations: 0 / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.171, allocations: 0 / 475.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.171, allocations: 3.938 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006893/0.1717, allocations: 0.4999 MB / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1717, allocations: 0 / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.636e-05/0.1718, allocations: 23.98 kB / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1718, allocations: 4 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1718, allocations: 8.062 kB / 475.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1719, allocations: 3.984 kB / 475.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1719, allocations: 4 kB / 475.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.1723, allocations: 269.5 kB / 476.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.227e-05/0.1723, allocations: 93.09 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1723, allocations: 12 kB / 476.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.199e-05/0.1724, allocations: 7.984 kB / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1725, allocations: 11.98 kB / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1725, allocations: 7.984 kB / 476.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1726, allocations: 135.3 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1727, allocations: 3.938 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1729, allocations: 31.92 kB / 476.4 MB, free: 6.938 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.001734/0.1747, allocations: 1.143 MB / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.1751, allocations: 147.7 kB / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1751, allocations: 0 / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.1752, allocations: 71.89 kB / 477.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1757, allocations: 21.11 kB / 477.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.1783, allocations: 1.87 MB / 479.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.1787, allocations: 0.708 MB / 480.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1788, allocations: 28.53 kB / 480.3 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.781e-05/0.1789, allocations: 39.42 kB / 480.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1789, allocations: 192 / 480.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.2026, allocations: 3.29 MB / 483.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.87, allocations: 6.641 kB / 483.7 MB, free: 15.72 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_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_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches