Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001335/0.001335, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001323/0.001323, allocations: 211.2 kB / 20.75 MB, free: 2.27 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.08 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.2337/0.2337, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.002005/0.002005, allocations: 63.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1541, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003425/0.1575, allocations: 1.686 MB / 0.5534 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.1588, allocations: 0.5884 MB / 0.554 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.1589, allocations: 3.938 kB / 0.554 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007175/0.1596, allocations: 451.1 kB / 0.5544 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005813/0.1602, allocations: 299.3 kB / 0.5547 GB, free: 7.082 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.1607, allocations: 179 kB / 0.5549 GB, free: 6.91 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.1611, allocations: 187.6 kB / 0.5551 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1613, allocations: 20.45 kB / 0.5551 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.1615, allocations: 119.6 kB / 0.5552 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004475/0.1619, allocations: 263.4 kB / 0.5555 GB, free: 6.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.162, allocations: 8 kB / 0.5555 GB, free: 6.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.1622, allocations: 47.98 kB / 0.5555 GB, free: 6.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1623, allocations: 83.69 kB / 0.5556 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.1625, allocations: 110.9 kB / 0.5557 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.1629, allocations: 286.5 kB / 0.556 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1629, allocations: 0 / 0.556 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1629, allocations: 0 / 0.556 GB, free: 5.801 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1629, allocations: 0 / 0.556 GB, free: 5.801 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.0009761/0.1639, allocations: 0.6879 MB / 0.5566 GB, free: 5.062 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.694e-05/0.164, allocations: 8.031 kB / 0.5566 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.974e-05/0.164, allocations: 34.75 kB / 0.5567 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.251e-05/0.1641, allocations: 48.66 kB / 0.5567 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1645, allocations: 316.6 kB / 0.557 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.1645, allocations: 8.312 kB / 0.557 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1645, allocations: 8.328 kB / 0.557 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.1647, allocations: 65.59 kB / 0.5571 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1647, allocations: 8 kB / 0.5571 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1648, allocations: 0 / 0.5571 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1648, allocations: 0 / 0.5571 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1649, allocations: 43.97 kB / 0.5572 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006708/0.1656, allocations: 416.6 kB / 0.5576 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.1659, allocations: 54.55 kB / 0.5576 GB, free: 3.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.78e-05/0.1659, allocations: 32.97 kB / 0.5576 GB, free: 3.922 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.615e-05/0.166, allocations: 3.984 kB / 0.5576 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.166, allocations: 42.53 kB / 0.5577 GB, free: 3.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.166, allocations: 0 / 0.5577 GB, free: 3.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00172/0.1677, allocations: 0.4963 MB / 0.5582 GB, free: 3.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.1678, allocations: 51.41 kB / 0.5582 GB, free: 3.301 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009651/0.1688, allocations: 0.8776 MB / 0.5591 GB, free: 2.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.1688, allocations: 29.7 kB / 0.5591 GB, free: 2.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.169, allocations: 212.1 kB / 0.5593 GB, free: 2.164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.169, allocations: 43.61 kB / 0.5593 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.673e-05/0.1691, allocations: 25.72 kB / 0.5594 GB, free: 2.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.1693, allocations: 366.8 kB / 0.5597 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.1694, allocations: 55.95 kB / 0.5598 GB, free: 1.668 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1695, allocations: 51.95 kB / 0.5598 GB, free: 1.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.1698, allocations: 132.7 kB / 0.5599 GB, free: 1.484 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1698, allocations: 0 / 0.5599 GB, free: 1.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003992/0.1702, allocations: 202.2 kB / 0.5601 GB, free: 1.281 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1703, allocations: 4 kB / 0.5601 GB, free: 1.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1703, allocations: 3.984 kB / 0.5601 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1703, allocations: 3.938 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1704, allocations: 23.98 kB / 0.5602 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1704, allocations: 0 / 0.5602 GB, free: 1.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-05/0.1705, allocations: 15.98 kB / 0.5602 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1705, allocations: 12 kB / 0.5602 GB, free: 1.219 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.0002156/0.1707, allocations: 219.9 kB / 0.5604 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.009e-05/0.1708, allocations: 47.67 kB / 0.5605 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005078/0.1713, allocations: 229.5 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.1713, allocations: 7.938 kB / 0.5607 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1713, allocations: 0 / 0.5607 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1713, allocations: 4 kB / 0.5607 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009538/0.1723, allocations: 0.6015 MB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1723, allocations: 0 / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.1724, allocations: 27.92 kB / 0.5613 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1724, allocations: 4.062 kB / 0.5613 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.1724, allocations: 8.031 kB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1724, allocations: 0 / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1724, allocations: 0 / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.1729, allocations: 316.8 kB / 0.5616 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.173, allocations: 116.8 kB / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.173, allocations: 0 / 0.5617 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1731, allocations: 11.98 kB / 0.5617 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.1732, allocations: 15.92 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1732, allocations: 4 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006716/0.1739, allocations: 0.6589 MB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1739, allocations: 0 / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1742, allocations: 35.94 kB / 0.5624 GB, free: 14.81 MB / 430.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.002422/0.1766, allocations: 1.194 MB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003688/0.1769, allocations: 123.8 kB / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1769, allocations: 4 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.1771, allocations: 63.89 kB / 0.5638 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.1776, allocations: 41.08 kB / 0.5638 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.1821, allocations: 3.561 MB / 0.5673 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.1826, allocations: 0.8338 MB / 0.5681 GB, free: 9.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000101/0.1827, allocations: 36.53 kB / 0.5681 GB, free: 8.988 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.1829, allocations: 127.4 kB / 0.5683 GB, free: 8.867 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1829, allocations: 0 / 0.5683 GB, free: 8.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.2136, allocations: 6.724 MB / 0.5748 GB, free: 2.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.814/9.027, allocations: 11.31 kB / 0.5748 GB, free: 2.18 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.411070347763598]