Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.001727/0.001727, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001936/0.001936, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.274/0.274, allocations: 46.93 MB / 360.9 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 67.89 kB / 0.4962 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3609, allocations: 66.02 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003442/0.3643, allocations: 1.695 MB / 0.5623 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3655, allocations: 0.5933 MB / 0.5629 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.268e-05/0.3656, allocations: 4 kB / 0.5629 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.3662, allocations: 459.1 kB / 0.5633 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004493/0.3667, allocations: 291.3 kB / 0.5636 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004513/0.3671, allocations: 179.3 kB / 0.5638 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.3674, allocations: 179.6 kB / 0.564 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.3675, allocations: 22.03 kB / 0.564 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3677, allocations: 119.7 kB / 0.5641 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.368, allocations: 247.5 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.368, allocations: 4 kB / 0.5643 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.3682, allocations: 55.91 kB / 0.5644 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.3683, allocations: 87.62 kB / 0.5645 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.3684, allocations: 103 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.3688, allocations: 290.5 kB / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.3688, allocations: 0 / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3688, allocations: 0 / 0.5649 GB, free: 160 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.3689, allocations: 0 / 0.5649 GB, free: 160 kB / 398.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.0009977/0.3699, allocations: 0.6048 MB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3699, allocations: 8.031 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.37, allocations: 38.73 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.3701, allocations: 48.59 kB / 0.5655 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.3705, allocations: 246.7 kB / 0.5658 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3705, allocations: 8.375 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3705, allocations: 4.375 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.3707, allocations: 65.55 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3708, allocations: 0 / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.3708, allocations: 8 kB / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3708, allocations: 0 / 0.5659 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3709, allocations: 31.97 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.3716, allocations: 387.7 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3717, allocations: 38.56 kB / 0.5663 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.3718, allocations: 24.94 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3718, allocations: 4 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.3718, allocations: 30.56 kB / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3718, allocations: 0 / 0.5663 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001095/0.3729, allocations: 332.6 kB / 0.5667 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.373, allocations: 59.28 kB / 0.5667 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009015/0.3739, allocations: 0.8738 MB / 0.5676 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.3739, allocations: 29.7 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3741, allocations: 228.1 kB / 0.5678 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.3742, allocations: 31.72 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.335e-05/0.3742, allocations: 25.72 kB / 0.5679 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3744, allocations: 362.8 kB / 0.5682 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-05/0.3745, allocations: 27.98 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.955e-05/0.3746, allocations: 35.97 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.3747, allocations: 72.83 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3747, allocations: 0 / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002884/0.375, allocations: 149.3 kB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.375, allocations: 8 kB / 0.5685 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.375, allocations: 7.922 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3751, allocations: 0 / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3752, allocations: 19.94 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3752, allocations: 3.984 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.25e-05/0.3753, allocations: 4 kB / 0.5685 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.3753, allocations: 0 / 0.5685 GB, free: 12.18 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.0002197/0.3755, allocations: 221.8 kB / 0.5687 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.3756, allocations: 55.59 kB / 0.5688 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.3759, allocations: 177.7 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.3759, allocations: 4.359 kB / 0.569 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3759, allocations: 4 kB / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3759, allocations: 0 / 0.569 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.3767, allocations: 0.4983 MB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3767, allocations: 0 / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.3768, allocations: 19.98 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.3768, allocations: 3.984 kB / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.3768, allocations: 0 / 0.5695 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3768, allocations: 4 kB / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3768, allocations: 0 / 0.5695 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.3771, allocations: 260 kB / 0.5697 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.3772, allocations: 39.66 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3772, allocations: 4 kB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.264e-05/0.3773, allocations: 4 kB / 0.5698 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3774, allocations: 11.98 kB / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3774, allocations: 0 / 0.5698 GB, free: 10.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006405/0.378, allocations: 0.6589 MB / 0.5704 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.378, allocations: 8 kB / 0.5704 GB, free: 10.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.3783, allocations: 24 kB / 0.5705 GB, free: 10.11 MB / 414.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.002231/0.3805, allocations: 1.145 MB / 0.5716 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002735/0.3808, allocations: 67.95 kB / 0.5717 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3808, allocations: 0 / 0.5717 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.3809, allocations: 47.91 kB / 0.5717 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.3813, allocations: 30.23 kB / 0.5717 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.3856, allocations: 3.396 MB / 0.575 GB, free: 5.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3861, allocations: 0.8382 MB / 0.5759 GB, free: 4.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.201e-05/0.3862, allocations: 24.72 kB / 0.5759 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3863, allocations: 115.4 kB / 0.576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3863, allocations: 0 / 0.576 GB, free: 4.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.4192, allocations: 6.656 MB / 0.5825 GB, free: 13.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 0 / 0.5825 GB, free: 13.9 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.075526480999542]