Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.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.001347/0.001347, 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.001569/0.001569, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.456/1.456, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2433/0.2433, allocations: 46.91 MB / 357.1 MB, free: 10.31 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.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test35,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 71.89 kB / 0.4909 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1268, allocations: 65.99 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test35): time 0.003326/0.1301, allocations: 1.605 MB / 0.557 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.1322, allocations: 1.171 MB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.1323, allocations: 0 / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.1325, allocations: 23.84 kB / 0.5581 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.1328, allocations: 83.62 kB / 0.5582 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1331, allocations: 91.69 kB / 0.5583 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.1332, allocations: 67.77 kB / 0.5584 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1333, allocations: 19.98 kB / 0.5584 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.1334, allocations: 19.92 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1335, allocations: 37.53 kB / 0.5584 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1335, allocations: 4 kB / 0.5584 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.1338, allocations: 103.9 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.1338, allocations: 11.94 kB / 0.5585 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.1339, allocations: 27.8 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1341, allocations: 135.5 kB / 0.5587 GB, free: 2.406 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1341, allocations: 0 / 0.5587 GB, free: 2.406 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1341, allocations: 0 / 0.5587 GB, free: 2.406 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1342, allocations: 0 / 0.5587 GB, free: 2.406 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006359/0.1348, allocations: 410.7 kB / 0.5591 GB, free: 1.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1348, allocations: 8.031 kB / 0.5591 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.1349, allocations: 38.75 kB / 0.5591 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.1349, allocations: 8.891 kB / 0.5591 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1352, allocations: 192.2 kB / 0.5593 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-06/0.1352, allocations: 384 / 0.5593 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1352, allocations: 8.375 kB / 0.5593 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.1353, allocations: 71.31 kB / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1354, allocations: 3.938 kB / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1354, allocations: 0 / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1354, allocations: 0 / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.2e-05/0.1355, allocations: 19.98 kB / 0.5594 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1359, allocations: 280.9 kB / 0.5597 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1361, allocations: 46.5 kB / 0.5597 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.1361, allocations: 12.86 kB / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.1361, allocations: 0 / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1362, allocations: 38.64 kB / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1362, allocations: 0 / 0.5598 GB, free: 1.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006259/0.1368, allocations: 145.4 kB / 0.5599 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.1369, allocations: 77.11 kB / 0.56 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.137, allocations: 141.8 kB / 0.5601 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1371, allocations: 29.64 kB / 0.5602 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.527e-05/0.1371, allocations: 96.12 kB / 0.5603 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.1371, allocations: 23.8 kB / 0.5603 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.1372, allocations: 17.7 kB / 0.5603 GB, free: 0.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.1374, allocations: 322.8 kB / 0.5606 GB, free: 224 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.1375, allocations: 19.98 kB / 0.5606 GB, free: 204 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.727e-05/0.1376, allocations: 37.7 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1377, allocations: 48.83 kB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1377, allocations: 0 / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002127/0.1379, allocations: 85.55 kB / 0.5608 GB, free: 16 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1379, allocations: 9.906 kB / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1379, allocations: 0 / 0.5608 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.138, allocations: 4 kB / 0.5608 GB, free: 4 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.07e-05/0.138, allocations: 8.047 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1381, allocations: 3.938 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.215e-05/0.1381, allocations: 7.938 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1381, allocations: 0 / 0.5608 GB, free: 15.98 MB / 430.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 (5): * Single equations (assignments): 5 * 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.0001134/0.1382, allocations: 116 kB / 0.5609 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.1383, allocations: 11.95 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.1385, allocations: 97.89 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1385, allocations: 0 / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1385, allocations: 0 / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1385, allocations: 3.938 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004628/0.139, allocations: 346.6 kB / 0.5614 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.139, allocations: 4.312 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.1391, allocations: 19.92 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1391, allocations: 0 / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1391, allocations: 7.938 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1391, allocations: 0 / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1391, allocations: 4 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1393, allocations: 175.5 kB / 0.5616 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.083e-05/0.1394, allocations: 89.06 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1394, allocations: 3.938 kB / 0.5617 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.1395, allocations: 7.984 kB / 0.5617 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1395, allocations: 4 kB / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.1396, allocations: 0 / 0.5617 GB, free: 15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.1397, allocations: 115.2 kB / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1397, allocations: 0 / 0.5618 GB, free: 14.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.14, allocations: 35.88 kB / 0.5618 GB, free: 14.86 MB / 430.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 (5): * Single equations (assignments): 5 * 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.002239/0.1422, allocations: 1.111 MB / 0.5629 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1424, allocations: 47.91 kB / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1424, allocations: 0 / 0.5629 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.224e-05/0.1425, allocations: 27.92 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.1429, allocations: 23.97 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1447, allocations: 1.421 MB / 0.5644 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.145, allocations: 0.6885 MB / 0.5651 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.066e-05/0.1451, allocations: 31.92 kB / 0.5651 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.486e-05/0.1452, allocations: 31.36 kB / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1452, allocations: 0 / 0.5651 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.1721, allocations: 3.227 MB / 0.5683 GB, free: 8.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.245, allocations: 16.94 kB / 0.5683 GB, free: 8.305 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test35.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv failed! Error: Could not read variable t_new.y[1] in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test35_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.369608420005534]