Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.00242/0.00242, allocations: 124.5 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.002353/0.002353, allocations: 211.2 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.506/1.506, 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.2157/0.2157, 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",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.002033/0.002033, allocations: 67.89 kB / 499.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1308, allocations: 65.42 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003392/0.1342, allocations: 1.707 MB / 0.5534 GB, free: 8.398 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1352, allocations: 0.565 MB / 0.554 GB, free: 7.828 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.1353, allocations: 8 kB / 0.554 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.1355, allocations: 27.72 kB / 0.554 GB, free: 7.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.1357, allocations: 87.55 kB / 0.5541 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.1361, allocations: 123.7 kB / 0.5542 GB, free: 7.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1362, allocations: 91.75 kB / 0.5543 GB, free: 7.496 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.1363, allocations: 20.2 kB / 0.5543 GB, free: 7.477 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.1364, allocations: 35.8 kB / 0.5544 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.1365, allocations: 51.75 kB / 0.5544 GB, free: 7.391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1365, allocations: 4 kB / 0.5544 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1367, allocations: 111.9 kB / 0.5545 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1368, allocations: 19.92 kB / 0.5546 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.1368, allocations: 35.8 kB / 0.5546 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.1372, allocations: 167.4 kB / 0.5547 GB, free: 7.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.1372, allocations: 4 kB / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1372, allocations: 0 / 0.5548 GB, free: 7.055 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1372, allocations: 0 / 0.5548 GB, free: 7.055 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.000752/0.1379, allocations: 450.6 kB / 0.5552 GB, free: 6.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.138, allocations: 8.031 kB / 0.5552 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.684e-05/0.138, allocations: 38.69 kB / 0.5552 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.1381, allocations: 8.891 kB / 0.5552 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1383, allocations: 200.2 kB / 0.5554 GB, free: 6.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1383, allocations: 12.31 kB / 0.5554 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.1383, allocations: 8.359 kB / 0.5554 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.1386, allocations: 91.25 kB / 0.5555 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1386, allocations: 0 / 0.5555 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1387, allocations: 4 kB / 0.5555 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.1387, allocations: 7.984 kB / 0.5555 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.139, allocations: 71.84 kB / 0.5556 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.1395, allocations: 312.8 kB / 0.5559 GB, free: 5.711 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.1398, allocations: 66.47 kB / 0.556 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.1399, allocations: 52.94 kB / 0.556 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.14, allocations: 0 / 0.556 GB, free: 5.582 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.14, allocations: 30.56 kB / 0.5561 GB, free: 5.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.14, allocations: 0 / 0.5561 GB, free: 5.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001729/0.1417, allocations: 393 kB / 0.5564 GB, free: 5.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.1418, allocations: 77.11 kB / 0.5565 GB, free: 5.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.142, allocations: 165.2 kB / 0.5567 GB, free: 4.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.142, allocations: 25.7 kB / 0.5567 GB, free: 4.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.1421, allocations: 100.1 kB / 0.5568 GB, free: 4.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1421, allocations: 31.7 kB / 0.5568 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.1421, allocations: 25.7 kB / 0.5568 GB, free: 4.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1423, allocations: 326.8 kB / 0.5571 GB, free: 4.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.1426, allocations: 72.23 kB / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.1429, allocations: 85.64 kB / 0.5573 GB, free: 4.203 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.1435, allocations: 145 kB / 0.5574 GB, free: 4.059 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1435, allocations: 4 kB / 0.5574 GB, free: 4.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006926/0.1442, allocations: 197.4 kB / 0.5576 GB, free: 3.855 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1442, allocations: 4 kB / 0.5576 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.1442, allocations: 7.984 kB / 0.5576 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1442, allocations: 0 / 0.5576 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.1445, allocations: 35.97 kB / 0.5577 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1445, allocations: 3.938 kB / 0.5577 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.1447, allocations: 35.89 kB / 0.5577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1447, allocations: 4 kB / 0.5577 GB, free: 3.766 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 (10): * Single equations (assignments): 10 * 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.0001088/0.1448, allocations: 113.8 kB / 0.5578 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.1448, allocations: 11.91 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007458/0.1456, allocations: 206.2 kB / 0.558 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1456, allocations: 7.938 kB / 0.558 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.1456, allocations: 3.938 kB / 0.558 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1456, allocations: 0 / 0.558 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.1467, allocations: 0.4944 MB / 0.5585 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1467, allocations: 0 / 0.5585 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1469, allocations: 39.91 kB / 0.5586 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1469, allocations: 3.984 kB / 0.5586 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1469, allocations: 8 kB / 0.5586 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1469, allocations: 3.938 kB / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1469, allocations: 0 / 0.5586 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007095/0.1476, allocations: 283.5 kB / 0.5588 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.1477, allocations: 92.98 kB / 0.5589 GB, free: 2.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1477, allocations: 11.94 kB / 0.5589 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.1479, allocations: 19.97 kB / 0.559 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.1479, allocations: 11.98 kB / 0.559 GB, free: 2.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.1479, allocations: 8 kB / 0.559 GB, free: 2.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.1481, allocations: 123.2 kB / 0.5591 GB, free: 2.234 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1481, allocations: 0 / 0.5591 GB, free: 2.234 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1484, allocations: 47.86 kB / 0.5591 GB, free: 2.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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.002705/0.1511, allocations: 1.231 MB / 0.5604 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.1518, allocations: 159.8 kB / 0.5605 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1518, allocations: 0 / 0.5605 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003382/0.1522, allocations: 79.86 kB / 0.5606 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1526, allocations: 29.47 kB / 0.5606 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.1558, allocations: 1.852 MB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.1561, allocations: 0.708 MB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.203e-05/0.1562, allocations: 16.91 kB / 0.5631 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.1563, allocations: 35.42 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1563, allocations: 0 / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.1821, allocations: 4.3 MB / 0.5674 GB, free: 9.859 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/8.895, allocations: 8.062 kB / 0.5674 GB, free: 9.852 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_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_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.02187486179173]