Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.0019/0.0019, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002409/0.002409, allocations: 203.3 kB / 20.74 MB, free: 2.316 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.56/1.56, 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.2446/0.2446, allocations: 44.9 MB / 355.1 MB, free: 12.33 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.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.001979/0.001979, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1588, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003489/0.1623, allocations: 1.624 MB / 0.5534 GB, free: 8.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1642, allocations: 1.171 MB / 0.5545 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.1643, allocations: 0 / 0.5545 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.1645, allocations: 23.8 kB / 0.5545 GB, free: 7.277 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.1649, allocations: 83.61 kB / 0.5546 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1651, allocations: 91.75 kB / 0.5547 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1653, allocations: 79.77 kB / 0.5548 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1654, allocations: 23.91 kB / 0.5548 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.627e-05/0.1655, allocations: 27.86 kB / 0.5548 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1657, allocations: 39.78 kB / 0.5549 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1657, allocations: 4 kB / 0.5549 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.1659, allocations: 103.9 kB / 0.555 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.166, allocations: 19.92 kB / 0.555 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.166, allocations: 23.81 kB / 0.555 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.1663, allocations: 147.5 kB / 0.5551 GB, free: 6.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1663, allocations: 4 kB / 0.5551 GB, free: 6.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1663, allocations: 0 / 0.5551 GB, free: 6.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1663, allocations: 4 kB / 0.5551 GB, free: 6.637 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005999/0.1669, allocations: 414.7 kB / 0.5555 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.167, allocations: 8.031 kB / 0.5556 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.167, allocations: 30.75 kB / 0.5556 GB, free: 6.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1671, allocations: 12.88 kB / 0.5556 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1673, allocations: 202.5 kB / 0.5558 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1673, allocations: 384 / 0.5558 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1674, allocations: 4.375 kB / 0.5558 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1675, allocations: 83.31 kB / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1675, allocations: 0 / 0.5559 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1676, allocations: 4 kB / 0.5559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1676, allocations: 0 / 0.5559 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1677, allocations: 35.91 kB / 0.5559 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.1681, allocations: 296.8 kB / 0.5562 GB, free: 5.414 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.1682, allocations: 50.56 kB / 0.5562 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.1683, allocations: 24.97 kB / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1683, allocations: 0 / 0.5563 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1684, allocations: 34.5 kB / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.1684, allocations: 0 / 0.5563 GB, free: 5.285 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007056/0.1691, allocations: 193.3 kB / 0.5565 GB, free: 5.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.129e-05/0.1691, allocations: 77.11 kB / 0.5566 GB, free: 4.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000191/0.1693, allocations: 161.5 kB / 0.5567 GB, free: 4.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1694, allocations: 25.7 kB / 0.5567 GB, free: 4.797 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.1694, allocations: 96.12 kB / 0.5568 GB, free: 4.699 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1694, allocations: 31.73 kB / 0.5569 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.1695, allocations: 17.72 kB / 0.5569 GB, free: 4.645 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1696, allocations: 330.8 kB / 0.5572 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.042e-05/0.1697, allocations: 19.98 kB / 0.5572 GB, free: 4.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.457e-05/0.1698, allocations: 45.77 kB / 0.5573 GB, free: 4.242 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.17, allocations: 56.83 kB / 0.5573 GB, free: 4.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.17, allocations: 0 / 0.5573 GB, free: 4.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002439/0.1702, allocations: 113.6 kB / 0.5574 GB, free: 4.066 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1702, allocations: 4 kB / 0.5574 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1702, allocations: 0 / 0.5574 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1703, allocations: 0 / 0.5574 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1704, allocations: 19.98 kB / 0.5574 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1704, allocations: 3.938 kB / 0.5574 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.1704, allocations: 7.984 kB / 0.5574 GB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1705, allocations: 4 kB / 0.5575 GB, free: 4.027 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 (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.0001019/0.1706, allocations: 120 kB / 0.5576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.1706, allocations: 7.953 kB / 0.5576 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.1709, allocations: 118.5 kB / 0.5577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1709, allocations: 0 / 0.5577 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1709, allocations: 3.938 kB / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1709, allocations: 0 / 0.5577 GB, free: 3.766 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.1714, allocations: 394.5 kB / 0.5581 GB, free: 3.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1714, allocations: 4 kB / 0.5581 GB, free: 3.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.625e-05/0.1715, allocations: 19.98 kB / 0.5581 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1715, allocations: 3.938 kB / 0.5581 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1715, allocations: 4 kB / 0.5581 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1715, allocations: 0 / 0.5581 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1715, allocations: 3.984 kB / 0.5581 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.1718, allocations: 203.4 kB / 0.5583 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.1719, allocations: 89.36 kB / 0.5584 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.1719, allocations: 4 kB / 0.5584 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.172, allocations: 8 kB / 0.5584 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.172, allocations: 11.92 kB / 0.5584 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.172, allocations: 4 kB / 0.5584 GB, free: 2.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001261/0.1721, allocations: 117.8 kB / 0.5585 GB, free: 2.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1721, allocations: 0 / 0.5585 GB, free: 2.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1725, allocations: 43.88 kB / 0.5586 GB, free: 2.785 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 (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.00316/0.1757, allocations: 1.119 MB / 0.5597 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.176, allocations: 67.88 kB / 0.5597 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.176, allocations: 0 / 0.5597 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001459/0.1762, allocations: 39.97 kB / 0.5598 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.1767, allocations: 21.89 kB / 0.5598 GB, free: 1.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.1796, allocations: 1.507 MB / 0.5612 GB, free: 124 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004821/0.1801, allocations: 0.6962 MB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.1802, allocations: 20.72 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1804, allocations: 31.42 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1804, allocations: 0 / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03628/0.2166, allocations: 3.426 MB / 0.5653 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.262, allocations: 8.938 kB / 0.5653 GB, free: 11.92 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_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_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.571779987309128]