Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001564/0.001564, allocations: 123.4 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.002043/0.002043, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.518/1.518, 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.2219/0.2219, allocations: 46.92 MB / 357.1 MB, free: 10.29 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 67.89 kB / 0.491 GB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1324, allocations: 66 MB / 0.5554 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003799/0.1362, allocations: 1.626 MB / 0.557 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.1373, allocations: 0.5378 MB / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.1374, allocations: 0 / 0.5575 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.1378, allocations: 107.7 kB / 0.5576 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.1382, allocations: 127.5 kB / 0.5577 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1385, allocations: 83.7 kB / 0.5578 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1387, allocations: 95.73 kB / 0.5579 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1388, allocations: 15.92 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.124e-05/0.1388, allocations: 47.83 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.139, allocations: 79.78 kB / 0.558 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.139, allocations: 4 kB / 0.558 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.1391, allocations: 39.98 kB / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.1392, allocations: 23.86 kB / 0.5581 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.1392, allocations: 35.69 kB / 0.5581 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.1394, allocations: 119.4 kB / 0.5583 GB, free: 2.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1394, allocations: 4 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1394, allocations: 0 / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1395, allocations: 0 / 0.5583 GB, free: 2.828 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.0007779/0.1402, allocations: 438.6 kB / 0.5587 GB, free: 2.352 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1403, allocations: 8.031 kB / 0.5587 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.1403, allocations: 34.75 kB / 0.5587 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.1404, allocations: 12.89 kB / 0.5587 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.1407, allocations: 212.9 kB / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1407, allocations: 384 / 0.5589 GB, free: 2.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1408, allocations: 4.375 kB / 0.5589 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.141, allocations: 57.61 kB / 0.559 GB, free: 1.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.141, allocations: 3.953 kB / 0.559 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.141, allocations: 8 kB / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.141, allocations: 0 / 0.559 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1412, allocations: 27.97 kB / 0.559 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.1418, allocations: 300.8 kB / 0.5593 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.142, allocations: 42.5 kB / 0.5594 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.1421, allocations: 24.94 kB / 0.5594 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.1421, allocations: 4 kB / 0.5594 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.1422, allocations: 30.56 kB / 0.5594 GB, free: 1.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.1422, allocations: 0 / 0.5594 GB, free: 1.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001457/0.1436, allocations: 233.1 kB / 0.5596 GB, free: 1.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.1437, allocations: 55.41 kB / 0.5597 GB, free: 1.168 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.144, allocations: 262 kB / 0.5599 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.1441, allocations: 25.7 kB / 0.56 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.1442, allocations: 108.1 kB / 0.5601 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.1442, allocations: 31.81 kB / 0.5601 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.1443, allocations: 25.7 kB / 0.5601 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1445, allocations: 326.8 kB / 0.5604 GB, free: 380 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1446, allocations: 19.98 kB / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1447, allocations: 27.98 kB / 0.5605 GB, free: 332 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.1451, allocations: 61.06 kB / 0.5605 GB, free: 268 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1451, allocations: 0 / 0.5605 GB, free: 268 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003567/0.1454, allocations: 113.5 kB / 0.5606 GB, free: 148 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1454, allocations: 11.94 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1455, allocations: 0 / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1455, allocations: 0 / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.1456, allocations: 19.98 kB / 0.5607 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1456, allocations: 3.938 kB / 0.5607 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.1457, allocations: 4 kB / 0.5607 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1457, allocations: 0 / 0.5607 GB, free: 108 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.0001934/0.1459, allocations: 136 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.146, allocations: 11.91 kB / 0.5608 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004464/0.1464, allocations: 131 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1464, allocations: 0 / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.1464, allocations: 3.938 kB / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.1464, allocations: 432 / 0.561 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.1474, allocations: 411.2 kB / 0.5613 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1474, allocations: 4.031 kB / 0.5614 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.1475, allocations: 19.92 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1475, allocations: 4 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1475, allocations: 4 kB / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1475, allocations: 0 / 0.5614 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/0.1475, allocations: 4 kB / 0.5614 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.148, allocations: 216.2 kB / 0.5616 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.1481, allocations: 93 kB / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.1481, allocations: 0 / 0.5617 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1483, allocations: 11.98 kB / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.1483, allocations: 4 kB / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.1483, allocations: 0 / 0.5617 GB, free: 14.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003128/0.1486, allocations: 188.4 kB / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1486, allocations: 0 / 0.5619 GB, free: 14.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.1491, allocations: 27.92 kB / 0.5619 GB, free: 14.75 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.003367/0.1525, allocations: 1.107 MB / 0.563 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1529, allocations: 59.91 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1529, allocations: 4 kB / 0.563 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.1531, allocations: 31.97 kB / 0.5631 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.1537, allocations: 27.75 kB / 0.5631 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.1573, allocations: 1.756 MB / 0.5648 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.1578, allocations: 0.7119 MB / 0.5655 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.12e-05/0.1579, allocations: 16.97 kB / 0.5655 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.158, allocations: 39.42 kB / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.158, allocations: 0 / 0.5656 GB, free: 11.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.1905, allocations: 3.286 MB / 0.5688 GB, free: 7.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.141, allocations: 11.38 kB / 0.5688 GB, free: 7.789 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.308826588006923]