Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001319/0.001319, 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.001385/0.001385, 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.55/1.55, 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.2326/0.2326, allocations: 44.9 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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.002058/0.002058, allocations: 75.88 kB / 499.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1301, allocations: 65.43 MB / 0.5518 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003764/0.1338, allocations: 1.676 MB / 0.5534 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.135, allocations: 0.5649 MB / 0.554 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.135, allocations: 0 / 0.554 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.1357, allocations: 451.1 kB / 0.5544 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.1362, allocations: 295.3 kB / 0.5547 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004641/0.1367, allocations: 135.1 kB / 0.5548 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.137, allocations: 167.6 kB / 0.555 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.1371, allocations: 24.25 kB / 0.555 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1373, allocations: 111.7 kB / 0.5551 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003195/0.1376, allocations: 251.5 kB / 0.5553 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1376, allocations: 0 / 0.5553 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1378, allocations: 55.92 kB / 0.5554 GB, free: 6.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1379, allocations: 83.62 kB / 0.5555 GB, free: 6.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.1381, allocations: 111 kB / 0.5556 GB, free: 6.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000475/0.1386, allocations: 286.5 kB / 0.5559 GB, free: 6.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1386, allocations: 0 / 0.5559 GB, free: 6.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1386, allocations: 0 / 0.5559 GB, free: 6.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1386, allocations: 0 / 0.5559 GB, free: 6.02 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.0008846/0.1395, allocations: 0.6645 MB / 0.5565 GB, free: 5.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1395, allocations: 8.031 kB / 0.5565 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.1395, allocations: 46.67 kB / 0.5566 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.698e-05/0.1396, allocations: 44.66 kB / 0.5566 GB, free: 5.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.1399, allocations: 300.6 kB / 0.5569 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1399, allocations: 8.375 kB / 0.5569 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.14, allocations: 8.375 kB / 0.5569 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.1401, allocations: 57.61 kB / 0.557 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1401, allocations: 3.938 kB / 0.557 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1401, allocations: 0 / 0.557 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1402, allocations: 4 kB / 0.557 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.1403, allocations: 23.98 kB / 0.557 GB, free: 4.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.1409, allocations: 408.6 kB / 0.5574 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.141, allocations: 46.59 kB / 0.5574 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/0.1411, allocations: 16.94 kB / 0.5574 GB, free: 4.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.1411, allocations: 4 kB / 0.5574 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/0.1411, allocations: 30.56 kB / 0.5575 GB, free: 4.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.1412, allocations: 3.938 kB / 0.5575 GB, free: 4.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001178/0.1423, allocations: 316.6 kB / 0.5578 GB, free: 3.867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.1424, allocations: 55.34 kB / 0.5578 GB, free: 3.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.1434, allocations: 0.8815 MB / 0.5587 GB, free: 2.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1435, allocations: 25.7 kB / 0.5587 GB, free: 2.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.1437, allocations: 236 kB / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.1438, allocations: 31.73 kB / 0.559 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.1438, allocations: 21.7 kB / 0.559 GB, free: 2.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.144, allocations: 358.8 kB / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.1441, allocations: 27.97 kB / 0.5594 GB, free: 2.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.832e-05/0.1442, allocations: 23.98 kB / 0.5594 GB, free: 2.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1444, allocations: 68.83 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1444, allocations: 0 / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002654/0.1446, allocations: 125.4 kB / 0.5596 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1446, allocations: 4 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1446, allocations: 0 / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1447, allocations: 4 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.1448, allocations: 23.86 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1448, allocations: 320 / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.1449, allocations: 15.98 kB / 0.5596 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.1449, allocations: 4 kB / 0.5596 GB, free: 1.922 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.0002159/0.1451, allocations: 209.8 kB / 0.5598 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.1452, allocations: 47.67 kB / 0.5599 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003581/0.1455, allocations: 165.9 kB / 0.56 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.1455, allocations: 7.938 kB / 0.56 GB, free: 1.477 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1455, allocations: 4 kB / 0.56 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1455, allocations: 0 / 0.56 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007462/0.1463, allocations: 0.507 MB / 0.5605 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1463, allocations: 0 / 0.5605 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.1464, allocations: 19.98 kB / 0.5606 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1464, allocations: 0 / 0.5606 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.1464, allocations: 0 / 0.5606 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.256e-05/0.1464, allocations: 4 kB / 0.5606 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1464, allocations: 4.031 kB / 0.5606 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.1467, allocations: 252 kB / 0.5608 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.924e-05/0.1468, allocations: 108.8 kB / 0.5609 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1468, allocations: 7.984 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.667e-05/0.1469, allocations: 12 kB / 0.5609 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.147, allocations: 11.92 kB / 0.5609 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.147, allocations: 4 kB / 0.5609 GB, free: 464 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000713/0.1477, allocations: 0.6551 MB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1477, allocations: 0 / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.148, allocations: 39.86 kB / 0.5616 GB, free: 15.76 MB / 430.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.002259/0.1502, allocations: 1.129 MB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1505, allocations: 67.94 kB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1505, allocations: 0 / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.398e-05/0.1506, allocations: 35.91 kB / 0.5628 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.1511, allocations: 29.11 kB / 0.5628 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003988/0.1551, allocations: 3.333 MB / 0.5661 GB, free: 11.24 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.1556, allocations: 0.8299 MB / 0.5669 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.1556, allocations: 8.438 kB / 0.5669 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.1558, allocations: 111.4 kB / 0.567 GB, free: 10.27 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1558, allocations: 0 / 0.567 GB, free: 10.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.1835, allocations: 6.411 MB / 0.5733 GB, free: 3.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.017, allocations: 3.938 kB / 0.5733 GB, free: 3.895 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_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_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.328232876956463]