Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001329/0.001329, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.001352/0.001352, allocations: 208.3 kB / 20.74 MB, free: 2.336 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.53/1.53, 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.2451/0.2451, allocations: 44.91 MB / 355.1 MB, free: 12.32 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001945/0.001945, allocations: 67.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1368, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003308/0.1401, allocations: 1.684 MB / 0.5534 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.1412, allocations: 0.5922 MB / 0.554 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.706e-05/0.1413, allocations: 0 / 0.554 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.1416, allocations: 47.75 kB / 0.554 GB, free: 7.77 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.1419, allocations: 87.66 kB / 0.5541 GB, free: 7.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.1423, allocations: 186.9 kB / 0.5543 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1425, allocations: 91.69 kB / 0.5544 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.1426, allocations: 20.44 kB / 0.5544 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.982e-05/0.1427, allocations: 35.84 kB / 0.5544 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1428, allocations: 47.77 kB / 0.5545 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1428, allocations: 8 kB / 0.5545 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1429, allocations: 47.98 kB / 0.5545 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.143, allocations: 27.91 kB / 0.5546 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.1431, allocations: 39.73 kB / 0.5546 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1433, allocations: 111.5 kB / 0.5547 GB, free: 7.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.1433, allocations: 4 kB / 0.5547 GB, free: 7.078 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1433, allocations: 0 / 0.5547 GB, free: 7.078 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1433, allocations: 0 / 0.5547 GB, free: 7.078 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.0006743/0.144, allocations: 422.7 kB / 0.5551 GB, free: 6.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.144, allocations: 15.97 kB / 0.5551 GB, free: 6.602 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.1441, allocations: 30.75 kB / 0.5552 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1441, allocations: 12.84 kB / 0.5552 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.1444, allocations: 214.3 kB / 0.5554 GB, free: 6.305 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.1444, allocations: 4.375 kB / 0.5554 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.1444, allocations: 384 / 0.5554 GB, free: 6.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1446, allocations: 77.53 kB / 0.5555 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1446, allocations: 0 / 0.5555 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1446, allocations: 4 kB / 0.5555 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1446, allocations: 0 / 0.5555 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1448, allocations: 43.95 kB / 0.5555 GB, free: 6.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.1452, allocations: 328.6 kB / 0.5558 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1455, allocations: 54.55 kB / 0.5559 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.1456, allocations: 25.06 kB / 0.5559 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.1456, allocations: 15.92 kB / 0.5559 GB, free: 5.695 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1456, allocations: 34.56 kB / 0.5559 GB, free: 5.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1456, allocations: 0 / 0.5559 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001561/0.1472, allocations: 425.3 kB / 0.5564 GB, free: 5.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.1472, allocations: 51.41 kB / 0.5564 GB, free: 5.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1475, allocations: 190.2 kB / 0.5566 GB, free: 4.969 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1475, allocations: 29.7 kB / 0.5566 GB, free: 4.934 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.1475, allocations: 100.1 kB / 0.5567 GB, free: 4.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.1476, allocations: 47.56 kB / 0.5568 GB, free: 4.785 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.1477, allocations: 29.72 kB / 0.5568 GB, free: 4.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1478, allocations: 322.8 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.148, allocations: 51.95 kB / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1481, allocations: 63.95 kB / 0.5572 GB, free: 4.312 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002904/0.1484, allocations: 124.7 kB / 0.5573 GB, free: 4.188 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.1484, allocations: 0 / 0.5573 GB, free: 4.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003677/0.1488, allocations: 165.5 kB / 0.5575 GB, free: 4.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1488, allocations: 12 kB / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1488, allocations: 0 / 0.5575 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.1488, allocations: 3.938 kB / 0.5575 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1489, allocations: 27.98 kB / 0.5575 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1489, allocations: 3.938 kB / 0.5575 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.992e-05/0.149, allocations: 11.98 kB / 0.5575 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.149, allocations: 4 kB / 0.5575 GB, free: 3.957 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.0001195/0.1491, allocations: 129.8 kB / 0.5577 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.1492, allocations: 11.91 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.1496, allocations: 186.3 kB / 0.5579 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1496, allocations: 7.938 kB / 0.5579 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1496, allocations: 0 / 0.5579 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1496, allocations: 3.938 kB / 0.5579 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.1504, allocations: 0.4999 MB / 0.5584 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1504, allocations: 4 kB / 0.5584 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1505, allocations: 31.91 kB / 0.5584 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1505, allocations: 0 / 0.5584 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1506, allocations: 4 kB / 0.5584 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1506, allocations: 0 / 0.5584 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1506, allocations: 4.062 kB / 0.5584 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.151, allocations: 265.1 kB / 0.5586 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.151, allocations: 97 kB / 0.5587 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.1511, allocations: 8.125 kB / 0.5587 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.1512, allocations: 15.98 kB / 0.5588 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.1512, allocations: 8 kB / 0.5588 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1512, allocations: 4 kB / 0.5588 GB, free: 2.574 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001311/0.1514, allocations: 143.2 kB / 0.5589 GB, free: 2.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1514, allocations: 0 / 0.5589 GB, free: 2.434 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1516, allocations: 27.94 kB / 0.5589 GB, free: 2.406 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.002371/0.154, allocations: 1.17 MB / 0.5601 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.1544, allocations: 123.8 kB / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1544, allocations: 0 / 0.5602 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.1545, allocations: 71.89 kB / 0.5603 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.155, allocations: 17.3 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.1576, allocations: 1.903 MB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.158, allocations: 0.7119 MB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1581, allocations: 28.53 kB / 0.5629 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.496e-05/0.1582, allocations: 43.41 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.1582, allocations: 4 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.1847, allocations: 3.476 MB / 0.5663 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.214, allocations: 20.75 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_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_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.513347291853279]