Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001818/0.001818, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.00254/0.00254, allocations: 211.2 kB / 20.75 MB, free: 2.293 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.613/1.613, 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.2198/0.2198, allocations: 44.9 MB / 355.1 MB, free: 12.31 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.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.00202/0.00202, allocations: 75.86 kB / 499.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1303, allocations: 65.41 MB / 0.5518 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003534/0.1338, allocations: 1.688 MB / 0.5534 GB, free: 8.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1351, allocations: 0.5883 MB / 0.554 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.1351, allocations: 0 / 0.554 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.1355, allocations: 67.72 kB / 0.5541 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.1359, allocations: 95.61 kB / 0.5542 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.1365, allocations: 175 kB / 0.5543 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.1367, allocations: 91.75 kB / 0.5544 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1368, allocations: 16.52 kB / 0.5544 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.361e-05/0.1369, allocations: 39.83 kB / 0.5545 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.137, allocations: 59.75 kB / 0.5545 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.137, allocations: 4 kB / 0.5545 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1371, allocations: 51.92 kB / 0.5546 GB, free: 7.344 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.1372, allocations: 31.91 kB / 0.5546 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.1373, allocations: 39.73 kB / 0.5546 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002618/0.1375, allocations: 119.4 kB / 0.5548 GB, free: 7.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1375, allocations: 0 / 0.5548 GB, free: 7.156 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1375, allocations: 0 / 0.5548 GB, free: 7.156 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1375, allocations: 0 / 0.5548 GB, free: 7.156 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.0006445/0.1382, allocations: 434.6 kB / 0.5552 GB, free: 6.684 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1382, allocations: 8.031 kB / 0.5552 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.202e-05/0.1383, allocations: 30.75 kB / 0.5552 GB, free: 6.637 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1383, allocations: 20.84 kB / 0.5552 GB, free: 6.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1385, allocations: 207.2 kB / 0.5554 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1386, allocations: 4.359 kB / 0.5554 GB, free: 6.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1386, allocations: 4.375 kB / 0.5554 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1388, allocations: 73.55 kB / 0.5555 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.1388, allocations: 3.953 kB / 0.5555 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.1388, allocations: 0 / 0.5555 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1388, allocations: 4 kB / 0.5555 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.139, allocations: 47.95 kB / 0.5556 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.1395, allocations: 320.9 kB / 0.5559 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.1397, allocations: 62.42 kB / 0.5559 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.1398, allocations: 28.97 kB / 0.556 GB, free: 5.773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.1398, allocations: 4 kB / 0.556 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1399, allocations: 42.56 kB / 0.556 GB, free: 5.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.445e-05/0.1399, allocations: 0 / 0.556 GB, free: 5.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00158/0.1414, allocations: 432.8 kB / 0.5564 GB, free: 5.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1415, allocations: 55.41 kB / 0.5565 GB, free: 5.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1417, allocations: 196.3 kB / 0.5566 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1417, allocations: 29.7 kB / 0.5567 GB, free: 4.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.1418, allocations: 100.1 kB / 0.5568 GB, free: 4.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.1418, allocations: 43.58 kB / 0.5568 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.1419, allocations: 29.72 kB / 0.5568 GB, free: 4.805 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.142, allocations: 318.8 kB / 0.5571 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.1422, allocations: 63.95 kB / 0.5572 GB, free: 4.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1423, allocations: 51.95 kB / 0.5573 GB, free: 4.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1426, allocations: 128.7 kB / 0.5574 GB, free: 4.242 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1426, allocations: 0 / 0.5574 GB, free: 4.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003662/0.143, allocations: 165.8 kB / 0.5575 GB, free: 4.074 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.143, allocations: 4 kB / 0.5575 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.143, allocations: 3.984 kB / 0.5575 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.143, allocations: 3.938 kB / 0.5575 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1431, allocations: 23.98 kB / 0.5576 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1431, allocations: 4 kB / 0.5576 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.1432, allocations: 7.984 kB / 0.5576 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1432, allocations: 4 kB / 0.5576 GB, free: 4.023 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.0001158/0.1433, allocations: 136 kB / 0.5577 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.1434, allocations: 11.91 kB / 0.5577 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000484/0.1439, allocations: 195.5 kB / 0.5579 GB, free: 3.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.1439, allocations: 7.922 kB / 0.5579 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.1439, allocations: 4 kB / 0.5579 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1439, allocations: 0 / 0.5579 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.1447, allocations: 0.5038 MB / 0.5584 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1447, allocations: 3.984 kB / 0.5584 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.1449, allocations: 27.98 kB / 0.5584 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1449, allocations: 0 / 0.5584 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1449, allocations: 4.062 kB / 0.5585 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1449, allocations: 8.094 kB / 0.5585 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1449, allocations: 3.938 kB / 0.5585 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.1453, allocations: 276.9 kB / 0.5587 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1454, allocations: 93.05 kB / 0.5588 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.1454, allocations: 0 / 0.5588 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.1455, allocations: 15.98 kB / 0.5588 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.1456, allocations: 4 kB / 0.5588 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1456, allocations: 7.984 kB / 0.5588 GB, free: 2.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001536/0.1457, allocations: 152.9 kB / 0.559 GB, free: 2.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1457, allocations: 0 / 0.559 GB, free: 2.465 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000394/0.1461, allocations: 31.92 kB / 0.559 GB, free: 2.434 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.002521/0.1486, allocations: 1.163 MB / 0.5602 GB, free: 1.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004132/0.1491, allocations: 119.8 kB / 0.5603 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1491, allocations: 8 kB / 0.5603 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1492, allocations: 63.89 kB / 0.5603 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.1496, allocations: 19.98 kB / 0.5604 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/0.1524, allocations: 1.925 MB / 0.5622 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.1527, allocations: 0.7158 MB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.1528, allocations: 28.53 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.1529, allocations: 39.42 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1529, allocations: 0 / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.1782, allocations: 3.54 MB / 0.5665 GB, free: 10.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/8.264, allocations: 22.59 kB / 0.5665 GB, free: 10.89 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_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_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.611652223858982]