Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001516/0.001521, allocations: 104 kB / 17.64 MB, free: 5.512 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.001699/0.001699, allocations: 192.1 kB / 18.56 MB, free: 4.594 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.505/1.505, 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.2462/0.2462, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 59.47 kB / 408.5 MB, free: 27.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.169, allocations: 60.84 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003144/0.1722, allocations: 1.63 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007289/0.173, allocations: 451.1 kB / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.173, allocations: 0 / 471.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.1733, allocations: 55.73 kB / 471.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1735, allocations: 47.81 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.1738, allocations: 180.7 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.174, allocations: 75.77 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1741, allocations: 23.97 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.362e-05/0.1742, allocations: 27.92 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.343e-05/0.1743, allocations: 51.77 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.1743, allocations: 4 kB / 471.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.1744, allocations: 43.98 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-05/0.1744, allocations: 27.91 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.552e-05/0.1745, allocations: 27.75 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.1747, allocations: 115.8 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1747, allocations: 4 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1747, allocations: 0 / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1747, allocations: 0 / 472.1 MB, free: 11.53 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.0005112/0.1752, allocations: 410 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1753, allocations: 8.031 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1753, allocations: 34.75 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.1753, allocations: 16.77 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.1755, allocations: 200.7 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1755, allocations: 8.125 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1756, allocations: 4 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.1758, allocations: 65.61 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1758, allocations: 0 / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.1758, allocations: 4 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1758, allocations: 4 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1759, allocations: 43.95 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1764, allocations: 328.6 kB / 473.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.1766, allocations: 58.55 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.1767, allocations: 28.97 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1767, allocations: 4 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1768, allocations: 30.56 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.625e-06/0.1768, allocations: 96 / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001492/0.1783, allocations: 420.8 kB / 473.7 MB, free: 9.719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.1783, allocations: 51.41 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.1785, allocations: 180 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1785, allocations: 33.7 kB / 474 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.1786, allocations: 100 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.1787, allocations: 35.53 kB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1787, allocations: 33.64 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1789, allocations: 322.8 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.179, allocations: 51.97 kB / 474.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1792, allocations: 51.95 kB / 474.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002828/0.1795, allocations: 129.1 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1795, allocations: 3.938 kB / 474.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003392/0.1798, allocations: 169.3 kB / 474.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1798, allocations: 11.88 kB / 474.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1799, allocations: 3.984 kB / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1799, allocations: 0 / 474.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.18, allocations: 27.98 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.18, allocations: 0 / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.1801, allocations: 11.98 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1801, allocations: 4 kB / 474.9 MB, free: 8.465 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.000104/0.1802, allocations: 129.8 kB / 475.1 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.1802, allocations: 11.84 kB / 475.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004089/0.1807, allocations: 186.9 kB / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1807, allocations: 0 / 475.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1807, allocations: 4 kB / 475.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1807, allocations: 4 kB / 475.3 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006454/0.1813, allocations: 0.4959 MB / 475.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1814, allocations: 4 kB / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.1815, allocations: 27.97 kB / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1815, allocations: 0 / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1815, allocations: 7.938 kB / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1815, allocations: 0 / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1815, allocations: 0 / 475.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.1819, allocations: 273.1 kB / 476.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.1819, allocations: 92.92 kB / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.182, allocations: 0 / 476.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.1821, allocations: 11.98 kB / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.1821, allocations: 19.92 kB / 476.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.1822, allocations: 4 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1823, allocations: 134.9 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.1823, allocations: 0 / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1825, allocations: 35.86 kB / 476.4 MB, free: 6.926 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.001534/0.1841, allocations: 1.152 MB / 477.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.1844, allocations: 131.9 kB / 477.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.1844, allocations: 4 kB / 477.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.1846, allocations: 63.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.0003921/0.185, allocations: 27.2 kB / 477.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1873, allocations: 1.862 MB / 479.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1877, allocations: 0.7119 MB / 480.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.1878, allocations: 36.52 kB / 480.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.433e-05/0.1879, allocations: 31.42 kB / 480.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1879, allocations: 4 kB / 480.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.2112, allocations: 3.286 MB / 483.7 MB, free: 15.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.715, allocations: 14.94 kB / 483.7 MB, free: 15.71 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_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_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches