Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.001626/0.001626, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.00187/0.00187, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.54/1.54, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2676/0.2676, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 71.88 kB / 0.491 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.138, allocations: 65.99 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003632/0.1417, allocations: 1.63 MB / 0.557 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001138/0.1428, allocations: 0.5377 MB / 0.5575 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.1429, allocations: 0 / 0.5575 GB, free: 3.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.1432, allocations: 75.7 kB / 0.5576 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1435, allocations: 99.66 kB / 0.5577 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.1439, allocations: 91.69 kB / 0.5578 GB, free: 3.375 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1441, allocations: 87.75 kB / 0.5579 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.1442, allocations: 15.98 kB / 0.5579 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.1443, allocations: 27.86 kB / 0.5579 GB, free: 3.246 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1444, allocations: 55.81 kB / 0.558 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.1444, allocations: 4 kB / 0.558 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1445, allocations: 43.98 kB / 0.558 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.1446, allocations: 27.84 kB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.1446, allocations: 31.75 kB / 0.5581 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.1448, allocations: 107.5 kB / 0.5582 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1448, allocations: 0 / 0.5582 GB, free: 2.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1448, allocations: 0 / 0.5582 GB, free: 2.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1448, allocations: 0 / 0.5582 GB, free: 2.98 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.0005676/0.1454, allocations: 410.8 kB / 0.5585 GB, free: 2.531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1454, allocations: 12.03 kB / 0.5586 GB, free: 2.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.1455, allocations: 34.73 kB / 0.5586 GB, free: 2.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.1455, allocations: 12.84 kB / 0.5586 GB, free: 2.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.1458, allocations: 202.3 kB / 0.5588 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1458, allocations: 4.375 kB / 0.5588 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1458, allocations: 12.31 kB / 0.5588 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.146, allocations: 53.61 kB / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.146, allocations: 0 / 0.5589 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.146, allocations: 4 kB / 0.5589 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.146, allocations: 4 kB / 0.5589 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.1461, allocations: 23.97 kB / 0.5589 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.1465, allocations: 300.7 kB / 0.5592 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1466, allocations: 38.56 kB / 0.5592 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.1467, allocations: 16.94 kB / 0.5592 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.1467, allocations: 4 kB / 0.5592 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1468, allocations: 30.56 kB / 0.5593 GB, free: 1.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1468, allocations: 0 / 0.5593 GB, free: 1.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009629/0.1477, allocations: 229.2 kB / 0.5595 GB, free: 1.441 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.1478, allocations: 51.41 kB / 0.5595 GB, free: 1.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.148, allocations: 205.6 kB / 0.5597 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.148, allocations: 29.7 kB / 0.5598 GB, free: 1.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.1481, allocations: 108.1 kB / 0.5599 GB, free: 1.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.1482, allocations: 31.73 kB / 0.5599 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.1482, allocations: 17.72 kB / 0.5599 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.1484, allocations: 326.8 kB / 0.5602 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.784e-05/0.1485, allocations: 19.98 kB / 0.5602 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.064e-05/0.1485, allocations: 27.97 kB / 0.5603 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1487, allocations: 61.08 kB / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1487, allocations: 0 / 0.5603 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002199/0.1489, allocations: 106 kB / 0.5604 GB, free: 428 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1489, allocations: 8 kB / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1489, allocations: 0 / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.149, allocations: 0 / 0.5604 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1491, allocations: 19.98 kB / 0.5605 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1491, allocations: 3.938 kB / 0.5605 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.1491, allocations: 8 kB / 0.5605 GB, free: 388 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1491, allocations: 7.984 kB / 0.5605 GB, free: 380 kB / 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.0001013/0.1492, allocations: 125.7 kB / 0.5606 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.1493, allocations: 23.89 kB / 0.5606 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1496, allocations: 123 kB / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1496, allocations: 0 / 0.5607 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1496, allocations: 3.938 kB / 0.5607 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1496, allocations: 4 kB / 0.5607 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.1502, allocations: 399.3 kB / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1502, allocations: 0 / 0.5611 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.1502, allocations: 23.92 kB / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1502, allocations: 0 / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1502, allocations: 0 / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1503, allocations: 4 kB / 0.5611 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1503, allocations: 8.016 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.1505, allocations: 204.2 kB / 0.5613 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1506, allocations: 88.98 kB / 0.5614 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1506, allocations: 4 kB / 0.5614 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1507, allocations: 4 kB / 0.5614 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.1507, allocations: 7.984 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1507, allocations: 8 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1508, allocations: 149.8 kB / 0.5616 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1508, allocations: 0 / 0.5616 GB, free: 15.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1511, allocations: 23.94 kB / 0.5616 GB, free: 15.07 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.002195/0.1533, allocations: 1.102 MB / 0.5627 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.1535, allocations: 67.94 kB / 0.5628 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1535, allocations: 0 / 0.5628 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.1536, allocations: 31.92 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.154, allocations: 23.92 kB / 0.5628 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1561, allocations: 1.636 MB / 0.5644 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1565, allocations: 0.7002 MB / 0.5651 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.1566, allocations: 16.95 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.459e-05/0.1566, allocations: 35.42 kB / 0.5651 GB, free: 11.51 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1566, allocations: 7.938 kB / 0.5652 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.1828, allocations: 3.057 MB / 0.5681 GB, free: 8.488 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.905/8.088, allocations: 11.92 kB / 0.5682 GB, free: 8.477 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_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_1_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.484410732009565]