Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.001401/0.001401, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001356/0.001356, allocations: 209.6 kB / 20.75 MB, free: 2.293 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.528/1.528, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2351/0.2351, 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.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",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.002317/0.002317, allocations: 64.08 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1356, allocations: 65.43 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.004004/0.1396, allocations: 1.683 MB / 0.5534 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.141, allocations: 0.5571 MB / 0.554 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1411, allocations: 0 / 0.554 GB, free: 7.852 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.1414, allocations: 75.7 kB / 0.554 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.1417, allocations: 103.6 kB / 0.5541 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.1422, allocations: 139.6 kB / 0.5543 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.1424, allocations: 91.69 kB / 0.5544 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1425, allocations: 20.44 kB / 0.5544 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.1426, allocations: 39.84 kB / 0.5544 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1428, allocations: 63.8 kB / 0.5545 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1428, allocations: 4 kB / 0.5545 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.1429, allocations: 47.98 kB / 0.5545 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.143, allocations: 27.84 kB / 0.5546 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1431, allocations: 39.73 kB / 0.5546 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1433, allocations: 127.4 kB / 0.5547 GB, free: 7.082 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1433, allocations: 0 / 0.5547 GB, free: 7.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1433, allocations: 0 / 0.5547 GB, free: 7.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.1434, allocations: 0 / 0.5547 GB, free: 7.082 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.0006616/0.144, allocations: 438.6 kB / 0.5551 GB, free: 6.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.1441, allocations: 8.031 kB / 0.5551 GB, free: 6.598 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.1441, allocations: 38.73 kB / 0.5552 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1442, allocations: 12.84 kB / 0.5552 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1444, allocations: 220.1 kB / 0.5554 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1444, allocations: 384 / 0.5554 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1445, allocations: 4.375 kB / 0.5554 GB, free: 6.281 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.1446, allocations: 65.61 kB / 0.5555 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1447, allocations: 0 / 0.5555 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1447, allocations: 8 kB / 0.5555 GB, free: 6.203 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.1447, allocations: 3.938 kB / 0.5555 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001468/0.1448, allocations: 43.89 kB / 0.5555 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.1453, allocations: 308.8 kB / 0.5558 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1456, allocations: 58.58 kB / 0.5559 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.1457, allocations: 24.97 kB / 0.5559 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.1457, allocations: 4 kB / 0.5559 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1457, allocations: 30.56 kB / 0.5559 GB, free: 5.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1457, allocations: 0 / 0.5559 GB, free: 5.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.00168/0.1474, allocations: 400.9 kB / 0.5563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1475, allocations: 55.41 kB / 0.5564 GB, free: 5.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.1477, allocations: 218.1 kB / 0.5566 GB, free: 4.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1478, allocations: 33.7 kB / 0.5566 GB, free: 4.941 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.1478, allocations: 108.1 kB / 0.5567 GB, free: 4.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1479, allocations: 39.62 kB / 0.5567 GB, free: 4.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.067e-05/0.1479, allocations: 25.72 kB / 0.5568 GB, free: 4.762 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1481, allocations: 326.8 kB / 0.5571 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1482, allocations: 39.97 kB / 0.5571 GB, free: 4.395 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1484, allocations: 55.83 kB / 0.5572 GB, free: 4.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/0.1486, allocations: 96.81 kB / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1486, allocations: 0 / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003765/0.149, allocations: 145.5 kB / 0.5574 GB, free: 4.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.149, allocations: 10.19 kB / 0.5574 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.149, allocations: 0.5625 kB / 0.5574 GB, free: 4.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.1491, allocations: 3.938 kB / 0.5574 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.1492, allocations: 27.92 kB / 0.5574 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1492, allocations: 3.938 kB / 0.5574 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.1493, allocations: 19.98 kB / 0.5575 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1493, allocations: 4 kB / 0.5575 GB, free: 4.027 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.0001595/0.1494, allocations: 136 kB / 0.5576 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/0.1495, allocations: 15.91 kB / 0.5576 GB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/0.1499, allocations: 155 kB / 0.5578 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.1499, allocations: 11.86 kB / 0.5578 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.15, allocations: 8 kB / 0.5578 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.15, allocations: 0 / 0.5578 GB, free: 3.688 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.1507, allocations: 472 kB / 0.5582 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1507, allocations: 0 / 0.5582 GB, free: 3.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1508, allocations: 39.97 kB / 0.5583 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1508, allocations: 0 / 0.5583 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.1508, allocations: 4 kB / 0.5583 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1508, allocations: 4 kB / 0.5583 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1508, allocations: 3.938 kB / 0.5583 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.1512, allocations: 261.5 kB / 0.5585 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.1513, allocations: 93.02 kB / 0.5586 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.283e-05/0.1513, allocations: 3.984 kB / 0.5586 GB, free: 2.723 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.1514, allocations: 12 kB / 0.5586 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.1515, allocations: 7.984 kB / 0.5586 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1515, allocations: 4 kB / 0.5586 GB, free: 2.699 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.1518, allocations: 172.4 kB / 0.5588 GB, free: 2.531 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1518, allocations: 7.938 kB / 0.5588 GB, free: 2.523 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.152, allocations: 24 kB / 0.5588 GB, free: 2.5 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.002403/0.1544, allocations: 1.142 MB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003591/0.1548, allocations: 115.7 kB / 0.5601 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1548, allocations: 0 / 0.5601 GB, free: 1.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.155, allocations: 51.91 kB / 0.5601 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.1554, allocations: 19.98 kB / 0.5601 GB, free: 1.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.158, allocations: 1.885 MB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.1583, allocations: 0.7197 MB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.1584, allocations: 16.55 kB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.302e-05/0.1585, allocations: 39.42 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1585, allocations: 192 / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.185, allocations: 3.519 MB / 0.5662 GB, free: 11.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.748/8.933, allocations: 3.984 kB / 0.5662 GB, free: 11.09 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_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_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.131700183264911]