Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 119.9 kB / 18.45 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.002071, allocations: 190 kB / 21.39 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 247.1 MB, free: 4.207 MB / 190.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.3476/0.3476, allocations: 44.25 MB / 343.5 MB, free: 7.598 MB / 270.1 MB " [Timeout remaining time 179] 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.34 kB / 478.9 MB, free: 24.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1314, allocations: 60.82 MB / 0.527 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003449/0.1349, allocations: 1.634 MB / 0.5286 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009015/0.1358, allocations: 459 kB / 0.5291 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.819e-05/0.1359, allocations: 0 / 0.5291 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006478/0.1365, allocations: 451.1 kB / 0.5295 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.1369, allocations: 255.4 kB / 0.5298 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.1374, allocations: 172.1 kB / 0.5299 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.1377, allocations: 171.7 kB / 0.5301 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1378, allocations: 23.94 kB / 0.5301 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.138, allocations: 111.7 kB / 0.5302 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.1382, allocations: 215.6 kB / 0.5304 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1382, allocations: 4 kB / 0.5304 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1384, allocations: 51.97 kB / 0.5305 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1385, allocations: 83.69 kB / 0.5305 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.676e-05/0.1386, allocations: 103 kB / 0.5306 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.139, allocations: 282.5 kB / 0.5309 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.139, allocations: 0 / 0.5309 GB, free: 9.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.139, allocations: 7.938 kB / 0.5309 GB, free: 9.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.139, allocations: 0 / 0.5309 GB, free: 9.645 MB / 398.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.0008819/0.1399, allocations: 0.6623 MB / 0.5316 GB, free: 8.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.1399, allocations: 8.031 kB / 0.5316 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.093e-05/0.14, allocations: 38.75 kB / 0.5316 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.1401, allocations: 40.66 kB / 0.5317 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1404, allocations: 308.6 kB / 0.5319 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1405, allocations: 4.375 kB / 0.532 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1405, allocations: 384 / 0.532 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1407, allocations: 73.55 kB / 0.532 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.1407, allocations: 3.984 kB / 0.532 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1407, allocations: 7.938 kB / 0.532 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1407, allocations: 0 / 0.532 GB, free: 8.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1408, allocations: 31.98 kB / 0.5321 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.1415, allocations: 408.6 kB / 0.5325 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.1416, allocations: 50.55 kB / 0.5325 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.1417, allocations: 12.86 kB / 0.5325 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1417, allocations: 0 / 0.5325 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1417, allocations: 38.56 kB / 0.5326 GB, free: 7.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 2.855e-06/0.1417, allocations: 96 / 0.5326 GB, free: 7.805 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00104/0.1428, allocations: 332.5 kB / 0.5329 GB, free: 7.473 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1428, allocations: 59.28 kB / 0.5329 GB, free: 7.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/0.1438, allocations: 0.8614 MB / 0.5338 GB, free: 6.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.1438, allocations: 33.7 kB / 0.5338 GB, free: 6.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.144, allocations: 224 kB / 0.534 GB, free: 6.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1441, allocations: 27.75 kB / 0.534 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1441, allocations: 25.7 kB / 0.5341 GB, free: 6.207 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1443, allocations: 362.8 kB / 0.5344 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.1444, allocations: 31.97 kB / 0.5344 GB, free: 5.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.959e-05/0.1445, allocations: 27.98 kB / 0.5345 GB, free: 5.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1447, allocations: 76.81 kB / 0.5345 GB, free: 5.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1447, allocations: 0 / 0.5345 GB, free: 5.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002777/0.145, allocations: 149.3 kB / 0.5347 GB, free: 5.555 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.145, allocations: 8 kB / 0.5347 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.145, allocations: 0 / 0.5347 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1451, allocations: 0 / 0.5347 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1452, allocations: 23.92 kB / 0.5347 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1452, allocations: 4 kB / 0.5347 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.1453, allocations: 0 / 0.5347 GB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1453, allocations: 4 kB / 0.5347 GB, free: 5.516 MB / 398.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.0002132/0.1455, allocations: 217.8 kB / 0.5349 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.1456, allocations: 43.72 kB / 0.535 GB, free: 5.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.1459, allocations: 181.7 kB / 0.5351 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.146, allocations: 7.938 kB / 0.5352 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.146, allocations: 0 / 0.5352 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.146, allocations: 0 / 0.5352 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.1467, allocations: 0.5187 MB / 0.5357 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1467, allocations: 0 / 0.5357 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.1468, allocations: 19.98 kB / 0.5357 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1468, allocations: 0 / 0.5357 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1468, allocations: 4 kB / 0.5357 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1468, allocations: 0 / 0.5357 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1468, allocations: 7.938 kB / 0.5357 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1472, allocations: 248 kB / 0.5359 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1473, allocations: 121.2 kB / 0.536 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1473, allocations: 0 / 0.536 GB, free: 4.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/0.1474, allocations: 11.94 kB / 0.5361 GB, free: 4.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1475, allocations: 7.984 kB / 0.5361 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.1475, allocations: 8 kB / 0.5361 GB, free: 4.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007158/0.1482, allocations: 0.655 MB / 0.5367 GB, free: 3.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1482, allocations: 0 / 0.5367 GB, free: 3.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.1485, allocations: 31.94 kB / 0.5367 GB, free: 3.336 MB / 398.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.002283/0.1508, allocations: 1.135 MB / 0.5378 GB, free: 2.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.1511, allocations: 83.86 kB / 0.5379 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1511, allocations: 4 kB / 0.5379 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.958e-05/0.1512, allocations: 35.98 kB / 0.538 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.1517, allocations: 26.61 kB / 0.538 GB, free: 2.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.156, allocations: 3.359 MB / 0.5413 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.1565, allocations: 0.8376 MB / 0.5421 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1567, allocations: 20.41 kB / 0.5421 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.1568, allocations: 119.4 kB / 0.5422 GB, free: 13.77 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1568, allocations: 0 / 0.5422 GB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.1878, allocations: 6.399 MB / 0.5485 GB, free: 7.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.459/8.647, allocations: 2.656 kB / 0.5485 GB, free: 7.43 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_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_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.031160217011347]