Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001659/0.001659, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.002107/0.002107, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.616/1.616, 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.2378/0.2378, allocations: 44.89 MB / 355.1 MB, free: 12.33 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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001958/0.001958, allocations: 71.88 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1364, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003169/0.1396, allocations: 1.628 MB / 0.5534 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1407, allocations: 0.5455 MB / 0.5539 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.973e-05/0.1408, allocations: 4 kB / 0.5539 GB, free: 7.914 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1411, allocations: 79.7 kB / 0.554 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.1414, allocations: 107.6 kB / 0.5541 GB, free: 7.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1417, allocations: 111.6 kB / 0.5542 GB, free: 7.621 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1419, allocations: 91.75 kB / 0.5543 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.142, allocations: 15.92 kB / 0.5543 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.318e-05/0.1421, allocations: 39.89 kB / 0.5543 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.1422, allocations: 59.77 kB / 0.5544 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1422, allocations: 4 kB / 0.5544 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1423, allocations: 47.97 kB / 0.5544 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.1424, allocations: 19.92 kB / 0.5545 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.1424, allocations: 35.69 kB / 0.5545 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1426, allocations: 103.6 kB / 0.5546 GB, free: 7.211 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1426, allocations: 4 kB / 0.5546 GB, free: 7.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1426, allocations: 0 / 0.5546 GB, free: 7.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.1426, allocations: 0 / 0.5546 GB, free: 7.207 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.0005376/0.1432, allocations: 424.7 kB / 0.555 GB, free: 6.746 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.1432, allocations: 8.031 kB / 0.555 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1432, allocations: 30.75 kB / 0.555 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.1433, allocations: 16.84 kB / 0.555 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1435, allocations: 211.1 kB / 0.5553 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.1435, allocations: 384 / 0.5553 GB, free: 6.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1435, allocations: 12.38 kB / 0.5553 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1437, allocations: 53.61 kB / 0.5553 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1437, allocations: 0 / 0.5553 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1437, allocations: 4 kB / 0.5553 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1437, allocations: 0 / 0.5553 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1438, allocations: 27.97 kB / 0.5553 GB, free: 6.336 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1442, allocations: 296.8 kB / 0.5556 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.1443, allocations: 46.66 kB / 0.5557 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.1444, allocations: 20.84 kB / 0.5557 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1444, allocations: 0 / 0.5557 GB, free: 5.918 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1444, allocations: 34.56 kB / 0.5557 GB, free: 5.875 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1444, allocations: 0 / 0.5557 GB, free: 5.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009617/0.1454, allocations: 253.2 kB / 0.556 GB, free: 5.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.1454, allocations: 59.33 kB / 0.556 GB, free: 5.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1457, allocations: 214.3 kB / 0.5562 GB, free: 5.332 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1457, allocations: 29.7 kB / 0.5563 GB, free: 5.297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.1458, allocations: 108.1 kB / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/0.1458, allocations: 31.75 kB / 0.5564 GB, free: 5.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.1458, allocations: 21.7 kB / 0.5564 GB, free: 5.129 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.146, allocations: 322.8 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.1461, allocations: 27.98 kB / 0.5567 GB, free: 4.777 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.51e-05/0.1461, allocations: 35.91 kB / 0.5568 GB, free: 4.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1463, allocations: 72.81 kB / 0.5568 GB, free: 4.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1463, allocations: 7.938 kB / 0.5569 GB, free: 4.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002382/0.1466, allocations: 117.8 kB / 0.557 GB, free: 4.539 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1466, allocations: 10.12 kB / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1466, allocations: 0 / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1466, allocations: 0 / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.1467, allocations: 19.98 kB / 0.557 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.1467, allocations: 3.938 kB / 0.557 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.682e-05/0.1468, allocations: 4 kB / 0.557 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1468, allocations: 4 kB / 0.557 GB, free: 4.5 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.0001067/0.1469, allocations: 132 kB / 0.5571 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.825e-05/0.1469, allocations: 11.91 kB / 0.5571 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.1472, allocations: 135 kB / 0.5573 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1472, allocations: 4 kB / 0.5573 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1473, allocations: 3.938 kB / 0.5573 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1473, allocations: 0 / 0.5573 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.1478, allocations: 423.2 kB / 0.5577 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1478, allocations: 0 / 0.5577 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.1479, allocations: 19.92 kB / 0.5577 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1479, allocations: 4 kB / 0.5577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1479, allocations: 0 / 0.5577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1479, allocations: 0 / 0.5577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1479, allocations: 4 kB / 0.5577 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.1482, allocations: 216.3 kB / 0.5579 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.1483, allocations: 88.95 kB / 0.558 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.1483, allocations: 8 kB / 0.558 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.1484, allocations: 4 kB / 0.558 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1484, allocations: 3.984 kB / 0.558 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.1484, allocations: 12 kB / 0.558 GB, free: 3.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1486, allocations: 168.2 kB / 0.5582 GB, free: 3.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1486, allocations: 0 / 0.5582 GB, free: 3.172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1489, allocations: 27.92 kB / 0.5582 GB, free: 3.145 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.002227/0.1511, allocations: 1.104 MB / 0.5593 GB, free: 2.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.1514, allocations: 71.95 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1514, allocations: 0 / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1515, allocations: 39.91 kB / 0.5594 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.1519, allocations: 28.73 kB / 0.5594 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.154, allocations: 1.716 MB / 0.5611 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.1544, allocations: 0.7041 MB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.1545, allocations: 20.95 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.1545, allocations: 39.42 kB / 0.5618 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1545, allocations: 3.938 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.1804, allocations: 3.173 MB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.211, allocations: 18.23 kB / 0.565 GB, free: 12.33 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.609592324588448]