Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.001739/0.001739, 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.002071/0.002071, 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.549/1.549, 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.2421/0.2421, allocations: 44.92 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.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001964/0.001964, allocations: 67.89 kB / 499.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 65.42 MB / 0.5518 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003303/0.1398, allocations: 1.624 MB / 0.5534 GB, free: 8.473 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1408, allocations: 0.5377 MB / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.131e-05/0.1408, allocations: 0 / 0.5539 GB, free: 7.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.1411, allocations: 75.77 kB / 0.554 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.1414, allocations: 107.5 kB / 0.5541 GB, free: 7.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1417, allocations: 87.7 kB / 0.5542 GB, free: 7.664 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1419, allocations: 91.73 kB / 0.5542 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.142, allocations: 19.94 kB / 0.5543 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.1421, allocations: 35.89 kB / 0.5543 GB, free: 7.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1422, allocations: 59.75 kB / 0.5543 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1422, allocations: 4 kB / 0.5544 GB, free: 7.457 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1423, allocations: 47.97 kB / 0.5544 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1424, allocations: 19.92 kB / 0.5544 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.1424, allocations: 31.75 kB / 0.5544 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1426, allocations: 103.5 kB / 0.5545 GB, free: 7.258 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.1426, allocations: 3.984 kB / 0.5546 GB, free: 7.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1426, allocations: 0 / 0.5546 GB, free: 7.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1427, allocations: 8 kB / 0.5546 GB, free: 7.246 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.0005763/0.1432, allocations: 414.7 kB / 0.555 GB, free: 6.793 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1433, allocations: 8.031 kB / 0.555 GB, free: 6.785 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.1433, allocations: 34.75 kB / 0.555 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.1434, allocations: 16.84 kB / 0.555 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1436, allocations: 211.2 kB / 0.5552 GB, free: 6.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1436, allocations: 4.312 kB / 0.5552 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1436, allocations: 4.375 kB / 0.5552 GB, free: 6.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.1438, allocations: 61.61 kB / 0.5553 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1438, allocations: 0 / 0.5553 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1438, allocations: 0 / 0.5553 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1438, allocations: 0 / 0.5553 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.986e-05/0.1439, allocations: 27.97 kB / 0.5553 GB, free: 6.379 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1443, allocations: 296.8 kB / 0.5556 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1444, allocations: 42.56 kB / 0.5556 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.1445, allocations: 20.94 kB / 0.5556 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.1445, allocations: 0 / 0.5556 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.1446, allocations: 34.56 kB / 0.5557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1446, allocations: 0 / 0.5557 GB, free: 5.922 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009418/0.1455, allocations: 229.2 kB / 0.5559 GB, free: 5.691 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.1455, allocations: 51.41 kB / 0.5559 GB, free: 5.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.1458, allocations: 222.2 kB / 0.5562 GB, free: 5.402 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1458, allocations: 25.7 kB / 0.5562 GB, free: 5.371 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.586e-05/0.1459, allocations: 108.1 kB / 0.5563 GB, free: 5.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1459, allocations: 31.73 kB / 0.5563 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1459, allocations: 21.72 kB / 0.5563 GB, free: 5.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1461, allocations: 322.8 kB / 0.5566 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-05/0.1462, allocations: 23.97 kB / 0.5567 GB, free: 4.855 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.1463, allocations: 27.98 kB / 0.5567 GB, free: 4.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1464, allocations: 68.83 kB / 0.5568 GB, free: 4.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1464, allocations: 0 / 0.5568 GB, free: 4.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002222/0.1466, allocations: 105.6 kB / 0.5569 GB, free: 4.648 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1467, allocations: 4 kB / 0.5569 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1467, allocations: 0 / 0.5569 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1467, allocations: 3.938 kB / 0.5569 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1468, allocations: 19.98 kB / 0.5569 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1468, allocations: 4.25 kB / 0.5569 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.1468, allocations: 7.984 kB / 0.5569 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1469, allocations: 0 / 0.5569 GB, free: 4.609 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.0001072/0.147, allocations: 136 kB / 0.557 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.751e-05/0.147, allocations: 11.91 kB / 0.557 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.1473, allocations: 115 kB / 0.5572 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1473, allocations: 7.984 kB / 0.5572 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1473, allocations: 3.938 kB / 0.5572 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1473, allocations: 432 / 0.5572 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005698/0.1479, allocations: 411.3 kB / 0.5576 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1479, allocations: 0 / 0.5576 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.148, allocations: 19.92 kB / 0.5576 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.148, allocations: 4 kB / 0.5576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.148, allocations: 0 / 0.5576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.148, allocations: 0 / 0.5576 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.148, allocations: 3.984 kB / 0.5576 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.1483, allocations: 208.3 kB / 0.5578 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.1483, allocations: 92.95 kB / 0.5579 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.1483, allocations: 8 kB / 0.5579 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1484, allocations: 7.984 kB / 0.5579 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.1484, allocations: 4 kB / 0.5579 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.1484, allocations: 4 kB / 0.5579 GB, free: 3.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001497/0.1486, allocations: 168.2 kB / 0.5581 GB, free: 3.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1486, allocations: 4 kB / 0.5581 GB, free: 3.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1489, allocations: 23.92 kB / 0.5581 GB, free: 3.285 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.002217/0.1511, allocations: 1.097 MB / 0.5592 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1513, allocations: 59.95 kB / 0.5592 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1513, allocations: 0 / 0.5592 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.1514, allocations: 43.91 kB / 0.5593 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1518, allocations: 17.3 kB / 0.5593 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.1539, allocations: 1.671 MB / 0.5609 GB, free: 488 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1543, allocations: 0.7041 MB / 0.5616 GB, free: 15.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.1543, allocations: 12.66 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.1544, allocations: 39.42 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1544, allocations: 0 / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.1809, allocations: 3.134 MB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.348, allocations: 15.11 kB / 0.5647 GB, free: 12.6 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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.CombiTable1Ds.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.793524354696274]