Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001764/0.001764, 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.002157/0.002157, 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.57/1.57, 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.2312/0.2312, allocations: 44.91 MB / 355.1 MB, free: 12.34 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",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.001966/0.001966, allocations: 71.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 65.42 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.005207/0.167, allocations: 1.626 MB / 0.5534 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1683, allocations: 0.5533 MB / 0.5539 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.1684, allocations: 0 / 0.5539 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.1687, allocations: 79.77 kB / 0.554 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1691, allocations: 107.6 kB / 0.5541 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1694, allocations: 115.6 kB / 0.5542 GB, free: 7.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.1696, allocations: 83.75 kB / 0.5543 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1698, allocations: 19.92 kB / 0.5543 GB, free: 7.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.303e-05/0.1698, allocations: 31.91 kB / 0.5543 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.17, allocations: 67.75 kB / 0.5544 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.17, allocations: 4 kB / 0.5544 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1701, allocations: 43.97 kB / 0.5544 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.688e-05/0.1702, allocations: 27.92 kB / 0.5545 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.1702, allocations: 31.69 kB / 0.5545 GB, free: 7.34 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.1705, allocations: 107.6 kB / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1705, allocations: 0 / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1705, allocations: 0 / 0.5546 GB, free: 7.234 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1705, allocations: 0 / 0.5546 GB, free: 7.234 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007411/0.1713, allocations: 414.7 kB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1713, allocations: 12.03 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.1714, allocations: 38.75 kB / 0.555 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.1714, allocations: 12.84 kB / 0.5551 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.1717, allocations: 211.1 kB / 0.5553 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1717, allocations: 384 / 0.5553 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.1717, allocations: 4.375 kB / 0.5553 GB, free: 6.461 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1719, allocations: 57.61 kB / 0.5553 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1719, allocations: 0 / 0.5553 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.1719, allocations: 4 kB / 0.5553 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1719, allocations: 4 kB / 0.5553 GB, free: 6.391 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.172, allocations: 31.97 kB / 0.5553 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.1725, allocations: 296.8 kB / 0.5556 GB, free: 6.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1727, allocations: 42.56 kB / 0.5557 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.1727, allocations: 16.94 kB / 0.5557 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1728, allocations: 4 kB / 0.5557 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.1728, allocations: 34.56 kB / 0.5557 GB, free: 5.902 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1728, allocations: 0 / 0.5557 GB, free: 5.902 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001037/0.1738, allocations: 241.2 kB / 0.556 GB, free: 5.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1739, allocations: 63.33 kB / 0.556 GB, free: 5.586 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.1742, allocations: 218.3 kB / 0.5562 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.1742, allocations: 25.7 kB / 0.5562 GB, free: 5.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.1743, allocations: 108.1 kB / 0.5564 GB, free: 5.223 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.1743, allocations: 23.75 kB / 0.5564 GB, free: 5.199 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.1744, allocations: 33.64 kB / 0.5564 GB, free: 5.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1745, allocations: 322.8 kB / 0.5567 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.1746, allocations: 31.98 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.1747, allocations: 31.91 kB / 0.5568 GB, free: 4.773 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.1749, allocations: 72.81 kB / 0.5568 GB, free: 4.699 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1749, allocations: 0 / 0.5568 GB, free: 4.699 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002726/0.1752, allocations: 118 kB / 0.557 GB, free: 4.578 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1752, allocations: 4 kB / 0.557 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1752, allocations: 8 kB / 0.557 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.1752, allocations: 0 / 0.557 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1753, allocations: 15.98 kB / 0.557 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1754, allocations: 3.938 kB / 0.557 GB, free: 4.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.458e-05/0.1754, allocations: 4 kB / 0.557 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1754, allocations: 4 kB / 0.557 GB, free: 4.539 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 (8): * Single equations (assignments): 8 * 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.0001291/0.1755, allocations: 128 kB / 0.5571 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.1756, allocations: 23.89 kB / 0.5571 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.1759, allocations: 139.3 kB / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1759, allocations: 0 / 0.5573 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1759, allocations: 3.938 kB / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1759, allocations: 0 / 0.5573 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006143/0.1766, allocations: 423.2 kB / 0.5577 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1766, allocations: 0 / 0.5577 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.1766, allocations: 27.95 kB / 0.5577 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1766, allocations: 0 / 0.5577 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1767, allocations: 0 / 0.5577 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1767, allocations: 4 kB / 0.5577 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1767, allocations: 0 / 0.5577 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.177, allocations: 212.2 kB / 0.5579 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.177, allocations: 96.95 kB / 0.558 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1771, allocations: 0 / 0.558 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.1771, allocations: 8 kB / 0.558 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.1772, allocations: 7.984 kB / 0.558 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.1772, allocations: 0 / 0.558 GB, free: 3.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.1774, allocations: 168.2 kB / 0.5582 GB, free: 3.207 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1774, allocations: 0 / 0.5582 GB, free: 3.207 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1776, allocations: 23.92 kB / 0.5582 GB, free: 3.184 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.002382/0.18, allocations: 1.112 MB / 0.5593 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1803, allocations: 71.95 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1803, allocations: 0 / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1804, allocations: 35.91 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1808, allocations: 27.05 kB / 0.5594 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002435/0.1832, allocations: 1.723 MB / 0.5611 GB, free: 304 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005235/0.1837, allocations: 0.7041 MB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.099e-05/0.1838, allocations: 28.58 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.796e-05/0.1839, allocations: 35.42 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1839, allocations: 3.938 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.2104, allocations: 3.18 MB / 0.565 GB, free: 12.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.381, allocations: 7.922 kB / 0.565 GB, free: 12.36 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.702947762329131]