Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001444/0.001444, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001639/0.001639, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.491/1.491, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.2687/0.2687, allocations: 46.97 MB / 360.9 MB, free: 4.043 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.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 71.89 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3145, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003087/0.3176, allocations: 1.67 MB / 0.5622 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3186, allocations: 0.5349 MB / 0.5628 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.258e-05/0.3187, allocations: 0 / 0.5628 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005843/0.3193, allocations: 463.1 kB / 0.5632 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.3197, allocations: 295.3 kB / 0.5635 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.3201, allocations: 143.2 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.3203, allocations: 175.6 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.3204, allocations: 22.05 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3205, allocations: 115.7 kB / 0.5639 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.3208, allocations: 247.5 kB / 0.5642 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3208, allocations: 4 kB / 0.5642 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3209, allocations: 51.97 kB / 0.5642 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.321, allocations: 87.69 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.3211, allocations: 79.12 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.3214, allocations: 290.5 kB / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3214, allocations: 0 / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3214, allocations: 0 / 0.5647 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3215, allocations: 0 / 0.5647 GB, free: 92 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.0007795/0.3222, allocations: 0.6009 MB / 0.5652 GB, free: 15.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3223, allocations: 12.03 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.3223, allocations: 34.75 kB / 0.5653 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.3224, allocations: 48.66 kB / 0.5653 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.3227, allocations: 250.7 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.3227, allocations: 384 / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3227, allocations: 8.375 kB / 0.5656 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3229, allocations: 69.59 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3229, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3229, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3229, allocations: 0 / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.323, allocations: 43.91 kB / 0.5657 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.3235, allocations: 367.8 kB / 0.566 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.3237, allocations: 58.58 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.401e-05/0.3238, allocations: 24.97 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.3238, allocations: 4 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.3239, allocations: 30.56 kB / 0.5662 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3239, allocations: 0 / 0.5662 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001469/0.3253, allocations: 480.2 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3254, allocations: 55.41 kB / 0.5667 GB, free: 13.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009169/0.3263, allocations: 0.8698 MB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.3263, allocations: 25.7 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.3265, allocations: 224 kB / 0.5678 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.3265, allocations: 39.69 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.3266, allocations: 21.72 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3268, allocations: 366.8 kB / 0.5682 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3269, allocations: 47.91 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.327, allocations: 43.97 kB / 0.5682 GB, free: 12.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.3273, allocations: 100.8 kB / 0.5683 GB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.3273, allocations: 4.5 kB / 0.5683 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003474/0.3276, allocations: 169.4 kB / 0.5685 GB, free: 11.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3276, allocations: 8 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3276, allocations: 0 / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.3277, allocations: 3.938 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.3278, allocations: 31.91 kB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.3278, allocations: 4 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.3279, allocations: 8 kB / 0.5686 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3279, allocations: 11.98 kB / 0.5686 GB, free: 11.88 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.0002043/0.3281, allocations: 213.8 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.3281, allocations: 47.67 kB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.3286, allocations: 209.4 kB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3286, allocations: 3.938 kB / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3286, allocations: 0 / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3286, allocations: 0 / 0.569 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008093/0.3294, allocations: 0.5303 MB / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3294, allocations: 0 / 0.5695 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3295, allocations: 31.91 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.3295, allocations: 0 / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.3295, allocations: 8 kB / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3295, allocations: 0 / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3295, allocations: 0 / 0.5696 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.33, allocations: 297.3 kB / 0.5699 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.33, allocations: 43.67 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.3301, allocations: 3.984 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.3302, allocations: 8 kB / 0.5699 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3302, allocations: 11.98 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.3302, allocations: 4.094 kB / 0.5699 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007423/0.331, allocations: 0.6628 MB / 0.5706 GB, free: 9.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.331, allocations: 0 / 0.5706 GB, free: 9.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.3313, allocations: 35.92 kB / 0.5706 GB, free: 9.68 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.002462/0.3337, allocations: 1.208 MB / 0.5718 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003228/0.334, allocations: 99.88 kB / 0.5719 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3341, allocations: 0 / 0.5719 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.3342, allocations: 55.89 kB / 0.5719 GB, free: 8.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3346, allocations: 37.05 kB / 0.572 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.339, allocations: 3.462 MB / 0.5754 GB, free: 4.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.3393, allocations: 228.8 kB / 0.5756 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.503e-05/0.3394, allocations: 12.5 kB / 0.5756 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.3395, allocations: 115.4 kB / 0.5757 GB, free: 4.543 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3395, allocations: 192 / 0.5757 GB, free: 4.543 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03696/0.3765, allocations: 7.082 MB / 0.5826 GB, free: 13.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.88, allocations: 0.9375 kB / 0.5826 GB, free: 13.51 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_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_CombiTable2Ds_Test3.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.077431978657842]