Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001269/0.001269, 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.00136/0.00136, 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.44/1.44, 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.2151/0.2151, 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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.001954/0.001954, allocations: 71.88 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.135, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003207/0.1382, allocations: 1.671 MB / 0.5534 GB, free: 8.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.1401, allocations: 1.21 MB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.1401, allocations: 0 / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.1404, allocations: 23.84 kB / 0.5546 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.1406, allocations: 83.62 kB / 0.5547 GB, free: 7.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.1411, allocations: 182.4 kB / 0.5549 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001912/0.1413, allocations: 79.75 kB / 0.5549 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1414, allocations: 24.14 kB / 0.555 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.281e-05/0.1414, allocations: 35.84 kB / 0.555 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.1416, allocations: 35.84 kB / 0.555 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1416, allocations: 4 kB / 0.555 GB, free: 6.766 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.1418, allocations: 107.9 kB / 0.5551 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.1418, allocations: 19.91 kB / 0.5552 GB, free: 6.641 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.1419, allocations: 35.8 kB / 0.5552 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1422, allocations: 155.4 kB / 0.5553 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1422, allocations: 0 / 0.5553 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1422, allocations: 0 / 0.5553 GB, free: 6.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.1422, allocations: 0 / 0.5553 GB, free: 6.453 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.0006175/0.1428, allocations: 428.7 kB / 0.5557 GB, free: 5.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1428, allocations: 8.031 kB / 0.5558 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.1429, allocations: 38.75 kB / 0.5558 GB, free: 5.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1429, allocations: 8.891 kB / 0.5558 GB, free: 5.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1431, allocations: 200.2 kB / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-06/0.1431, allocations: 384 / 0.556 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.1432, allocations: 8.375 kB / 0.556 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1434, allocations: 71.33 kB / 0.5561 GB, free: 5.602 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1434, allocations: 11.92 kB / 0.5561 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.1434, allocations: 0 / 0.5561 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1434, allocations: 0 / 0.5561 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1435, allocations: 43.97 kB / 0.5561 GB, free: 5.547 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.144, allocations: 316.7 kB / 0.5564 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1441, allocations: 50.48 kB / 0.5565 GB, free: 5.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.1442, allocations: 24.94 kB / 0.5565 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1442, allocations: 4 kB / 0.5565 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.1443, allocations: 34.56 kB / 0.5565 GB, free: 5.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1443, allocations: 0 / 0.5565 GB, free: 5.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008355/0.1451, allocations: 229.3 kB / 0.5567 GB, free: 4.824 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.1452, allocations: 81.11 kB / 0.5568 GB, free: 4.727 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.1454, allocations: 158.9 kB / 0.557 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1454, allocations: 25.7 kB / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.106e-05/0.1455, allocations: 108 kB / 0.5571 GB, free: 4.422 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.1455, allocations: 23.91 kB / 0.5571 GB, free: 4.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1456, allocations: 17.72 kB / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1457, allocations: 322.8 kB / 0.5575 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1458, allocations: 39.97 kB / 0.5575 GB, free: 4.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.146, allocations: 57.61 kB / 0.5575 GB, free: 3.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.1462, allocations: 92.8 kB / 0.5576 GB, free: 3.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1462, allocations: 7.969 kB / 0.5576 GB, free: 3.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003079/0.1465, allocations: 121.5 kB / 0.5578 GB, free: 3.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1465, allocations: 10.17 kB / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1465, allocations: 0 / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1466, allocations: 0 / 0.5578 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1467, allocations: 19.98 kB / 0.5578 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1467, allocations: 320 / 0.5578 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.175e-05/0.1468, allocations: 23.92 kB / 0.5578 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.1468, allocations: 0 / 0.5578 GB, free: 3.672 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 (7): * Single equations (assignments): 7 * 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.0001064/0.1469, allocations: 120 kB / 0.5579 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.1469, allocations: 11.91 kB / 0.5579 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.1473, allocations: 150.2 kB / 0.5581 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1473, allocations: 0 / 0.5581 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1473, allocations: 4 kB / 0.5581 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1473, allocations: 3.938 kB / 0.5581 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.148, allocations: 418.4 kB / 0.5585 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.148, allocations: 0 / 0.5585 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.147e-05/0.148, allocations: 23.97 kB / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.148, allocations: 0 / 0.5585 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1481, allocations: 7.938 kB / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1481, allocations: 0 / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1481, allocations: 0 / 0.5585 GB, free: 2.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1484, allocations: 219.4 kB / 0.5587 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.1485, allocations: 93.05 kB / 0.5588 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.1485, allocations: 3.938 kB / 0.5588 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1486, allocations: 12 kB / 0.5588 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.1486, allocations: 11.92 kB / 0.5588 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.1486, allocations: 0 / 0.5588 GB, free: 2.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1488, allocations: 125 kB / 0.559 GB, free: 2.387 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1488, allocations: 0 / 0.559 GB, free: 2.387 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002922/0.149, allocations: 39.86 kB / 0.559 GB, free: 2.348 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.002275/0.1513, allocations: 1.156 MB / 0.5601 GB, free: 1.359 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.1517, allocations: 83.88 kB / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1517, allocations: 0 / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.1518, allocations: 51.95 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1522, allocations: 17.25 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.1544, allocations: 1.655 MB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.1547, allocations: 0.7039 MB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.371e-05/0.1548, allocations: 24.7 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.1549, allocations: 31.42 kB / 0.5626 GB, free: 14.69 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1549, allocations: 8 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.1812, allocations: 3.628 MB / 0.5662 GB, free: 11.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.563, allocations: 6.797 kB / 0.5662 GB, free: 11.06 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_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_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.683051609899849]