Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002021/0.002021, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002239/0.002239, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.2233/0.2233, allocations: 44.93 MB / 358.8 MB, free: 6.023 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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002123/0.002123, allocations: 71.91 kB / 0.4931 GB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.32, allocations: 65.47 MB / 0.557 GB, free: 7.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003175/0.3232, allocations: 1.664 MB / 0.5586 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00109/0.3243, allocations: 0.566 MB / 0.5592 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.3244, allocations: 4 kB / 0.5592 GB, free: 5.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006238/0.325, allocations: 459.1 kB / 0.5596 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.3255, allocations: 291.3 kB / 0.5599 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004157/0.3259, allocations: 179.1 kB / 0.5601 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.3261, allocations: 183.6 kB / 0.5602 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3262, allocations: 18.05 kB / 0.5602 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.3264, allocations: 115.7 kB / 0.5604 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.3266, allocations: 247.5 kB / 0.5606 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3267, allocations: 4 kB / 0.5606 GB, free: 3.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3268, allocations: 55.86 kB / 0.5607 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.3269, allocations: 87.67 kB / 0.5607 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.3269, allocations: 75.25 kB / 0.5608 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003513/0.3273, allocations: 290.5 kB / 0.5611 GB, free: 3.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.3273, allocations: 4 kB / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3273, allocations: 0 / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3273, allocations: 0 / 0.5611 GB, free: 3.27 MB / 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.0007805/0.3281, allocations: 0.5912 MB / 0.5617 GB, free: 2.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3281, allocations: 12.03 kB / 0.5617 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.3282, allocations: 42.67 kB / 0.5617 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.3282, allocations: 48.59 kB / 0.5618 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.3285, allocations: 246.8 kB / 0.562 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.3285, allocations: 8.375 kB / 0.562 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.3286, allocations: 8.375 kB / 0.562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.3287, allocations: 61.61 kB / 0.5621 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3287, allocations: 0 / 0.5621 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.3287, allocations: 4 kB / 0.5621 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3288, allocations: 0 / 0.5621 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.3289, allocations: 39.91 kB / 0.5621 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.3294, allocations: 367.8 kB / 0.5625 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3296, allocations: 50.58 kB / 0.5625 GB, free: 1.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.3296, allocations: 16.86 kB / 0.5625 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.3296, allocations: 0 / 0.5625 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.3297, allocations: 42.59 kB / 0.5626 GB, free: 1.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3297, allocations: 0 / 0.5626 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.3307, allocations: 336.9 kB / 0.5629 GB, free: 1.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.3307, allocations: 55.34 kB / 0.5629 GB, free: 1.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009464/0.3317, allocations: 0.8699 MB / 0.5638 GB, free: 340 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3317, allocations: 33.7 kB / 0.5638 GB, free: 300 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.3319, allocations: 220.1 kB / 0.564 GB, free: 76 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.3319, allocations: 31.73 kB / 0.5641 GB, free: 44 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.332, allocations: 21.72 kB / 0.5641 GB, free: 16 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.3322, allocations: 362.8 kB / 0.5644 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.3323, allocations: 35.91 kB / 0.5645 GB, free: 15.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.119e-05/0.3324, allocations: 31.98 kB / 0.5645 GB, free: 15.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3325, allocations: 77.03 kB / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3325, allocations: 0 / 0.5646 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002876/0.3328, allocations: 153.3 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3328, allocations: 4 kB / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3328, allocations: 0 / 0.5647 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3328, allocations: 4 kB / 0.5647 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.333, allocations: 23.86 kB / 0.5647 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.333, allocations: 4 kB / 0.5648 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.333, allocations: 8 kB / 0.5648 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.333, allocations: 11.92 kB / 0.5648 GB, free: 15.3 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.0002115/0.3332, allocations: 209.8 kB / 0.565 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.655e-05/0.3333, allocations: 47.7 kB / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.3337, allocations: 173.5 kB / 0.5652 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3337, allocations: 3.938 kB / 0.5652 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3337, allocations: 4 kB / 0.5652 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3337, allocations: 3.984 kB / 0.5652 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/0.3345, allocations: 0.4904 MB / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3345, allocations: 0 / 0.5657 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.3345, allocations: 19.98 kB / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3345, allocations: 0 / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3345, allocations: 4 kB / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3345, allocations: 0 / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3346, allocations: 4.016 kB / 0.5657 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.3349, allocations: 256 kB / 0.5659 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.3349, allocations: 39.67 kB / 0.566 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.335, allocations: 7.984 kB / 0.566 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.3351, allocations: 4 kB / 0.566 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.3351, allocations: 3.984 kB / 0.566 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3351, allocations: 4 kB / 0.566 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007116/0.3358, allocations: 0.6628 MB / 0.5666 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3358, allocations: 3.938 kB / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.3361, allocations: 28 kB / 0.5667 GB, free: 13.25 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.002468/0.3386, allocations: 1.176 MB / 0.5678 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002648/0.3388, allocations: 75.95 kB / 0.5679 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3388, allocations: 0 / 0.5679 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.3389, allocations: 43.91 kB / 0.5679 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.3393, allocations: 24.7 kB / 0.568 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004166/0.3435, allocations: 3.388 MB / 0.5713 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3438, allocations: 232.1 kB / 0.5715 GB, free: 8.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.428e-05/0.3438, allocations: 24.72 kB / 0.5715 GB, free: 8.367 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.344, allocations: 119.4 kB / 0.5716 GB, free: 8.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.344, allocations: 8 kB / 0.5716 GB, free: 8.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03391/0.3779, allocations: 6.978 MB / 0.5785 GB, free: 1.309 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.89, allocations: 6.906 kB / 0.5785 GB, free: 1.305 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.275781810749322]