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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 203.3 kB / 20.74 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2398/0.2398, allocations: 44.91 MB / 355.1 MB, free: 12.42 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 69.77 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1599, allocations: 65.43 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.004416/0.1643, allocations: 1.684 MB / 0.5534 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1659, allocations: 0.5883 MB / 0.554 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.166, allocations: 4 kB / 0.554 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.1663, allocations: 47.75 kB / 0.5541 GB, free: 7.797 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004322/0.1668, allocations: 95.59 kB / 0.5541 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.1675, allocations: 175.4 kB / 0.5543 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.1677, allocations: 95.67 kB / 0.5544 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1678, allocations: 16.45 kB / 0.5544 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.239e-05/0.1679, allocations: 39.83 kB / 0.5545 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1681, allocations: 51.78 kB / 0.5545 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1681, allocations: 4 kB / 0.5545 GB, free: 7.328 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001638/0.1683, allocations: 55.95 kB / 0.5546 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.996e-05/0.1683, allocations: 31.86 kB / 0.5546 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.1684, allocations: 27.75 kB / 0.5546 GB, free: 7.215 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.1687, allocations: 111.5 kB / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1687, allocations: 4 kB / 0.5547 GB, free: 7.102 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1687, allocations: 4 kB / 0.5547 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1687, allocations: 0 / 0.5547 GB, free: 7.098 MB / 414.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.0007652/0.1695, allocations: 430.7 kB / 0.5551 GB, free: 6.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1695, allocations: 8.031 kB / 0.5551 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.1696, allocations: 34.75 kB / 0.5552 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.1696, allocations: 12.84 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1699, allocations: 210.3 kB / 0.5554 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1699, allocations: 4.375 kB / 0.5554 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1699, allocations: 4.375 kB / 0.5554 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1702, allocations: 69.61 kB / 0.5555 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1702, allocations: 0 / 0.5555 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1702, allocations: 4 kB / 0.5555 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.1702, allocations: 4 kB / 0.5555 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.1705, allocations: 47.89 kB / 0.5555 GB, free: 6.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.1711, allocations: 324.7 kB / 0.5558 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003495/0.1715, allocations: 62.58 kB / 0.5559 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.1716, allocations: 24.97 kB / 0.5559 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.1716, allocations: 4 kB / 0.5559 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1717, allocations: 38.5 kB / 0.556 GB, free: 5.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.1717, allocations: 0 / 0.556 GB, free: 5.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.002248/0.1739, allocations: 428.9 kB / 0.5564 GB, free: 5.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.174, allocations: 51.41 kB / 0.5564 GB, free: 5.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.1742, allocations: 182.2 kB / 0.5566 GB, free: 4.992 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1743, allocations: 33.7 kB / 0.5566 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1744, allocations: 104.1 kB / 0.5567 GB, free: 4.848 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.1744, allocations: 39.64 kB / 0.5568 GB, free: 4.809 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.1745, allocations: 29.7 kB / 0.5568 GB, free: 4.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1747, allocations: 326.8 kB / 0.5571 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1749, allocations: 51.91 kB / 0.5571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.1751, allocations: 59.95 kB / 0.5572 GB, free: 4.336 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.1756, allocations: 116.8 kB / 0.5573 GB, free: 4.219 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1756, allocations: 4 kB / 0.5573 GB, free: 4.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005347/0.1761, allocations: 165.8 kB / 0.5575 GB, free: 4.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.1761, allocations: 8 kB / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1761, allocations: 0 / 0.5575 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1762, allocations: 4.5 kB / 0.5575 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1763, allocations: 31.92 kB / 0.5575 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1763, allocations: 0 / 0.5575 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1764, allocations: 15.98 kB / 0.5575 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1765, allocations: 4 kB / 0.5575 GB, free: 3.984 MB / 414.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.0001599/0.1766, allocations: 129.8 kB / 0.5577 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.1767, allocations: 11.91 kB / 0.5577 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.1773, allocations: 198.3 kB / 0.5579 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.1773, allocations: 11.94 kB / 0.5579 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1773, allocations: 3.938 kB / 0.5579 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1773, allocations: 0 / 0.5579 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.1785, allocations: 0.4961 MB / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1785, allocations: 0 / 0.5584 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.1786, allocations: 31.98 kB / 0.5584 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1786, allocations: 4 kB / 0.5584 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1786, allocations: 0 / 0.5584 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.1786, allocations: 4 kB / 0.5584 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1786, allocations: 0 / 0.5584 GB, free: 3.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.1793, allocations: 277.1 kB / 0.5587 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.989e-05/0.1793, allocations: 97 kB / 0.5588 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1794, allocations: 0 / 0.5588 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1795, allocations: 11.98 kB / 0.5588 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.1796, allocations: 11.98 kB / 0.5588 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1796, allocations: 7.938 kB / 0.5588 GB, free: 2.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.1798, allocations: 139.2 kB / 0.5589 GB, free: 2.449 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1798, allocations: 0 / 0.5589 GB, free: 2.449 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004994/0.1803, allocations: 31.92 kB / 0.559 GB, free: 2.418 MB / 414.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.00321/0.1835, allocations: 1.161 MB / 0.5601 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.184, allocations: 127.8 kB / 0.5602 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.184, allocations: 0 / 0.5602 GB, free: 1.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.1843, allocations: 67.89 kB / 0.5603 GB, free: 1.223 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.1848, allocations: 12 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/0.1886, allocations: 1.907 MB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1891, allocations: 0.7158 MB / 0.5628 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.1892, allocations: 32.52 kB / 0.5629 GB, free: 14.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1893, allocations: 39.42 kB / 0.5629 GB, free: 14.4 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1893, allocations: 4 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.2168, allocations: 3.477 MB / 0.5663 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.148, allocations: 19.58 kB / 0.5663 GB, free: 10.95 MB / 430.1 MB " [Timeout remaining time 652] (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.00019992 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.55081645399332]