Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001616/0.001616, allocations: 123.4 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.001695/0.001695, allocations: 209.6 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.47/1.47, 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.2236/0.2236, 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.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test5",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.001975/0.001975, allocations: 67.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1193, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00321/0.1225, allocations: 1.624 MB / 0.5534 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.1237, allocations: 0.5572 MB / 0.5539 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.061e-05/0.1237, allocations: 0 / 0.5539 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.124, allocations: 95.67 kB / 0.554 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1243, allocations: 107.6 kB / 0.5541 GB, free: 7.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1246, allocations: 115.6 kB / 0.5542 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.1248, allocations: 95.73 kB / 0.5543 GB, free: 7.504 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.647e-05/0.1249, allocations: 11.94 kB / 0.5543 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.341e-05/0.125, allocations: 39.89 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1251, allocations: 67.67 kB / 0.5544 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1251, allocations: 4 kB / 0.5544 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-05/0.1252, allocations: 47.98 kB / 0.5545 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.1252, allocations: 23.92 kB / 0.5545 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.1253, allocations: 27.75 kB / 0.5545 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.1255, allocations: 111.5 kB / 0.5546 GB, free: 7.176 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1255, allocations: 0 / 0.5546 GB, free: 7.176 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1255, allocations: 0 / 0.5546 GB, free: 7.176 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1255, allocations: 0 / 0.5546 GB, free: 7.176 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.0005561/0.1261, allocations: 430.6 kB / 0.555 GB, free: 6.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1261, allocations: 12.02 kB / 0.555 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.1262, allocations: 38.75 kB / 0.5551 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1262, allocations: 16.84 kB / 0.5551 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1264, allocations: 196.2 kB / 0.5553 GB, free: 6.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1264, allocations: 4.375 kB / 0.5553 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1265, allocations: 4.328 kB / 0.5553 GB, free: 6.395 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1266, allocations: 57.61 kB / 0.5554 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1266, allocations: 7.938 kB / 0.5554 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.1266, allocations: 0 / 0.5554 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1266, allocations: 0 / 0.5554 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1267, allocations: 27.92 kB / 0.5554 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.1272, allocations: 308.8 kB / 0.5557 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.1273, allocations: 46.55 kB / 0.5557 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.61e-05/0.1274, allocations: 16.94 kB / 0.5557 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.1274, allocations: 0 / 0.5557 GB, free: 5.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.1274, allocations: 46.5 kB / 0.5558 GB, free: 5.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.1274, allocations: 0 / 0.5558 GB, free: 5.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000935/0.1284, allocations: 237.1 kB / 0.556 GB, free: 5.578 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1284, allocations: 55.39 kB / 0.5561 GB, free: 5.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.1286, allocations: 238.6 kB / 0.5563 GB, free: 5.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1287, allocations: 29.64 kB / 0.5563 GB, free: 5.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.683e-05/0.1287, allocations: 104.1 kB / 0.5564 GB, free: 5.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1288, allocations: 31.73 kB / 0.5564 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/0.1288, allocations: 17.72 kB / 0.5565 GB, free: 5.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.129, allocations: 330.8 kB / 0.5568 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.129, allocations: 32.05 kB / 0.5568 GB, free: 4.707 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.417e-05/0.1291, allocations: 39.97 kB / 0.5569 GB, free: 4.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1293, allocations: 68.83 kB / 0.5569 GB, free: 4.598 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1293, allocations: 3.938 kB / 0.5569 GB, free: 4.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.1295, allocations: 109.6 kB / 0.557 GB, free: 4.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1296, allocations: 4 kB / 0.557 GB, free: 4.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1296, allocations: 3.984 kB / 0.557 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1296, allocations: 0 / 0.557 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1297, allocations: 24 kB / 0.5571 GB, free: 4.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.1297, allocations: 7.922 kB / 0.5571 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1297, allocations: 4 kB / 0.5571 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1297, allocations: 0 / 0.5571 GB, free: 4.438 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.0001105/0.1298, allocations: 141 kB / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.1299, allocations: 7.953 kB / 0.5572 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.1302, allocations: 139.2 kB / 0.5573 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1302, allocations: 4 kB / 0.5573 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1302, allocations: 3.938 kB / 0.5573 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1302, allocations: 4 kB / 0.5574 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005948/0.1308, allocations: 419.3 kB / 0.5578 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1308, allocations: 0 / 0.5578 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.651e-05/0.1309, allocations: 23.92 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1309, allocations: 0 / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1309, allocations: 4.031 kB / 0.5578 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1309, allocations: 3.938 kB / 0.5578 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1309, allocations: 4 kB / 0.5578 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.1312, allocations: 216.2 kB / 0.558 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1313, allocations: 89 kB / 0.5581 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.1313, allocations: 4 kB / 0.5581 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.1314, allocations: 8 kB / 0.5581 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1314, allocations: 7.984 kB / 0.5581 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.1314, allocations: 0 / 0.5581 GB, free: 3.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1316, allocations: 179.2 kB / 0.5583 GB, free: 3.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1316, allocations: 0 / 0.5583 GB, free: 3.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1318, allocations: 27.89 kB / 0.5583 GB, free: 3.062 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.002205/0.134, allocations: 1.108 MB / 0.5594 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.1343, allocations: 71.89 kB / 0.5594 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1343, allocations: 0 / 0.5594 GB, free: 2.043 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1344, allocations: 31.98 kB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.1348, allocations: 26.55 kB / 0.5595 GB, free: 1.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.137, allocations: 1.773 MB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.1374, allocations: 0.7158 MB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.351e-05/0.1374, allocations: 20.66 kB / 0.562 GB, free: 15.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.1375, allocations: 31.42 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1375, allocations: 0 / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1631, allocations: 3.277 MB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.433, allocations: 2.656 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_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_CombiTable1Dv_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.497474817093462]