Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001416/0.001416, 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.001586/0.001586, allocations: 209.6 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.45/1.45, 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.2173/0.2173, 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.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001946/0.001946, allocations: 72.08 kB / 499.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1189, allocations: 65.43 MB / 0.5518 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003036/0.1219, allocations: 1.686 MB / 0.5534 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.123, allocations: 0.5883 MB / 0.554 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.1231, allocations: 0 / 0.554 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.1233, allocations: 75.7 kB / 0.5541 GB, free: 7.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.1236, allocations: 99.59 kB / 0.5542 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.1241, allocations: 186.7 kB / 0.5543 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1243, allocations: 91.69 kB / 0.5544 GB, free: 7.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1244, allocations: 20.5 kB / 0.5545 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.483e-05/0.1245, allocations: 43.83 kB / 0.5545 GB, free: 7.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1246, allocations: 71.73 kB / 0.5546 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.1246, allocations: 4 kB / 0.5546 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1247, allocations: 47.98 kB / 0.5546 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.1248, allocations: 31.86 kB / 0.5546 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.1249, allocations: 43.66 kB / 0.5547 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1251, allocations: 115.5 kB / 0.5548 GB, free: 7.133 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1251, allocations: 4 kB / 0.5548 GB, free: 7.129 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1251, allocations: 0 / 0.5548 GB, free: 7.129 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1251, allocations: 3.938 kB / 0.5548 GB, free: 7.125 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.0006466/0.1257, allocations: 438.6 kB / 0.5552 GB, free: 6.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1258, allocations: 8.031 kB / 0.5552 GB, free: 6.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.1258, allocations: 38.75 kB / 0.5553 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.1259, allocations: 12.84 kB / 0.5553 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1261, allocations: 216 kB / 0.5555 GB, free: 6.332 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.1261, allocations: 8.375 kB / 0.5555 GB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1261, allocations: 4.375 kB / 0.5555 GB, free: 6.32 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1263, allocations: 61.61 kB / 0.5556 GB, free: 6.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1263, allocations: 8 kB / 0.5556 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1263, allocations: 4 kB / 0.5556 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1263, allocations: 0 / 0.5556 GB, free: 6.242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1265, allocations: 47.89 kB / 0.5556 GB, free: 6.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.127, allocations: 328.7 kB / 0.5559 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.1272, allocations: 62.58 kB / 0.556 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.1273, allocations: 24.97 kB / 0.556 GB, free: 5.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.1273, allocations: 4 kB / 0.556 GB, free: 5.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1273, allocations: 38.56 kB / 0.5561 GB, free: 5.676 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1273, allocations: 3.938 kB / 0.5561 GB, free: 5.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001528/0.1289, allocations: 428.9 kB / 0.5565 GB, free: 5.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1289, allocations: 55.41 kB / 0.5565 GB, free: 5.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002412/0.1291, allocations: 222.6 kB / 0.5567 GB, free: 4.949 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1292, allocations: 25.7 kB / 0.5568 GB, free: 4.918 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.1292, allocations: 104.1 kB / 0.5569 GB, free: 4.812 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1293, allocations: 43.61 kB / 0.5569 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.1293, allocations: 33.72 kB / 0.5569 GB, free: 4.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1295, allocations: 322.8 kB / 0.5572 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1296, allocations: 59.89 kB / 0.5573 GB, free: 4.348 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1298, allocations: 51.95 kB / 0.5573 GB, free: 4.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.1301, allocations: 128.8 kB / 0.5575 GB, free: 4.168 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1301, allocations: 0 / 0.5575 GB, free: 4.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000358/0.1304, allocations: 169.5 kB / 0.5576 GB, free: 3.996 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.1304, allocations: 4 kB / 0.5576 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1304, allocations: 0 / 0.5576 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1304, allocations: 7.938 kB / 0.5576 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.1306, allocations: 28.48 kB / 0.5577 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1306, allocations: 0 / 0.5577 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/0.1306, allocations: 11.98 kB / 0.5577 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1307, allocations: 4 kB / 0.5577 GB, free: 3.941 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 (11): * Single equations (assignments): 11 * 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.0001127/0.1308, allocations: 137.1 kB / 0.5578 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.1308, allocations: 15.91 kB / 0.5578 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.1313, allocations: 203.2 kB / 0.558 GB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.1313, allocations: 11.92 kB / 0.558 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1313, allocations: 0 / 0.558 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.1313, allocations: 0 / 0.558 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007611/0.132, allocations: 0.5 MB / 0.5585 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.132, allocations: 0 / 0.5585 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.1321, allocations: 31.98 kB / 0.5585 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1321, allocations: 4 kB / 0.5586 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1322, allocations: 3.984 kB / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1322, allocations: 0 / 0.5586 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1322, allocations: 4 kB / 0.5586 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.1326, allocations: 281 kB / 0.5588 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.1327, allocations: 96.95 kB / 0.5589 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.1327, allocations: 0 / 0.5589 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1328, allocations: 11.98 kB / 0.5589 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.1328, allocations: 11.98 kB / 0.5589 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1329, allocations: 4 kB / 0.5589 GB, free: 2.52 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001559/0.133, allocations: 175.2 kB / 0.5591 GB, free: 2.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.133, allocations: 0 / 0.5591 GB, free: 2.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1333, allocations: 27.94 kB / 0.5591 GB, free: 2.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002422/0.1357, allocations: 1.155 MB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004173/0.1361, allocations: 127.8 kB / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1361, allocations: 0 / 0.5604 GB, free: 1.195 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.1363, allocations: 67.89 kB / 0.5605 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1367, allocations: 32.72 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.1395, allocations: 1.972 MB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1399, allocations: 0.7313 MB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.481e-05/0.14, allocations: 32.52 kB / 0.5632 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.14, allocations: 47.52 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.14, allocations: 3.938 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02606/0.1661, allocations: 3.644 MB / 0.5668 GB, free: 10.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.402, allocations: 26.98 kB / 0.5668 GB, free: 10.58 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_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_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.440635664388537]