Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001779/0.001779, allocations: 124.5 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.002154/0.002154, allocations: 211.2 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.549/1.549, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2357/0.2357, allocations: 44.91 MB / 355.1 MB, free: 12.3 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.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.00194/0.00194, allocations: 71.89 kB / 499.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1446, allocations: 65.42 MB / 0.5518 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003235/0.1479, allocations: 1.685 MB / 0.5534 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1489, allocations: 0.5572 MB / 0.554 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.1489, allocations: 0 / 0.554 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1491, allocations: 55.8 kB / 0.554 GB, free: 7.789 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.1494, allocations: 107.5 kB / 0.5541 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.1498, allocations: 126.6 kB / 0.5542 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.1499, allocations: 87.81 kB / 0.5543 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.15, allocations: 20.44 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.1501, allocations: 47.77 kB / 0.5544 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1502, allocations: 51.83 kB / 0.5544 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1502, allocations: 7.938 kB / 0.5545 GB, free: 7.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1503, allocations: 47.97 kB / 0.5545 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.1504, allocations: 19.92 kB / 0.5545 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.1505, allocations: 39.73 kB / 0.5546 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.1507, allocations: 115.5 kB / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1507, allocations: 0 / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1507, allocations: 0 / 0.5547 GB, free: 7.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1507, allocations: 0 / 0.5547 GB, free: 7.129 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.000652/0.1514, allocations: 426.7 kB / 0.5551 GB, free: 6.664 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1514, allocations: 12.03 kB / 0.5551 GB, free: 6.652 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.176e-05/0.1515, allocations: 42.67 kB / 0.5551 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1515, allocations: 12.84 kB / 0.5551 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1517, allocations: 202.3 kB / 0.5553 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1517, allocations: 384 / 0.5553 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.1518, allocations: 16.25 kB / 0.5553 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.152, allocations: 69.61 kB / 0.5554 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.152, allocations: 0 / 0.5554 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.152, allocations: 0 / 0.5554 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.152, allocations: 0 / 0.5554 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1521, allocations: 43.95 kB / 0.5555 GB, free: 6.223 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1526, allocations: 304.7 kB / 0.5557 GB, free: 5.875 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.1528, allocations: 58.55 kB / 0.5558 GB, free: 5.809 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.165e-05/0.1529, allocations: 24.97 kB / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.1529, allocations: 0 / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.153, allocations: 34.59 kB / 0.5559 GB, free: 5.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.92e-07/0.153, allocations: 4 kB / 0.5559 GB, free: 5.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001514/0.1545, allocations: 409.2 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1545, allocations: 51.41 kB / 0.5563 GB, free: 5.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.1547, allocations: 193.7 kB / 0.5565 GB, free: 5.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1548, allocations: 29.7 kB / 0.5565 GB, free: 5.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.435e-05/0.1548, allocations: 108.1 kB / 0.5566 GB, free: 4.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.1549, allocations: 35.69 kB / 0.5567 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.1549, allocations: 33.66 kB / 0.5567 GB, free: 4.852 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1551, allocations: 318.8 kB / 0.557 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1552, allocations: 43.97 kB / 0.557 GB, free: 4.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.1553, allocations: 43.95 kB / 0.5571 GB, free: 4.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.1556, allocations: 104.8 kB / 0.5572 GB, free: 4.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1556, allocations: 0 / 0.5572 GB, free: 4.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00033/0.1559, allocations: 149.5 kB / 0.5573 GB, free: 4.188 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.156, allocations: 4 kB / 0.5573 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.156, allocations: 0 / 0.5573 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.156, allocations: 3.938 kB / 0.5573 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1561, allocations: 23.98 kB / 0.5573 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1561, allocations: 4 kB / 0.5573 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.1562, allocations: 15.98 kB / 0.5574 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1562, allocations: 4 kB / 0.5574 GB, free: 4.133 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.0001186/0.1563, allocations: 133.7 kB / 0.5575 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.1564, allocations: 11.91 kB / 0.5575 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000438/0.1568, allocations: 159 kB / 0.5577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1568, allocations: 7.938 kB / 0.5577 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1568, allocations: 7.922 kB / 0.5577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1568, allocations: 0 / 0.5577 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.1575, allocations: 479.9 kB / 0.5581 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1575, allocations: 4.062 kB / 0.5581 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.1576, allocations: 27.92 kB / 0.5582 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1576, allocations: 4.188 kB / 0.5582 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1576, allocations: 11.98 kB / 0.5582 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.1576, allocations: 4 kB / 0.5582 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1577, allocations: 0 / 0.5582 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.158, allocations: 253.1 kB / 0.5584 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.1581, allocations: 89.02 kB / 0.5585 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1581, allocations: 4 kB / 0.5585 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1582, allocations: 11.98 kB / 0.5585 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.1583, allocations: 15.92 kB / 0.5585 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.1583, allocations: 4 kB / 0.5585 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.1584, allocations: 149.8 kB / 0.5587 GB, free: 2.66 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1584, allocations: 0 / 0.5587 GB, free: 2.66 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1587, allocations: 27.94 kB / 0.5587 GB, free: 2.633 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.002411/0.1611, allocations: 1.148 MB / 0.5598 GB, free: 1.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003504/0.1615, allocations: 107.9 kB / 0.5599 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1615, allocations: 0 / 0.5599 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.1616, allocations: 51.91 kB / 0.56 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.162, allocations: 23.02 kB / 0.56 GB, free: 1.465 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.1645, allocations: 1.821 MB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.1648, allocations: 0.708 MB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.326e-05/0.1649, allocations: 20.48 kB / 0.5625 GB, free: 14.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.165, allocations: 47.41 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.165, allocations: 0 / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.191, allocations: 3.397 MB / 0.5659 GB, free: 11.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.59, allocations: 11.92 kB / 0.5659 GB, free: 11.39 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.028651189990342]