Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.001144/0.001144, allocations: 104 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.001102/0.001102, allocations: 192.1 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.2 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.2246/0.2246, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 62.39 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1539, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003497/0.1575, allocations: 1.622 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.159, allocations: 1.051 MB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.159, allocations: 4 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1593, allocations: 23.84 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1595, allocations: 43.78 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.16, allocations: 177.2 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1601, allocations: 71.77 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1603, allocations: 19.98 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.733e-05/0.1603, allocations: 23.94 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.1605, allocations: 31.83 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1605, allocations: 4 kB / 472.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.1606, allocations: 51.98 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.1607, allocations: 23.91 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.1608, allocations: 31.8 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.1609, allocations: 107.9 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.161, allocations: 4 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.161, allocations: 4 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.161, allocations: 0 / 472.6 MB, free: 10.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004834/0.1615, allocations: 387.2 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.1615, allocations: 8.031 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1615, allocations: 38.73 kB / 473.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1616, allocations: 12.78 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.1618, allocations: 196.2 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1618, allocations: 384 / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.1618, allocations: 12.38 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.162, allocations: 79.25 kB / 473.4 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.162, allocations: 4 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1621, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1621, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1622, allocations: 43.95 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.1626, allocations: 308.7 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1628, allocations: 46.59 kB / 473.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.619e-05/0.1629, allocations: 28.83 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1629, allocations: 4 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1629, allocations: 34.56 kB / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1629, allocations: 0 / 473.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007921/0.1637, allocations: 217.2 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1638, allocations: 85.11 kB / 474.1 MB, free: 9.297 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1639, allocations: 145.6 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.164, allocations: 25.7 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.164, allocations: 100.1 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.1641, allocations: 19.72 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1641, allocations: 21.78 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.1642, allocations: 314.8 kB / 474.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1643, allocations: 43.95 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1645, allocations: 53.67 kB / 474.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.1647, allocations: 96.73 kB / 474.9 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1647, allocations: 7.938 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002895/0.165, allocations: 121.6 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1651, allocations: 10.34 kB / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1651, allocations: 0 / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1651, allocations: 0 / 475 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1652, allocations: 19.98 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1652, allocations: 3.938 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1653, allocations: 11.98 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.1653, allocations: 8 kB / 475.1 MB, free: 8.266 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 (7): * Single equations (assignments): 7 * 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 8.181e-05/0.1654, allocations: 125.7 kB / 475.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.1654, allocations: 7.906 kB / 475.2 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.1658, allocations: 138.3 kB / 475.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1658, allocations: 0 / 475.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1658, allocations: 3.938 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1658, allocations: 8 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.1663, allocations: 406.7 kB / 475.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1664, allocations: 0 / 475.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.1664, allocations: 19.98 kB / 475.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1665, allocations: 3.938 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1665, allocations: 4 kB / 475.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1665, allocations: 8.078 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1665, allocations: 3.984 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.1668, allocations: 223.3 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.1669, allocations: 81.09 kB / 476.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1669, allocations: 8.219 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.167, allocations: 11.98 kB / 476.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.1671, allocations: 8 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.1671, allocations: 0 / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.357e-05/0.1672, allocations: 115.2 kB / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1672, allocations: 0 / 476.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1674, allocations: 24 kB / 476.3 MB, free: 6.984 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001778/0.1692, allocations: 1.096 MB / 477.4 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.1696, allocations: 95.92 kB / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1696, allocations: 0 / 477.5 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1698, allocations: 47.91 kB / 477.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1702, allocations: 19.92 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.1723, allocations: 1.587 MB / 479.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1726, allocations: 0.7042 MB / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.556e-05/0.1727, allocations: 32.56 kB / 479.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.1728, allocations: 27.42 kB / 479.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1728, allocations: 0 / 479.9 MB, free: 3.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.1936, allocations: 3.038 MB / 482.9 MB, free: 464 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/7.738, allocations: 11.92 kB / 482.9 MB, free: 452 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches